POV-Ray : Newsgroups : povray.general : Variable IOR - has the time come? : Re: Variable IOR - has the time come? Server Time
1 Aug 2024 06:22:48 EDT (-0400)
  Re: Variable IOR - has the time come?  
From: Nekar Xenos
Date: 25 Feb 2006 06:04:45
Message: <440039cd@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message 
news:44002edb@news.povray.org...
> Nekar Xenos <go_### [at] yahoocom> wrote:
>> >  If there is an object inside that sphere, how would you calculate 
>> > where
>> > this curved line intersects that object?
>
>> How about taking the ray on a circular path in one direction as the ior 
>> goes
>> up and changing the direction when the ior goes down resulting in an
>> s-shaped path.
>
>  What? Did you even understand my question?
>
> -- 
>                                                          - Warp

I meant to replace my intitial suggestion with the second one. Is it not 
possible to test intersection of a circle with an object? Please excuse me, 
but I (obviosly)don't know how a raytracer is programmed. How is 
intersection of a straight ray done? I was thinking of just replacing the 
formula for the straight ray with the formula of a circle.

-- 
-Nekar Xenos-
----------------------------------------
"The truth is out there..."


Post a reply to this message

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