Logo by bib - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. November 20, 2025, 04:21:09 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: wanted: Interior potential function for Mandelbulbs  (Read 1809 times)
0 Members and 1 Guest are viewing this topic.
cbuchner1
Fractal Phenom
******
Posts: 443


« on: November 22, 2009, 04:07:48 PM »

Hi,

I've found Buddhi's "walnut shell" render quite interesting. He noted that ray traversal for the inside of the Mandelbulb was very slow because it hit the maximum interation count.

This makes me wonder. Once you know you're inside, is there a potential function similar to the Hubbard-Douady potential, so that you can more quickly iterate towards the surface of the mandelbulb? This would come handy for ray tracing of refractive rays (traversing through the material), as well as looking at the bulb surface from the inside.

So if anyone has the guts to find the potential function for the interior of a Mandelbulb, please step forward. Your reward will be raytraced mandelbulbs made of glass.

Christian
Logged
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #1 on: November 22, 2009, 04:25:48 PM »

Yes you can do it - you basically need a sophisticated convergent bailout method, it's *much* more complicated than "outside" because you have to detect not only point convergence but also convergence to periodic attractors.
I have done code for Ultra Fractal that does this for complex formulas, in the UF formula database see the "Multi Bailout Switch Formula" in mmf5.ufm:

http://formulas.ultrafractal.com/

Of course if you have UF5 just select the formula then go to edit it - if you don't have UF5 then simply go to the above link, browse the collection, find my formulas and download mmf5.ufm - they're just text files with a different extension.

When I get time I'm going to impliment "inside" bailout and delta DE (and maybe analytical DE) in my own 3D formula.

Of course if the Mandelbulbs are not as well-behaved as the complex Mandelbrot (e.g. they have areas of strange attractors) then that method may not work too well and something even more sophisticated would be required - maybe involving Lyapunov exponents ?
« Last Edit: November 23, 2009, 01:16:13 AM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #2 on: November 23, 2009, 01:05:30 AM »

I should mention that there are issues using the inside convergence for DE - the red area in the image below is still "inside" even though the coloured convergent areas are bailing out as "outside" and the black is the normal "outside" and the image uses a maxiter of 400, but extra iterations are performed for detecting periodic convergence - up to 2000 max in this case smiley
In other words making the boundary of detected convergent areas and detected divergent areas approach within close bounds can require large iteration counts.
The higher the period of the periodic attractor in a given convergent area then the more iterations required for detection.

In the example convergent bailout (point and periodic) was 1e-9 and divergent was 65536. The image took 11 seconds on this system - as compared to 1.35 secs with the same parameters but without the convergent testing/colouring (i.e. just colouring the normal "inside" as solid after max iterations without any testing for convergence during iteration).

Note that the actual colouring of the detected convergent areas is atan(smooth iteration).



In this case the maximum period tested for was 100, testing for fewer periods would speed things up but leave more circles/bulbs still as "inside".
More importantly any Julias from within the main cardioid have period 1 i.e. are point attractors so detection of convergence for those is much simpler - in fact detection is much simpler for any complex Julia since the convergent areas of complex Julias have a fixed period which means the algorithm can be (and is optionally) vastly optimised for specific period testing on Julia Sets - the fastest option of all being if the specific values in a given attractor are known and can be directly tested against.

« Last Edit: November 23, 2009, 01:18:39 AM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
New Fujitsu Supercomputer Has 23 Petaflop Potential Non-Fractal related Chit-Chat ker2x 4 1936 Last post November 10, 2011, 11:46:06 PM
by Aexion
Iso potential surfaces Fragmentarium Feline 10 3777 Last post August 28, 2012, 09:20:25 PM
by Syntopia
quantum mechanics of fractal potential wells. (new) Theories & Research kram1032 3 1854 Last post November 11, 2012, 10:44:06 PM
by kram1032
Embrace The Potential Of Your Inner Light Mandelbulb3D Gallery CO99A5 1 875 Last post January 02, 2014, 02:10:41 AM
by cKleinhuis
Interior in green Mandelbulb3D Gallery Laojim 0 1872 Last post April 27, 2015, 09:11:29 AM
by Laojim

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.329 seconds with 26 queries. (Pretty URLs adds 0.009s, 2q)