|
|
Tor Olav Kristensen wrote:
> If you would like to see how hyou can build functions with macros,
> then below is a macro that produces a function that is similar to
> your recursive (non-quaternion) Mandelbrot function.
Thank you very much!
All things considered, unless there is a big performance hit for some
reason, I'd prefer to use this method to build the user-defined function
at parse time. The recursive formulation always struck me as an odd way
to iterate, and povray crashing when the function is defined at the
"wrong" time is reason enough not to stick with it.
Besides, if the quaternion road leads somewhere fruitful, trying to
combine all the intermediate expressions by hand would be a nightmare.
With Great Appreciation,
~David Wagner
Post a reply to this message
|
|