POV-Ray : Newsgroups : povray.general : CSG with a bounded_by shape -- any inaccuracies? : Re: CSG with a bounded_by shape -- any inaccuracies? Server Time
31 Jul 2024 20:14:08 EDT (-0400)
  Re: CSG with a bounded_by shape -- any inaccuracies?  
From: Leroy
Date: 26 Sep 2006 23:34:53
Message: <4519F03E.6080304@joplin.com>
Kenneth wrote:
> Here's a little question I've been thinking about for awhile, having to do
> with CSG and an added bounded_by shape.
> 
> Say I construct a CSG shape out of POV-Ray primitives--using merge,
> difference or intersection-- that has a final visible shape (dimensions or
> volume) of exactly
> <-2, 0, -3> to <2,12,5>
> and I want to add a bounding box to it.
> 
> Is is safe to use the exact same dimensions for the bounding box?  Or should
> I use something like
> <-2.0001,-.0001,-3.0001> to <2.0001, 12.0001,5.0001>
> to take care of any possible floating-point inaccuracies? The POV docs seem
> to indicate that it's not a problem, but I usually do it the latter way
> because I just don't know. Do floating-point problems even occur with a
> bounding shape?
> 

Use something like
 > <-2.0001,-.0001,-3.0001> to <2.0001, 12.0001,5.0001>
 > to take care of any possible floating-point inaccuracies.
  As with any CGS Co-incident surfaces(pov Help 2.2.3.6.1)should be avoided.


Post a reply to this message

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