POV-Ray : Newsgroups : moray.win : Refraction? Server Time
29 Jul 2024 16:22:42 EDT (-0400)
  Refraction? (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Daniel Hargreaves
Subject: Refraction?
Date: 23 Dec 1998 12:42:57
Message: <36812CAB.21E8BD38@mpiarch.com>
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
      }
   }


Post a reply to this message

From: Alex Magidow
Subject: Re: Refraction?
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

From: Daniel Hargreaves
Subject: Re: Refraction?
Date: 23 Dec 1998 17:55:23
Message: <368175D2.41321785@mpiarch.com>
Alex Magidow wrote:

> 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?
> ><SNIP>

You are correct IOR does stand for "Index of Refraction". The problem is when
you turn refraction on or set it to a value, you get a very different effect
with the glass. I have included 2 small JPGs to show with and without the POV
refraction setting. If anyone has any insight, it would be greatly appreciated.
Thanks.


Post a reply to this message


Attachments:
Download 'with_ref.jpg' (40 KB) Download 'wo_ref.jpg' (46 KB)

Preview of image 'with_ref.jpg'
with_ref.jpg

Preview of image 'wo_ref.jpg'
wo_ref.jpg


 

From: Matthew Bennett
Subject: Re: Refraction?
Date: 24 Dec 1998 11:18:22
Message: <3682694e.0@news.povray.org>
This is a bit of a guess, but have you tried adding the "hollow" property to
your glass sphere object?


Matt

Daniel Hargreaves wrote in message <368175D2.41321785@mpiarch.com>...
>
>
>Alex Magidow wrote:
>
>> 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?
>> ><SNIP>
>
>You are correct IOR does stand for "Index of Refraction". The problem is
when
>you turn refraction on or set it to a value, you get a very different
effect
>with the glass. I have included 2 small JPGs to show with and without the
POV
>refraction setting. If anyone has any insight, it would be greatly
appreciated.
>Thanks.
>
>
>


Post a reply to this message

From: Daniel Hargreaves
Subject: Re: Refraction?
Date: 24 Dec 1998 16:04:30
Message: <3682AC0D.EA8B0DEE@worldnet.att.net>
Matthew Bennett wrote:

> This is a bit of a guess, but have you tried adding the "hollow" property to
> your glass sphere object?
>
> Matt
> <SNIP>

Yes, I have tried Hollow and it had no effect. I have played with IOR, creating
new spheres and even using some of the predefined glass, and I still get the
same result. My quest continues.

--
Daniel Hargreaves
SD Graphics
--
ArchSymb for AutoCAD and IntelliCAD
http://home.att.net/~dkh007/archsymb
CADD Standards
http://home.att.net/~dkh007/caddstd


Post a reply to this message

From: Alan Kong
Subject: Re: Refraction?
Date: 29 Dec 1998 13:08:43
Message: <36891AA8.2D97F26D@compuserveNO-SPAM.com>
>> 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

From: Daniel Hargreaves
Subject: Re: Refraction?
Date: 29 Dec 1998 22:13:20
Message: <368999F6.A74FFFAE@worldnet.att.net>
Alan Kong wrote:

> >> 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.
>
> <SNIP>

Well I did a little further investigation and I was not able to repeat the
problem on a different computer. So now I'm stumped. I have even tried
uninstalling POV 3.1 and downloading 3.1a and reinstalling. Uninstalling Moray
and reinstalling. All of these efforts have proved to be fruitless. Something is
not obviously configured correctly on my P-II, so I will continue the search.

--
Daniel Hargreaves
SD Graphics
--
ArchSymb for AutoCAD and IntelliCAD
http://home.att.net/~dkh007/archsymb
CADD Standards
http://home.att.net/~dkh007/caddstd


Post a reply to this message

From: Alan Kong
Subject: Re: Refraction?
Date: 31 Dec 1998 08:16:35
Message: <368B792D.8C3C5389@compuserveNO-SPAM.com>
Daniel Hargreaves wrote:

>> Well I did a little further investigation and I was
>> not able to repeat the problem on a different computer.
>> ...

  Okay. If it turns out to be something we could benefit from knowing about,
please post. Thanks.

- Alan
------------------------------------------------------------------
"The Wolfman been everywhere and he seen everything....and here I
sit, sucking popsicles..." - radio station manager played by the
late Wolfman Jack, in George Lucas' "American Graffiti" (1973)
------------------------------------------------------------------


Post a reply to this message

From: Daniel Hargreaves
Subject: Re: Refraction?
Date: 31 Dec 1998 13:25:34
Message: <368BC149.24651311@worldnet.att.net>
Alan Kong wrote:

> Daniel Hargreaves wrote:
>
> >> Well I did a little further investigation and I was
> >> not able to repeat the problem on a different computer.
> >> ...
>
>   Okay. If it turns out to be something we could benefit from knowing about,
> please post. Thanks.
>

<SNIP>
If I track this one down I will share with all. I even went as far as
unistalling Moray and POV cleaning out the registry and then reinstalling POV
3.1a and Moray 3.1. After all that I still get the double refracted glass.

--
Daniel Hargreaves
SD Graphics
--
ArchSymb for AutoCAD and IntelliCAD
http://home.att.net/~dkh007/archsymb
CADD Standards
http://home.att.net/~dkh007/caddstd


Post a reply to this message

From: Daniel Hargreaves
Subject: Re: Refraction? Update...
Date: 31 Dec 1998 15:37:14
Message: <368BE021.97B20F4E@worldnet.att.net>
Daniel Hargreaves wrote:

> <SNIP>
> If I track this one down I will share with all. I even went as far as
> unistalling Moray and POV cleaning out the registry and then reinstalling POV
> 3.1a and Moray 3.1. After all that I still get the double refracted glass.
>

Well, I took it one step further. On the machine that did not produce the
refracted glass error, I still had Moray 3.0 on it. So I completely cleaned the
drive of any Moray evidence and installed the latest Moray 3.1, did a test
rendering and now I get the same refracted glass errors results from both
machines. I'm going to dig a little further into POV to see what it takes to
reproduce the over refracted glass.

--
Daniel Hargreaves
SD Graphics
--
ArchSymb for AutoCAD and IntelliCAD
http://home.att.net/~dkh007/archsymb
CADD Standards
http://home.att.net/~dkh007/caddstd


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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