POV-Ray : Newsgroups : povray.general : # of objects in a model : Re: # of objects in a model Server Time
5 Aug 2024 00:20:12 EDT (-0400)
  Re: # of objects in a model  
From: Vadim Sytnikov
Date: 16 Jan 2003 20:16:09
Message: <3e275959$1@news.povray.org>
"Slime" <slm### [at] slimelandcom> wrote
> > POV-Ray's parser splits unions (including nested unions, to
> > any depth) until it "hits" a primitive, or a non-union compound object.
>
> I had heard this before. I was wondering, how does it handle, say:
>
> intersection {
> sphere{...}
> union {
> sphere{...}
> sphere{...}
> }
> }
>
> without retaining the union? (assume all three spheres intersect.)

As I wrote, "parser splits ... until it hits ... non-union compound object".
That is, since the union you draw as an example is *within* intersection
(which is one of the "non-union compound objects" I was referring to), it
will be retained.


Post a reply to this message

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