

I would really like to see this. As far as I know, it is not possible.
Here is some sample code demonstrating a very simple Mandelbrot using the
'mandel' pattern:
camera{orthographic location <0.5,0,1.5> look_at <0.5,0,0> angle 90}
plane{z,0 pigment{mandel 100} finish{ambient 1}}
Here is my weak attempt to create a Mandelbrot set using userdefined functions:
camera{orthographic location <0.5,0,1.5> look_at <0.5,0,0> angle 90}
#declare norm=function(x,y) {x*x+y*y};
#declare fx=function(x,y) {x*xy*y};
#declare fy=function(x,y) {2*x*y};
#declare Mandelbrot=function(x,y)
{norm(fx(fx(x,y)+x,fy(x,y)+y)+x,fy(fx(x,y)+x,fy(x,y)+y)+y)};
plane{z,0 pigment{function{Mandelbrot(x,y)}} finish{ambient 1}}
I am using PovRay 3.6.1
If indeed it is possible to render Mandelbrot sets in POVRay as userdefined
functions, then it should also be possible to render Mandelbulbtype fractals as
isosurfaces in POVRay.
I really like Mircode's idea of implementing a method to call DLLs/SOs as user
defined functions. This would open the door for users to explore all kinds of
amazing isosurfaces.
Does anyone know if MegaPov supports anything like this?
Post a reply to this message

