POV-Ray : Newsgroups : povray.binaries.scene-files : Why can I only render this at recursion_level <= 8 ? Server Time
7 May 2024 15:45:54 EDT (-0400)
  Why can I only render this at recursion_level <= 8 ? (Message 1 to 5 of 5)  
From: Lo van den Berg
Subject: Why can I only render this at recursion_level <= 8 ?
Date: 22 Jan 1998 02:58:47
Message: <34c709eb.0@news.povray.org>
Hi,

I have a simple pythagoras tree. As you all know this is made using
recursion. I have one problem with it : the recursion level cannot be higher
than 8.

Is there something that I missed?

Lo van den Berg
lvd### [at] baannl


Post a reply to this message


Attachments:
Download 'Boom.inc.txt' (1 KB) Download 'Boom.pov.txt' (2 KB)

From: Scott Hill
Subject: Re: Why can I only render this at recursion_level <= 8 ?
Date: 22 Jan 1970 13:23:53
Message: <01bd273c$429d5490$8c00a8c0@shindo>
Lo van den Berg <lvd### [at] baannl> wrote in article
<34c709eb.0@news.povray.org>...
> Hi,
> 
> I have a simple pythagoras tree. As you all know this is made using
> recursion. I have one problem with it : the recursion level cannot be
higher
> than 8.
> 
> Is there something that I missed?
> 
> Lo van den Berg
> lvd### [at] baannl
> 

	You're not running out of memory are you ? All that recursive #include-ing
of files is going to eat up memory fast! Do you get any errors during
parsing ? Think about how many copies of the file and all the objects your
going to be creating - from looking at the code it looks like in each
recursion you produce two more copies of everything, so you start with 1,
then you have 3, then 7, then 15, and so on until at level 8 you've got 255
copies, even if the file and objects only take up 100k per level that's
25500k or 24Mb!

-- 
Scott Hill
Sco### [at] DDLinkscouk
Software Engineer (and all round nice guy)

"The best trick the devil ever pulled was convincing people he didn't
exist..."
								- Verbal Kent.

"the Internet is here so we can waste time talking about nothing in 
 particular when we should be working" - Marcus Hill.


Post a reply to this message

From: Michael Smith
Subject: Re: Why can I only render this at recursion_level <= 8 ?
Date: 23 Jan 1998 04:45:48
Message: <34C866CC.5E0E@labyrinth.net.au>
Lo van den Berg wrote:
> 
> Hi,
> 
> I have a simple pythagoras tree. As you all know this is made using
> recursion. I have one problem with it : the recursion level cannot be higher
> than 8.
> 
> Is there something that I missed?
> 
> Lo van den Berg
> lvd### [at] baannl

No time right now to check your code, but if its recursively calling
include files, there is a limitation to the depth that POVray supports
#including things. Check the docs. Presumably this is the problem, and
it is limited to 8. Thus, either find another way to make your thing, or
give the sources a bit of a hack, and compile your own version.

Michael Smith


Post a reply to this message

From: Tristan Wibberley
Subject: Re: Why can I only render this at recursion_level <= 8 ?
Date: 9 Feb 1970 13:43:12
Message: <01bd3581$da62c000$181657a8@W_tristan.gb.tandem.com>
Hi,

It is limited to 10 according to the docs, but I had a similar problem,
then I noticed that my recusive include file was included within an include
within an include (or something like that ;-).

I had the problem with some code I am working on to define a *VERY*
realistic fire (especially good as an animation - not so as a still but I'm
working on it)

-- 
Tristan Wibberley

(Remove the '.NO_LUNCHEON_MEAT' from my
email address to reply.)

Michael Smith <msm### [at] labyrinthnetau> wrote in article
<34C### [at] labyrinthnetau>...
| Lo van den Berg wrote:
| > 
| > Hi,
| > 
| > I have a simple pythagoras tree. As you all know this is made using
| > recursion. I have one problem with it : the recursion level cannot be
higher
| > than 8.
| > 
| > Is there something that I missed?
| > 
| > Lo van den Berg
| > lvd### [at] baannl
| 
| No time right now to check your code, but if its recursively calling
| include files, there is a limitation to the depth that POVray supports
| #including things. Check the docs. Presumably this is the problem, and
| it is limited to 8. Thus, either find another way to make your thing, or
| give the sources a bit of a hack, and compile your own version.
| 
| Michael Smith
|


Post a reply to this message

From: Timewarp
Subject: Re: Why can I only render this at recursion_level <= 8 ?
Date: 12 Feb 1998 02:23:18
Message: <34E2A366.DFF80D60@akfast.net>
Lo van den Berg wrote:

> Hi,
>
> I have a simple pythagoras tree. As you all know this is made using
> recursion. I have one problem with it : the recursion level cannot be higher
> than 8.
>
> Is there something that I missed?
>
> Lo van den Berg
> lvd### [at] baannl
>

  Try a file called "trees" at the Pile. It will do real recursion in Pov, unless I
read itwrong.

http://user.baden-online.de/~mbachman/pile/pile_eng.htm

              Timewarp............................
              WOW! What a strange warp!


Post a reply to this message

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