POV-Ray : Newsgroups : povray.advanced-users : too many nested objects Server Time
26 Nov 2024 04:53:26 EST (-0500)
  too many nested objects (Message 1 to 5 of 5)  
From: Sigmund Kyrre Aas
Subject: too many nested objects
Date: 10 Mar 2001 17:17:19
Message: <gf6lat0hloau30o2s0jcpob7ni47arna6s@4ax.com>
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

From: Margus Ramst
Subject: Re: too many nested objects
Date: 10 Mar 2001 18:37:32
Message: <3AAABBCA.724FB2A1@peak.edu.ee>
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] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg
Home page http://www.hot.ee/margusrt


Post a reply to this message

From: Warp
Subject: Re: too many nested objects
Date: 10 Mar 2001 18:48:41
Message: <3aaabd58@news.povray.org>
Sigmund Kyrre Aas <as### [at] studntnuno> 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

From: Peter Popov
Subject: Re: too many nested objects
Date: 10 Mar 2001 22:16:01
Message: <hgrlatgmqkedevi6lqk1btd0hssaeij238@4ax.com>
On Sat, 10 Mar 2001 23:19:08 +0200, Sigmund Kyrre Aas
<as### [at] studntnuno> 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] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Sigmund Kyrre Aas
Subject: Re: too many nested objects
Date: 11 Mar 2001 15:12:03
Message: <cjinatghbcig58ajts1ciocrapqo41rd2g@4ax.com>
On Sun, 11 Mar 2001 05:17:00 +0200, Peter Popov <pet### [at] vipbg> 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

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