Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2128 times and has 1 reply Next Thread
deanfourie
Newbie




Joined: Jan 8, 2023
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Windows not see through?

Hi, iv'e downloaded a custom window and its not see through when I add it? I have the same problem with lots of these custom imported models.

Any ideas?

Thanks
[May 25, 2023, 11:13:49 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1103
Status: Offline
Reply to this Post  Reply with Quote 
Re: Windows not see through?

With models exported from external sources you always have to wait and see how they turn out. Sometimes they are completely garbled and sometimes they are perfect. Sometimes it helps to first import them in Blender and export to the Wavefront format obj/mtl. Then import in Sweethome3D.

The window you imported can probably be fixed to make the glass transparent, IF the glass has its own material definition.
First determine what the name of the glass property is: Double click the window to modify its properties. In the section 'color and texture' choose 'modify'. Try each listed property name and see what the name of the property is when the glass is blinking. That is the property name for the glass. Now how to fix it:

If you imported an obj/mtl model you already have the needed mtl file. If not export the window from Sweethome3D which will generate the obj and mtl files for you.
Edit the mtl file with a plain text editor and find the section with the material name for the glass. That section probably doesn't have a line starting with 'd ' so add a line with 'd 0.4'. If there is no line with a 'Ni' value add that too: 'Ni 1.45' (both without the quotes). Ni is for the refraction of the glass which for normal window glass is around 1.45, d is the transparency where 0.0 is completely transparent to fully opaque at 1.0. For single glass 0.4 is a good value.

Save the mtl file and re-import the obj file as 'door or window' and you should have a window with transparent glass.
When you are editing you can change the property name for the glass to "Glass" but you must do the same name change in the obj file.
----------------------------------------
Dodecagon.nl
750+ 3D models, manuals, and projects
[May 25, 2023, 4:42:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved