 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Why do I get the error 'Too many nested objects'? I've got 4000 simple
objects generated in a while-loop. (MegaPOV 0.7)
sig
--
ICQ 74734588
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Sigmund Kyrre Aas wrote:
>
> Why do I get the error 'Too many nested objects'? I've got 4000 simple
> objects generated in a while-loop. (MegaPOV 0.7)
>
Without seeing the code, my first guess would be that you forgot the closing
bracket in the object (assuming the object is a CSG of sorts).
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Sigmund Kyrre Aas <as### [at] stud ntnu no> wrote:
: Why do I get the error 'Too many nested objects'? I've got 4000 simple
: objects generated in a while-loop. (MegaPOV 0.7)
You ask a question and then answer it? ;)
Without seeing the code is hard to say anything.
--
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sat, 10 Mar 2001 23:19:08 +0200, Sigmund Kyrre Aas
<as### [at] stud ntnu no> wrote:
>Why do I get the error 'Too many nested objects'? I've got 4000 simple
>objects generated in a while-loop. (MegaPOV 0.7)
Maybe you have your 'union' statement within the while loop?
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sun, 11 Mar 2001 05:17:00 +0200, Peter Popov <pet### [at] vip bg> wrote:
>Maybe you have your 'union' statement within the while loop?
Nope, no csg. The syntax is as follows:
while
while
while
$d=d+(.8+.2*rand(R3))*.03;
sphere {d/2 Pos}
$Pos = newpos(d,Pos)
end
end
end
The scene parses successfully if I replace line 4 with for instance
$d=(.8+.2*rand(R3))*.03;
Limitation or bug? I don't know, but the syntax above turned out to be
wrong.. it should be
while
$d=d+(.8+.2*rand(R3))*.03;
while
while
sphere {d/2 Pos}
$Pos = newpos(d,Pos)
end
end
end
which works! :)
--
ICQ 74734588
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |