Welcome to Fractal Forums

Fractal Software => Mandelbulber => Topic started by: noscio on February 18, 2015, 09:21:19 AM




Title: Mandelbulber Source Fraktal Generation Part
Post by: noscio on February 18, 2015, 09:21:19 AM
Hi,
i'm sorry about my bad english - I'm German.
I didn't understand the Sourcecode of Mandelbulber and I didn't found the Generation Part.
Can anyone explain me this, please?


Title: Re: Mandelbulber Source Fraktal Generation Part
Post by: cKleinhuis on February 18, 2015, 09:54:27 AM
hi there, lol what do you mean by understanding the sourcecode of mandelbulber?
you mean you dont understand every line of code when downloading it from the repository?
or do you mean you dont understand the raymarching process?
or do you mean how to write own fractal-formulas?

please clarify

wir haben aber auch einen kleinen deutschen teil hier im forum, vielleicht können wir dir dort besser helfen:
http://www.fractalforums.com/deutsch/


Title: Re: Mandelbulber Source Fraktal Generation Part
Post by: noscio on February 18, 2015, 10:05:56 AM
I downloaded the source and I'm not sure, which class generates the fractals.
How are they connected?


Title: Re: Mandelbulber Source Fraktal Generation Part
Post by: cKleinhuis on February 18, 2015, 10:27:51 AM
please forget about analysing the whole sourcecode grasp an idea of what has to be done, search for "raymarching"
the main idea can be found easily round the web, this is an example code of a pixelshader implementation, basically
its the same that mandelbulber uses but with far less settings (like depth of field and such)

but 25 lines of code do the trick:
https://www.shadertoy.com/view/4sBXDh

if you fully do understand the script above, try again looking at the source of mandelbulber, then you know for what to look