|
|
Ron Parker wrote:
>
> On Fri, 15 Oct 1999 08:56:37 -0700, Ken wrote:
> > Actually the code was intentionaly left as it was to illustrate the
> >problem. What I am confused about though is why the coincident surface
> >problem is manifesting itself on the surface areas of the sphere that
> >are in no way in contact with any of the csg operation.
>
> Because the whole thing is part of the csg operation. Taking out the
> irrelevant parts, you're left with this, which is obviously wrong:
>
> difference {
> sphere {<0,0,0>, 1 pigment { rgb 1 }}
> sphere {<0,0,0>, 1 pigment { rgb 1 }}
> sphere {<0,0,0>, 1 pigment { rgb 1 }}
> :
> :
> }
I understand now. Because part of the operation is within the loop with
a count of 12 I am getting 12 copies of the sphere rather than the 1
I had assumed.
These programming loops are confusing as hell sometimes "#%@!!!
--
Ken Tyler - 1100+ 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
|
|