|
|
All,
Is it possible to do an intersection with a union?
like:
intersection {
sphere { <0, 0, 0>, 5 }
union {
...
place several objects here.
....
}
}
Post a reply to this message
|
|
|
|
Peter Ketting wrote:
>
> All,
>
> Is it possible to do an intersection with a union?
> like:
>
> intersection {
> sphere { <0, 0, 0>, 5 }
> union {
> ...
> place several objects here.
> ....
> }
> }
Yes ! That is called CSG nesting and is used all the time in CSG operations.
You can combine unions, intersections, merges, and differences all in one
operation as well as adding a clipped by to any part of it. It takes a bit
of planning on your part so that it will work correctly but that is up to
you to figure out.
--
Ken Tyler - 1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|