France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Sweet Home 3D 3.0
I'd like to post some details about PtiNounours bug seen earlier in this thread. I looked at the Wall_test.dae.obj file defined in test_wall.sh3d contained in the file he posted, and found why this imported part caused a problem. This OBJ file contains 2 shapes: - the exterior of the wall object with normals pointing towards the exterior of the object and with a wall texture, - the interior of the wall object with normals pointing towards the interior of the object; this second part is white.
It's a similar bug to this one where SunFlow didn't handle correctly the double sided triangles of one shape, but this time the bug is at a higher level. Instead of having twice the same triangle (one oriented in a clockwise order, the other one oriented in a counter clockwise order) in one shape, you have two shapes with the same triangles oriented differently; one of the shape uses a texture and the other one is white. OpenGL handles these two shapes nicely because it ignores the faces with a normal that doesn't point towards the observer. At the opposite, SunFlow renders all the faces without taking into account whether its normal points towards the observer or not. So sometimes it chooses the textured face, sometimes the white face. Fixing this isn't easy because it's two separated shapes and not twice the same triangles within a shape. But you can also avoid the problem by following PtiNounours' suggestion.
This thread created by Hans is about the same bug.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Netherlands
Joined: Sep 26, 2009
Post Count: 4005
Status:
Offline
Re: Sweet Home 3D 3.0
Hello Emmanuel,
Just found that beta 23 is out. When doing a render of a model made with a previous version, I noticed something strange. With Q0 and Q1 the model renders white, but with Q2 and Q3 all textures render the way they should.
Maybe you made a typo somewhere?
Hans
----------------------------------------
Hans
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Sweet Home 3D 3.0
The Beta 25 brings more translations and new help pages about photo creation, video creation and compass modification in English and French. I think that miserably, these new pages won't be translated to other languages in the coming version 3.0, and users of other languages will have to wait a little longer to get this new information in their language. This beta fixes also the wrong rendering of compass under OpenJDK reported by Pencilart (it's not perfect but it's better though).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Sweet Home 3D 3.0
Hans, Sometimes textures are not rendered correctly in offscreen images (used during printing and Q0 / Q1 rendering). As this bug happens randomly, I'm afraid it's not a bug in Sweet Home 3D but in Java 3D but I should investigate it better. It's probably the same bug as this one.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Nepal
Joined: Nov 17, 2010
Post Count: 96
Status:
Offline
Re: Sweet Home 3D 3.0
I dont understand any thing i also wouls like to render pictures like these but i dont understand what Q0,Q1,Q2,Q3 are.....i am not new in sweethome 3d but rescently started to use the forums........would like to learn more and interacte more wid guys like you....
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Sweet Home 3D 3.0
wrosun , if you want more information about rendering pictures, please read the new help pages about photo and video creation included in the latest beta (available only in English and French). By the way, I'll be pleased to read your feedback about it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
Re: Sweet Home 3D 3.0
I uninstalled open JDK so I won't be testing that bug fix but I'm sure that other open JDK users will. (I uninstalled it because I wasn't using it anyway and when I checked the dependencies, YaST (the package manager) said that removing it was ok.) I'm glad that you fixed the bug though! :D
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Sweet Home 3D 3.0
The version 3.0 of Sweet Home 3D was finally released tonight. Read history and new blog article for more information. Thank you all for your great support!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator