POV-Ray : Newsgroups : povray.general : bounding box generation : Re: bounding box generation Server Time
8 Aug 2024 12:20:17 EDT (-0400)
  Re: bounding box generation  
From: David Fontaine
Date: 6 Jan 2001 17:39:01
Message: <3A579D69.CE37BC7B@faricy.net>
Warp wrote:

> Fabien Mosen <fab### [at] skynetbe> wrote:
> : You could also 'scan' the object with the 'trace' function, in order
> : to get a closer result.
>
>   You get the risk of setting a bounding box that is a bit too small.

Simply use the last value that didn't intersect, rather than the first that
did. If you wanted to be really precise, you could make a bisection macro
too.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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