Print at Jan 24, 2022, 3:07:49 PM

Posted by sree.arun.kr at May 25, 2014, 7:42:58 PM
Re: Sweet Home 3D 4.4
Ya, you are right the problem/bug lies in this line.
I changed this parameter to
if (material instanceof OBJMaterial
&& ((OBJMaterial)material).isOpticalDensitySet()) {
this.sunflow.parameter("eta", 2.5);
} else { ...

Then I got the result : glass material render properly
Then I go search about OpticalDensity and come up page OBJLoader.java
I think in this page you are not described the vales&limitation.(I dont know java programing)
ie, Ni , min value = 0.001 max value = 10. (Internet search result )
& this will create the improper value Error.
glass & mirror OpticalDensity strength difference.
I hope this will help you to fix the bug
Thank you. love struck
----------------------------------------