POV-Ray : Newsgroups : povray.general : CSG with planes : Re: CSG with planes Server Time
12 Aug 2024 19:32:48 EDT (-0400)
  Re: CSG with planes  
From: Ron Parker
Date: 14 Jan 1999 10:10:56
Message: <369e0900.0@news.povray.org>
On Thu, 14 Jan 1999 09:56:00 -0500, Mike Metheny <lon### [at] vtedu> wrote:
>If I am making a CSG object by using intersections of a bunch of planes
>through say a box, my final CSG object will be hollow.  Is there an easy way
>to make my CSG object solid using this method, or an easier method perhaps
>than cutting with boxes using a difference?

First, what do you mean by hollow?  

If you mean "you'll be able to see the inside from the outside", then this 
is not true if you intersect or difference with a plane, only if you clip 
with a plane.  You might get this if you have "coincident surfaces", which
have been known to mess up the logic used by intersection.  If this is the
case, move the planes a miniscule amount in either direction and the 
problem will go away.

If you mean "You can't use it in CSG", as with a mesh, that's not true
either.  Planes are solid objects, with the inside defined as "everything
on the side of the plane opposite the direction of the normal vector"

If you mean "You can use media in it", the statement isn't true unless
you explicitly say "hollow".  So you probably didn't mean that.

If you mean "When I put my camera in it, I see the inside walls", that's
true of every object in POV.

If you explain what you're seeing, with perhaps a short snippet of sample 
code, maybe we can more effectively help you solve your problem.


Post a reply to this message

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