3D Mandelbrot/Julia

matmat's icon

Hi, i would start this topic with this question...
Now with jit.gen is it possible to create some 3D Mandelbrot or Julia shapes ?
There is a lot of ressources on the net but i don't know how to start.... jit.gen or jit.gl.pix ?
it could be a good challenge to make an example with jit.gen !
I know we have to make a loop in jit.gen for that, but may be there is a solution ?

thanks
mat

Wesley Smith's icon

I think you'll like Fragmentarium (http://syntopia.github.com/Fragmentarium/) if you haven't already come across it. Doing this kind of thing requires tracing out rays, which in turn requires a for/while loop. Gen doesn't have this construct as of 6.0.4. We're working on it for a future version at which point you can expect to see some examples like this.

Fragmentarium is built on top of GLSL, so you may be able to grab the GLSL code from that application and plop it in a jit.gl.slab. I haven't actually used Fragmentarium, so I can't say how easy it is to get at the GLSL code.

matmat's icon
Max Patch
Copy patch and select New From Clipboard in Max.

wow, a max implementation of Fragmentarium could be really cool !
.........
Here a funny patch, gen power !

Wesley Smith's icon

beautiful! I dig the shape warping.