Joined: Dec 23, 2010
Post Count: 30
Status:
Offline
Creating Models including Glass
I've used Sweethome3d for many years, and used to model furniture using Art of Illusion. I seem to vaguely remember that one could name an object in AoI with something like sweethome3d_window_pane, and it would automatically be transparent when the OBJ file was imported.
I am now using a very old version of 3D Studio called GMAX and wonder if the same technique can be used. However, I have searched the forum for a memory refresh and can't find any reference to these names. Can anyone help please?
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Creating Models including Glass
Yes, an group in an obj file can be made to reflect when rendering using the sweethome3d_window_mirror prefix. The group can be named manually in the .obj file - or with software like Blender. How to do it with GMAX I would not know, but point is that the group is named correctly in the .obj file.
As it happens, version 6.0 has added a lot more possible group prefixes - you can read mora about it in thread 8704#39644 Sweet Home 3D 6.0.
Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Creating Models including Glass
Oops, sorry, should have read more closely. The prefix in the .obj file makes the surface reflective. For transparency you need to set transparency in the model. This should be exported to the .mtl file that goes with the .obj file. Depending on the software, it may also be possible to use a transparent .png texture on the group. ok
Joined: Dec 23, 2010
Post Count: 30
Status:
Offline
Re: Creating Models including Glass
Thanks so much for your help.
I've not succeeded yet, but I've found an object I created sometime ago with glass which actually worked. I really just need to bite the bullet and learn Blender. My current workflow destroys the names applied to object elements. GMAX doesn't export to obj, so I have to convert the MDL file it is exporting to obj.
As my usual 3D work is creating airport scenery for MS Flight Simulator, my familiarity with those tools seemed a much easier path.
France
Joined: Nov 7, 2005
Post Count: 9180
Status:
Offline
Re: Creating Models including Glass
If your export tool is able to generate also MTL files, you're not obliged to name window parts sweethome3d_window_mirror. Transparency is described in the lines starting by d. Using a line like:
d 0.5
gives generally good results.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
Joined: Dec 23, 2010
Post Count: 30
Status:
Offline
Re: Creating Models including Glass
Adding d 0.5 to the MTL material description worked for the normal display, but the Photo Generation in the top two levels still produces opaque glass. Is there another condition needed for the photos?