POV-Ray : Newsgroups : povray.beta-test : Functions more than 65535 : Re: Functions more than 65535 Server Time
29 Jul 2024 12:21:41 EDT (-0400)
  Re: Functions more than 65535  
From: Christoph Hormann
Date: 12 May 2002 14:54:19
Message: <3CDEBA5B.A6AA7104@gmx.de>
Thorsten Froehlich wrote:
> 
> > BTW, in the list of limits in docs section 6.1.6.2 am missing something
> > about the limit of nesting functions, i quite frequently get the error:
> > 'Maximum function evaluation recursion level reached.'
> 
> It is 128.


User-Defined Float Functions':

Limits: 

- The maximum recursion depth for nesting functions is 128. 

> 
> What the hell are you doing with such complex function? ;-)
> 

Oh come on, povers are commonly not known for their temperance...  

Constructions like the following are very useful, but regularly exceed
this limit.

#while (...)  

  ...
  
  #local fn_new1 = function { fn_1(x, y, z) + fn_foo(x, y, z)
}              
  #undef fn_1                    
  #local fn_1 = function { fn_new1(x, y, z) } 
  #undef fn_new1 

  ...

#end


Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 05 May. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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