|
![](/i/fill.gif) |
>> I have noticed that the IOR has been
>> moved inside of the interior statement,
>> but where has refraction gone to?
Daniel, the refraction keyword is no longer necessary using POV-Ray v3.1.
Specifying the ior keyword along with an ior value in the interior statement
turns on refraction.
I did not have example code from your scene to duplicate the background.
My own tests showed identical glass refraction (as far as I can tell) when
placing spheres over a checkered floor pattern. I did, however, move the
interior statement out of the #declare and 'attach' it to the sphere object
itself like so:
#declare Glass3 =
texture {
pigment {
color rgbf <0.98, 0.98, 0.98, 0.9>
}
finish {
ambient 0.1
diffuse 0.1
phong 1.0
phong_size 100.0
specular 0.8
roughness 0.0003
reflection 0.1
}
}
sphere {<0, 1, 0>, 1
texture {Glass3}
interior {ior 1.45} // specifying refraction keyword no longer necessary
}
Try exporting your Moray scene to POV-Ray .pov and include files and edit
the text accordingly. Does it render correctly now?
- Alan
---------------------------------------------------------------------
"Art reaches its greatest peak when devoid of self-consciousness.
Freedom discovers man the moment he loses concern over what
impression he is making or about to make." - Bruce Lee (1947 - 1973)
---------------------------------------------------------------------
Post a reply to this message
|
![](/i/fill.gif) |