POV-Ray : Newsgroups : povray.animations : Recursive functions with macros : Re: Recursive functions with macros Server Time
29 Apr 2024 02:37:21 EDT (-0400)
  Re: Recursive functions with macros  
From: Warp
Date: 7 Oct 2008 18:28:07
Message: <48ebe277@news.povray.org>
peter <den### [at] webde> wrote:
> I am trying to create a "sirpinski-sponge" by using a macro in a recursion. The
> macro "sirpinski" calls itself with different parameters. But I end up getting
> screwed up pictures or an error message:

> Parse Error: Too many nested symbol tables

  There's a limit how many times a macro can be called recursively. This
limit is relatively small.

  Unfortunately the only solution to this is to try to create the object
iteratively (ie. with #while loops).

-- 
                                                          - Warp


Post a reply to this message

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