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: 10
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5014 times and has 9 replies Next Thread
stelvio.rosset
Newbie



Finland
Joined: Mar 8, 2021
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Transparent floor

Very good day, anybody can suggest how to create a glass (transparent) floor, or better a piece of that? Thanks a lot for the help. Stelvio
[Mar 17, 2021, 11:25:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9214
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Here's my suggestion:
- Create a new home
- Choose Plan > Add level menu item
- Select room creation tool and draw the shape you want
- Choose 3D view > Modify 3D view menu item and select the transparency level you want with Walls transparency slider
- Choose 3D view > Export to OBJ format and confirm the option Export selection when prompted
- Import in your main home the exported OBJ file with Furniture > Import furniture menu item
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Mar 18, 2021, 11:21:44 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
stelvio.rosset
Newbie



Finland
Joined: Mar 8, 2021
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Hi, thanks for the hint, yes this solution works; there is any additional possibility just to assign to the floor the glass material similarly to the windows object? Thanks
[Mar 19, 2021, 1:02:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9214
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

If there was a simpler solution, I would have cited it first wink
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Mar 19, 2021, 1:48:28 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
stelvio.rosset
Newbie



Finland
Joined: Mar 8, 2021
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Thanks for your help, I will proceed as you suggested. Stelvio
[Mar 19, 2021, 2:04:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
crackwood01
Member



Canada
Joined: Oct 14, 2020
Post Count: 66
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Thanks for this great trick!!

I now use it for tinted windows!!

black wall ->> opacity adjustment ->> export to obj
[Apr 16, 2021, 12:31:37 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Peppyy
Member
Member's Avatar

USA
Joined: Dec 30, 2023
Post Count: 21
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Excelent! Worked perfectly and saved me an hours trying to get it to work in blender.
----------------------------------------
Who said you can't do it.
I don't listen to Who anymore.
[Jan 29, 2024, 5:00:49 PM] 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: 818
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Personally I find it easier to edit the exported object and add a d value (transparency) to the material I want to be transparent. In most cases you only want one part to have transparency and with the manual edit that's just as easy.

This is explained here and here .
[Jan 29, 2024, 7:10:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
meehocz
Newbie



Slovakia
Joined: May 6, 2024
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Maybe even simpler solution: Create a transparent png and use it as an imported texture in Modify 3D View / Ground.
[May 6, 2024, 10:59:14 PM] 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: 818
Status: Offline
Reply to this Post  Reply with Quote 
Re: Transparent floor

Maybe even simpler solution: Create a transparent png and use it as an imported texture in Modify 3D View / Ground.
Simpler? For me setting the d parameter is just as simple.
With a texture image you are stuck with that image. Using the d property in the mtl file leaves you the option to change colors for semi-transparent objects like tinted windows.
Besides that, a texture increases the imported object size with the size of the texture. It also increases the rendering time for a photo.

For simple window glass (a pane WxHxD 100x100x0.5)
Glass.obj:
mtllib Glass.mtl
g glass_1
usemtl Glass
v -50.0 250.0 -0.250002
v 50.0 250.0 -0.250002
v 50.0 250.0 0.249998
v -50.0 250.0 0.249998
v -50.0 350.0 -0.24999799
v -50.0 350.0 0.250002
v 50.0 350.0 0.250002
v 50.0 350.0 -0.24999799
vt 0.0 0.0 0
vt 1.0 0.0 0
vt 1.0 1.0 0
vt 0.0 1.0 0
vn 0.0 -1.0 0.0
vn 0.0 1.0 0.0
vn -1.0 0.0 0.0
vn 1.0 0.0 0.0
vn 0.0 0.0 -1.0
vn 0.0 0.0 1.0
f 1/1/1 2/2/1 3/3/1
f 1/1/1 3/3/1 4/4/1
f 5/4/2 6/1/2 7/2/2
f 5/4/2 7/2/2 8/3/2
f 1/1/3 4/2/3 6/3/3
f 1/1/3 6/3/3 5/4/3
f 2/2/4 8/3/4 7/4/4
f 2/2/4 7/4/4 3/1/4
f 1/2/5 5/3/5 8/4/5
f 1/2/5 8/4/5 2/1/5
f 3/2/6 7/3/6 6/4/6
f 3/2/6 6/4/6 4/1/6

Glass.mtl:
newmtl Glass
illum 2
Ka 1.0 1.0 1.0
Kd 1.0 1.0 1.0
Ks 0.0 0.0 0.0
Ns 1.0
Ni 1.45
d 0.4

You can import the glass object and resize it to any format you need.

A nice trick: import the glass as a staircase and you can can insert a partial glass floor. Rotate the pane horizontal and make the depth the same as the floor thickness. Elevate the glass in the room below to the wall height. Done, a nice glass 'hole' in the floor.
----------------------------------------
[Edit 1 times, last edit by Keet at May 7, 2024, 1:06:21 PM]
[May 7, 2024, 1:01:57 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 2006-2024 eTeks - All rights reserved