POV-Ray : Newsgroups : moray.win : Refraction? : Re: Refraction? Server Time
29 Jul 2024 14:20:02 EDT (-0400)
  Re: Refraction?  
From: Alex Magidow
Date: 23 Dec 1998 13:31:24
Message: <36813783.9A80B867@mninter.net>
If I am not mistaken, ior stands for "Index of Refraction".

Daniel Hargreaves wrote:

> I have been using Glass 3 (the same setting from POV, not the ones
> provided with Moray). I have noticed that the IOR has been moved inside
> of the interior statement, but where has refraction gone to? My glass
> spheres have taken a very different personality, which I just don't like
> as much. I guess my question is what do I need to do to get moray 3.1 to
> do glass spheres like moray 3.0?
>
> Here are my Moray 3.0 settings for the glass:
> #declare Glass3 =
>    texture  // Glass3
>    {
>       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
>          refraction on  ior 1.45
>       }
>    }
>
> This is what Moray 3.1 is converting them to:
> #declare Glass3 =
>    material  // 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
>          }
>       }
>       interior
>       {
>          ior 1.45
>       }
>    }



--
"Only after the last tree has been cut down. Only after the last river has
been poisoned. Only after the last fish has been caught. Only then will you
find that money cannot be eaten."- Cree Indian Prophecy


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.