POV-Ray : Newsgroups : povray.text.scene-files : Refraction bug(?) this time : Re: Refraction bug(?) this time Server Time
29 Jul 2024 00:30:46 EDT (-0400)
  Re: Refraction bug(?) this time  
From: Nathan Kopp
Date: 2 Dec 1998 23:18:08
Message: <36660FC3.9D17DED0@Kopp.com>
> // refraction seems to jump into an external object
> // which itself does not have an ior
> // 98.91, bob hughes
> 
> // when 1 (inverse used) refraction jumps into sphere, 2 does not

Actually, this is technically not true.  The sphere DOES have an IOR... it is
1.0 by default.  Because this is the same as the air (empty space), when
you don't use inverse, you don't see any effect.  However, when you do
use the inverse, as Ken mentioned, the camera is inside the water plane, so
there is a change in IOR values when the light beam passes from the water
(ior 1.23) into the sphere (ior 1.0).  Therefore, POV calculates the
refraction angle properly.

-Nathan


Post a reply to this message

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