My longstanding battle with metal definitions in .mtl files has reached a milestone. The two last lines in the file <Ni and d> are the most important.
Enjoy!
How to make metal material.
This topic has been viewed 159 times and has 4 replies
How to make metal material.
- Attachments
-
- Cornell_Tester.png (270.18 KiB) Viewed 159 times
Re: How to make metal material.
For metallic surfaces like chrome, gold, silver, etc add the prefix sweethome3d_window_mirror_ to the g group in the obj file that needs the metallic feature.
Metallic colors: https://madegooddesigns.com/tools/metallic-colors/
See this post for an example:
viewtopic.php?p=64782&hilit=new+year+clock#p64782
Metallic colors: https://madegooddesigns.com/tools/metallic-colors/
See this post for an example:
viewtopic.php?p=64782&hilit=new+year+clock#p64782
Dodecagon.nl
1300+ 3D models, manuals, and projects
1300+ 3D models, manuals, and projects
Re: How to make metal material.
Yes, you're right. There is also a flaw in my method: The lamp looks convincing when floating mid air, but when I place it against something <like a wooden panel> it comes clear that iti is quite transparent even if I set d 0.99. I'll try d 0.999, and call it a day if not successful. It seems SH3D doesn't handle d in a linear fashion.
Thanks for your reply, Keet.
Thanks for your reply, Keet.
Re: How to make metal material.
You can try to change the illum value. If you don't have a list with the possible values and what they represent you can find a manual on my site The MTL file explained where all values are listed and explained.
Dodecagon.nl
1300+ 3D models, manuals, and projects
1300+ 3D models, manuals, and projects
Re: How to make metal material.
Yes, if I remember correctly, I read somewhere on the forum in the past, that even though SH3D only supports illum 0,1 and 2, it might pass other values to the renderer who then again might support them. I'll experiment with it.
Thanks, Keet.
Edit 17:35:
Did a side by side comparison of illum 2, 3, 4 and 5. No apparent difference, it seems that SH3D falls back to illum 2.
Thanks, Keet.
Edit 17:35:
Did a side by side comparison of illum 2, 3, 4 and 5. No apparent difference, it seems that SH3D falls back to illum 2.