POV-Ray : Newsgroups : povray.general : max_trace_level : Re: depth sorting (was: Re: max_trace_level) Server Time
5 Aug 2024 22:20:36 EDT (-0400)
  Re: depth sorting (was: Re: max_trace_level)  
From: Christopher James Huff
Date: 3 Sep 2002 21:09:15
Message: <chrishuff-9F6512.21083403092002@netplex.aussie.org>
In article <3d754df9$1@news.povray.org>,
 Lutz-Peter Hooge <lpv### [at] gmxde> wrote:

> Does POV do some kind of depth sorting?
> That means, first check for intersections with the object wich bounding 
> box is nearest, and if an intersection is found and the intersection 
> point is outside the second-nearest bounding box, then don't test for 
> intersections with any other objects?

I don't think it does exactly what you are asking. If I recall 
correctly, it does something close (and practically equivalent) though: 
if the bounding box intersection is further than the best (nearest) 
intersection, the object is ignored.
For this optimization, that rule would have to be changed to "further 
than the nearest refracting or opaque surface".

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