POV-Ray : Newsgroups : povray.beta-test : intersection tests : Re: intersection tests Server Time
28 Jul 2024 18:14:20 EDT (-0400)
  Re: intersection tests  
From: Alain
Date: 21 Sep 2007 10:57:50
Message: <46f3dbee$1@news.povray.org>
Bruno Cabasson nous apporta ses lumieres en ce 2007/09/21 09:18:
> I take the risk of appearing stupid, but is it possible to make the
> assumption that if a ray hits an object, the rays next to it (next pixel
> for example, or the next ray shot, or so ...) have a high probability to
> hit the same object, thus avoiding useless tree-traversal and intersection
> test? Would it be costful: if the test fails, then we go on with the normal
> traversal with little overhead, and if success, we save a non neglectable
> time?
> 
> Is it possible to collect ray-object intersection statistics while shooting
> rays and intersecting, in order to make prediction?
> 
>     Bruno
> 
> 
It may be worth investigating. The potential benefit would be largely scene 
dependent. May help in scenes containing hundreds to thousands of objects.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you can describe in perfect, 
legal, pov syntax, how to re-create everything in your computer room using 
primitives and csg operations.
fish-head


Post a reply to this message

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