POV-Ray : Newsgroups : povray.advanced-users : Nested objects limitations : Re: Nested objects limitations Server Time
29 Jul 2024 14:13:55 EDT (-0400)
  Re: Nested objects limitations  
From: Tim Nikias
Date: 1 Jan 2002 13:00:05
Message: <3C31F8DE.9D7F422C@gmx.de>
I thought the nested-objects-error was due to overlapping
media-particles (a bunch of overlapping spheres, transparent
texture, no_shadow). If the amount is just too big, it crashes.

The system does not place tons of unions, only one around all
the macro-calls required for the particles (which doesn't use
a union either).

In simplified version it's like this:

#macro Particle(Position,Parameters)
 sphere{Position, Parameter_Radius material{Parameter_Material}}
#end
#declare Objects=union{

#declare S=0; #while (S<200)
 Particle(Some_Position_near_origin,Other_Parameters)
#declare S=S+1;
#end
}

Hope this clarifies the problem a bit...

Tim


Post a reply to this message

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