POV-Ray : Newsgroups : povray.newusers : CSG Newbie-esque question. Server Time
6 Sep 2024 00:23:03 EDT (-0400)
  CSG Newbie-esque question. (Message 1 to 3 of 3)  
From: pslock
Subject: CSG Newbie-esque question.
Date: 26 Feb 1999 19:30:18
Message: <36d73c9a.0@news.povray.org>
I am currently working with POVLAB.  I have a basic understanding of CSG's
in POVRAY, and have started working with POVLABs supported CSG option, but
am having some trouble.  Basically, I'm trying to make a hole between 2
objects, but I can't get it to work.  Is this simply a POVRAY
impossibility, or a POVLAB limitation?  I have 2 tubes, both of which are
vertical.  When I put something between them, like say a cube, and then
perform a CSG Difference operation on ONE tube and the cube, the cube
makes a succesful hole in that tube as expected.  However, I have no clue
how to make a hole clean through both tubes.  I performed different
Difference operations, but the only thing I usually wind up with is 2
invisible tubes with the cube as visible.  I've tried playing with the
function, but I cannot seem to get this to work.  I respectfully ask for
some serious help....I can't seem to figure it out.  Thanks in advance...

------------
psl### [at] nmiacom


Post a reply to this message

From: Margus Ramst
Subject: Re: CSG Newbie-esque question.
Date: 26 Feb 1999 20:39:24
Message: <36d74ccc.0@news.povray.org>
Making a CSG difference leaves only the first component visible. You must
either difference both cylinders separately with the same cube - or better
yet, make a union of these cylinders and difference this union with the
cube.

Margus

psl### [at] nmiacom wrote in message <36d73c9a.0@news.povray.org>...
>I am currently working with POVLAB.  I have a basic understanding of CSG's
>in POVRAY, and have started working with POVLABs supported CSG option, but
>am having some trouble.  Basically, I'm trying to make a hole between 2
>objects, but I can't get it to work.  Is this simply a POVRAY
>impossibility, or a POVLAB limitation?  I have 2 tubes, both of which are
>vertical.  When I put something between them, like say a cube, and then
>perform a CSG Difference operation on ONE tube and the cube, the cube
>makes a succesful hole in that tube as expected.  However, I have no clue
>how to make a hole clean through both tubes.  I performed different
>Difference operations, but the only thing I usually wind up with is 2
>invisible tubes with the cube as visible.  I've tried playing with the
>function, but I cannot seem to get this to work.  I respectfully ask for
>some serious help....I can't seem to figure it out.  Thanks in advance...
>
>------------
>psl### [at] nmiacom
>


Post a reply to this message

From: Bob Hughes
Subject: Re: CSG Newbie-esque question.
Date: 26 Feb 1999 20:52:22
Message: <36D74FA8.6C8CE6C0@aol.com>
First difference the two tubes then difference the result from the cube,
like so:

difference {
 object {Cube}
difference {
  object {OuterTube}
  object {InnerTube}
 }
}

Hope I've followed correctly.


psl### [at] nmiacom wrote:
> 
> I am currently working with POVLAB.  I have a basic understanding of CSG's
> in POVRAY, and have started working with POVLABs supported CSG option, but
> am having some trouble.  Basically, I'm trying to make a hole between 2
> objects, but I can't get it to work.  Is this simply a POVRAY
> impossibility, or a POVLAB limitation?  I have 2 tubes, both of which are
> vertical.  When I put something between them, like say a cube, and then
> perform a CSG Difference operation on ONE tube and the cube, the cube
> makes a succesful hole in that tube as expected.  However, I have no clue
> how to make a hole clean through both tubes.  I performed different
> Difference operations, but the only thing I usually wind up with is 2
> invisible tubes with the cube as visible.  I've tried playing with the
> function, but I cannot seem to get this to work.  I respectfully ask for
> some serious help....I can't seem to figure it out.  Thanks in advance...
> 
> ------------
> psl### [at] nmiacom

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

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