POV-Ray : Newsgroups : povray.general : recursively defined objects and memory : Re: recursively defined objects and memory Server Time
29 Jul 2024 02:34:47 EDT (-0400)
  Re: recursively defined objects and memory  
From: clipka
Date: 13 Aug 2013 21:25:03
Message: <520adc6f@news.povray.org>
Am 14.08.2013 02:46, schrieb Bald Eagle:

> Looks like you've run into the oft-encountered function/macro parse/render
> dichotomy.
>
> As I understand it, and folks can correct me if I'm wrong or mis-state this,
> functions are evaluated ONCE - at parse time.  So if you want something that
> gets updated during RENDERING, then you need to call the function with a MACRO.

Um... no, not at all.

- Macros are /always/ evaluated during parsing.

- Functions may be evaluated either during parsing or during rendering, 
depending on the context in which they are used.


Post a reply to this message

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