|
|
I realize this is sort of a deprecated feature, therefore I'm not filing
a formal bug report, this is mostly just an FYI...
Rendering scenes intended for old versions of POV Ray that use the glass
textures render incorrectly, even if the version parameter is set.
Originally, the finish declaration looked like this, but this does not
add the IOR to the finish statement as expected,
-------------------------------------------
#declare Glass_Finish=
finish {
specular 1
roughness 0.001
ambient 0
diffuse 0
reflection 0.1
#if (version<3.1)
ior 1.5
#end
}
-------------------------------------------
Changed to this, old scenes (provided the #version tag is added or the
+mvx.x command line option is specified) render as expected.
-------------------------------------------
#declare Glass_Finish=
finish {
specular 1
roughness 0.001
ambient 0
diffuse 0
reflection 0.1
#if (Textures_Inc_Temp<3.1)
ior 1.5
#end
}
-------------------------------------------
--
~Mike
Post a reply to this message
|
|
|
|
Mike Raiford schrieb:
> I realize this is sort of a deprecated feature, therefore I'm not filing
> a formal bug report, this is mostly just an FYI...
I think this /does/ qualify as a bug. It doesn't really make any sense
at all to test the "version" variable in a file that's forced hard-coded
to version 3.5.
Post a reply to this message
|
|