|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Realistic black windows |
|
| Print at Dec 20, 2025, 4:49:20 AM | |
| Posted by swave at May 13, 2019, 8:24:28 AM |
|
Realistic black windows Hi I'm trying to render pictures with black windows. So in general black glass. I tried first with a simple wall in black color and shiny surface. That doesn't look bad but is not as smooth as I expected. Then I tried with a window in black color. However now it is transparent and I can see the things behind it which is not what I wanted. How can I best create a surface with shiny but (almost) non transparent glass like these examples? https://m.media-amazon.com/images/I/51W5Dhc9OTL._SR500,500_.jpg https://static1.squarespace.com/static/564153...5+all+windows+MD+2015.jpg Thanks |
| Posted by SeppoV12 at Jun 28, 2019, 7:38:54 PM |
|
Re: Realistic black windows This thead is few months old, maybe you have found good solution already. Any way, my solution is not as clear, shiny and detailed as in your two demo pictures behind links but here it is. ![]() This is what I have done: - i took frameless mirror from SH3D furniture library (just one material, fine!) - used 'Copy as new furniture'-plugin to copy it to SH3D workspace - converted that copy to .OBJ-format with '3D view-Export to OBJ format...' - results are filename.OBJ and filename.MTL - replaced material definition lines in MTL-file with following lines: newmtl sweethome3d_window_mirror_1 illum 3 Ka 0.0000 0.0000 0.0000 Kd 0.0000 0.0000 0.0000 Ks 0.0000 0.0000 0.0000 Ns 200 Ni 1.5 #d 0.9 d 0.7 - parameter d defines how this material dissolves into the background. (1 is completely opaque, 0 completely transparent, # means comment line) - after each modification I imported OBJ-file to SH3D ('Furniture - Import as furniture') - left black window in my picture has d=0.7, right one has d=0.9 (other windows are not modified and used just to show in reflections) Crude explanation: - effect of parameter d in MTL file can be seen in redered picture - in SH3D:s 3d-window also 'Modify furniture - Materials' Color and shininess affect what is seen AND in rendered picture Inside 'black window.zip' are files black window.sh3d, black window.obj, black window.mtl and black window.jpg. http://www.mediafire.com/file/54uk91ssnam4itp/black_window.zip/file I hope this help somebody. (and also hope that I really could understand things in MTL-file.. )Seppo |
| Posted by swave at Jun 29, 2019, 6:26:16 PM |
|
Re: Realistic black windows I don't need it anymore, but this looks really good, thanks. I'll keep it in case I might need it again some time. |
|
|
Current timezone is GMT Dec 20, 2025, 4:49:20 AM |