POV-Ray : Newsgroups : povray.advanced-users : opposite of bounded/clipped by. Server Time
26 Dec 2024 01:13:15 EST (-0500)
  opposite of bounded/clipped by. (Message 1 to 3 of 3)  
From: Eitan Tal
Subject: opposite of bounded/clipped by.
Date: 23 Feb 2000 07:41:57
Message: <38B3D506.3C177@netvision.net.il>
I am looking for a transformation / CSG that is the opposite of bounded
/ clipped by.

for example, I have 2 boxes, (X dimension only, for example)

#declare Box1 = Box {<1>,<3>}
#declare Box2 = Box{<2>,<4>}

where 2-3 is the shared region, which I want to eliminate.

I can do merge {
object {Box1}
object {Box2}
}

and a triple object, that will contain the same place, might be box1,
box2,
box1 bounded by box2, box2 bounded by box1.

I can also do the same with difference

difference {
merge {object {box1} {object{box2}
object {box1/2 bounded_by {object {box2}}}
}

is there a function that does this operation or do I have to use these
two options?
does that triple merge bug exists in newer versions?


Post a reply to this message

From: Chris Huff
Subject: Re: opposite of bounded/clipped by.
Date: 23 Feb 2000 08:08:02
Message: <chrishuff_99-504401.08092423022000@news.povray.org>
In article <38B### [at] netvisionnetil>, Eitan Tal 
<eit### [at] netvisionnetil> wrote:

> I am looking for a transformation / CSG that is the opposite of bounded
> / clipped by.
...
> is there a function that does this operation or do I have to use these
> two options?
> does that triple merge bug exists in newer versions?

What "triple merge bug? Can you explain more clearly what you mean?
Also, bounded_by is an optimization feature, not a clipping/CSG feature 
like clipped_by or diffference. Your use of it as one might explain your 
problems with merge.
And to do the opposite of clipped_by, try using the inverse keyword in 
the clipping object.

Sorry I don't have time to go into more detail right now...I have to go 
to school. :-(

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Peter Popov
Subject: Re: opposite of bounded/clipped by.
Date: 23 Feb 2000 11:05:02
Message: <8QO0OF39bxVTIwJ6tsxUTaAHFMD+@4ax.com>
Eitan,

I strongly suggest you read the documentation, especially the chapters
on CSG (Constructive Solid Geometry), hollow/non-hollow objects,
bounding objects and clipped_by. All answers are there.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

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