POV-Ray : Newsgroups : povray.general : How does POV handle IORs? : Re: How does POV handle IORs? Server Time
7 Aug 2024 01:21:56 EDT (-0400)
  Re: How does POV handle IORs?  
From: Ron Parker
Date: 29 Jan 2002 22:49:19
Message: <slrna5era3.st1.ron.parker@fwi.com>
On Tue, 29 Jan 2002 22:31:50 -0500, Christopher James Huff wrote:
> Will POV render correctly in the case where the ray exits through a 
> water/air surface? For example, looking upward through a glass bowl of 
> water?

1.0 air (inside: air)
   enter glass
1.5 glass (inside: air glass)
   enter water
1.3 water (inside: air glass water)
   exit glass
1.3 water (inside: air water)
   exit water
1.0 air (inside: air)
   
I think the answer is yes.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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