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