POV-Ray : Newsgroups : povray.beta-test : Parser Statistics anomaly : Re: Parser Statistics anomaly Server Time
21 Jun 2024 01:29:36 EDT (-0400)
  Re: Parser Statistics anomaly  
From: Warp
Date: 8 Dec 2012 05:04:32
Message: <50c310b0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 06.12.2012 19:30, schrieb Warp:
> > Le_Forgeron <jgr### [at] freefr> wrote:
> >> an object is considered infinite when it is big enough...
> >
> > What exactly is the advantage of this?

> If an object is virtually everywhere, testing against its bounding box 
> is wasted computing time.

But the volume of the object doesn't tell this. The camera could well be
located such that the object in question is very small on screen. And
conversely, even a small object could fill up the entire view (eg. because
the camera is inside or extremely close to it.)

Shouldn't the algorithm be slightly more involved? In other words, try
to estimate the size of the object with respect to the camera position
and direction, rather than simply as a function of its volume.

-- 
                                                          - Warp


Post a reply to this message

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