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:16:01 EDT (-0400)
  Re: max_trace_level and objects with ior=1  
From: Christopher James Huff
Date: 24 May 2004 14:47:59
Message: <cjameshuff-0EEB5B.13482524052004@news.povray.org>
In article <40b24060@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   If you need all the intersections, wouldn't that slow down rendering
> of meshes?

No. You only need all the intersections if the mesh is transparent and 
non-refracting, otherwise, just grab the first intersection, and if it 
comes before the last intersection in the list, use it to terminate the 
list. And in the case where all intersections are needed, finding all 
intersections at once will still be faster than finding the first 
intersection multiple times.

-- 
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.