Mircode <Mircode> wrote:
> I am very unhappy with the unflexibility of user defined functions. Recursion is
> not allowed, loops can not be implemented, the only way to branch is the select
> function, which is very unhandy and I am not sure whether POV-Ray still
> evaluates all branches and after that selects.
Actually recursive functions are allowed (at least they are in pov3.6).
You can eg. implement the Mandelbrot pattern as a user-defined function
(wihtout using the 'mandel' pattern, naturally). I have done that in the
past as a proof-of-concept.
Post a reply to this message