POV-Ray : Newsgroups : moray.win : Refraction? Server Time
29 Jul 2024 18:31:04 EDT (-0400)
  Refraction? (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
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

From: Daniel Hargreaves
Subject: Re: Refraction? Final Update...
Date: 2 Jan 1999 03:03:33
Message: <368DD26F.F262882A@worldnet.att.net>
Hats off to the Moray team! Well it looks like with the latest build, that they
have fixed the refraction problem. I downloaded the latest build, rendered my scene
and all is fine. Anyone wishing to see the final rendering can get a look at the
following web site http://home.att.net/~dkh007/render/render.html Thanks to
everyone, and of course comments are welcome.

--
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: Lutz Kretzschmar
Subject: Re: Refraction? Final Update...
Date: 2 Jan 1999 10:14:32
Message: <368e38cc.3230935@194.174.214.110>
Hi Daniel Hargreaves, you recently wrote in moray.win:

> Hats off to the Moray team! Well it looks like with the latest build, that they
> have fixed the refraction problem. 
Hey, now I program in my sleep<g>. We never touched any of the
texturing code for that build. I have no idea how that can fix it. Did
you check the POV code that the two buils output, since I'm 100%
certain it's the same POV code.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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