POV-Ray : Newsgroups : povray.newusers : POVRAY : Re: POVRAY Server Time
6 Sep 2024 02:22:37 EDT (-0400)
  Re: POVRAY  
From: Mark Gordon
Date: 27 Mar 1999 08:38:59
Message: <36FCE111.4BA022E1@mailbag.com>
Ken wrote:
> 
> tommaso wrote:
> >
> > Please help me,
> >
> > Declared:
> >         A = Solid  (Cone, box, cylinder)
> >         B = Polyhedron (Prism or generic surface realized with union of
> > polygons)
> >
> > I want to make
> >
> > difference:
> >                 1)      A - A    (OK)
> >                 2)      A - B   no results
> >                 3)      B - A   no surface of difference
> >                 4)      B - B   no results
> >
> >                 What is the solution for the cases 2,3,4 ?
> >
> > Excuse my english,
> >
> >                 Thanks
> >
> >                 Tst### [at] capoleucait
> 
>   Polygons, bicubic patches, meshes, triangles and a two other types
> of pov objects are considered infinitely thin objects. They have no
> well defined inside and outside. Because of this they are not allowed
> to be used in a CSG operation except for the union CSG operation.

All is not lost.  It is possible (though tedious) to construct a
polyhedron as the intersection of planes such that one could perform CSG
operations with it.

-- 
Mark Gordon
mtg### [at] mailbagcom
http://www.mailbag.com/users/mtgordon/index.html

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/S d-- s-: a- C++$ UA+$ UH+$ UO+$ US+$ UL++++ P+++ L++(+++) E W++ N+
o-- 
K++ w---$ O- M$ V--$ PS++ PE- Y+ PGP->+ t+ 5++ X R+ tv-- b++ DI++$ D+ G 
e++>++++ h- r*%-- y-
------END GEEK CODE BLOCK------


Post a reply to this message

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