POV-Ray : Newsgroups : povray.general : max_trace_level and objects with ior=1 : Re: max_trace_level and objects with ior=1 Server Time
3 Aug 2024 04:17:18 EDT (-0400)
  Re: max_trace_level and objects with ior=1  
From: Christopher James Huff
Date: 23 May 2004 14:21:12
Message: <cjameshuff-2470A0.13213823052004@news.povray.org>
In article <40ab68da@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   Each surface hit and consequent new ray will cause a recursive call.
> You don't need an infinite amount of recursions for the program to run
> out of stack space: Just put some thousands of transparent surfaces in
> a row and trace a ray through them.

Note that this isn't strictly necessary...those intersections have 
already been done...when there isn't any refraction, it is possible to 
step through transparent layers in sequence. However, POV just finds the 
"best" intersection and starts over again. This might make a nice 
optimization for media containers or other uses of transparent 
non-refracting objects, like lens flares...

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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