Logo by kr0mat1k - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 19, 2024, 07:56:06 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: Another boring Mandelbulb flight  (Read 1471 times)
Description: Power 8 Mandelbulb set with variable iterations
0 Members and 1 Guest are viewing this topic.
trafassel
Fractal Bachius
*
Posts: 531


trafassel
« on: March 10, 2010, 10:12:44 PM »

A flight over the Mandelbulb set with low and high iterations.

<a href="http://www.youtube.com/v/vq1b5p50d5k&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/vq1b5p50d5k&rel=1&fs=1&hd=1</a>
Logged
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #1 on: March 11, 2010, 08:52:27 AM »

How can a Mandelbulb fligt ever be boring?  afro

Very nice Trafassel, iterations from 0 to ...how many?

AND I really would like to know wich mandelbulb formula you use for this rendering?
Logged

trafassel
Fractal Bachius
*
Posts: 531


trafassel
« Reply #2 on: March 14, 2010, 11:14:39 PM »

The iteration range is from 2 to 30.

I use the following implementation of the Daniel White formula for the power 8 Mandelbulb:


        public override void Init() {
           base.Init();
           gr1=GetDouble("Formula.Static.Cycles");
           int tempGr=(int)gr1;
           gr1=gr1- tempGr;
           gr1=1-gr1;
           gr1*=2.4;
        }

        double gr1=0;

        public override long InSet(double ar, double ai, double aj,  double br, double bi, double bj, double bk, long zkl, bool invers) {
            double aar, aai, aaj;
            long tw;
            int n;
            int pow = 8;
            double gr =Math.Pow(10,gr1)+1.0;  // bailout value
            double theta, phi;
            double r_n = 0;
            aar = ar * ar; aai = ai * ai; aaj = aj * aj;
            tw = 0L;
            double r = Math.Sqrt(aar + aai + aaj);

            double phi_pow;
            double theta_pow;
            double sin_theta_pow;
            double rn_sin_theta_pow;

            for (n = 1; n < zkl; n++) {

                theta = Math.Atan2(Math.Sqrt(aar + aai), aj);
                phi = Math.Atan2(ai, ar);
                r_n = Math.Pow(r, pow);

                phi_pow=phi*pow;
                theta_pow=theta*pow;
                sin_theta_pow=Math.Sin(theta_pow);
                rn_sin_theta_pow=r_n* sin_theta_pow;

                ar =  rn_sin_theta_pow * Math.Cos(phi_pow)+br;
                ai = rn_sin_theta_pow * Math.Sin(phi_pow)+bi;
                aj = r_n * Math.Cos(theta_pow)+bj;

                aar = ar * ar; aai = ai * ai; aaj = aj * aj;
                r = Math.Sqrt(aar + aai + aaj);

                if (r > gr) { tw = n; break; }

            }

            if (invers) {
                if (tw == 0)
                    tw = 1;
                else
                    tw = 0;
            }
            return (tw);

        }
Logged
KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #3 on: March 15, 2010, 11:14:40 AM »

Thanks for the formula clearification T!
Logged

trafassel
Fractal Bachius
*
Posts: 531


trafassel
« Reply #4 on: March 16, 2010, 09:07:50 PM »

<a href="http://www.youtube.com/v/nw-B9TVAYvo&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/nw-B9TVAYvo&rel=1&fs=1&hd=1</a>
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulb flight Videos « 1 2 » Snakehand 26 6289 Last post January 13, 2010, 09:52:45 PM
by Buddhi
The lava dome (Mandelbulb flight) Videos Snakehand 7 2215 Last post January 24, 2010, 08:24:15 PM
by Snakehand
Mandelbulb Flight Fractal Movies trafassel 0 4800 Last post May 01, 2010, 09:36:15 AM
by trafassel
boring area of the mandelbrot set :) Fractal Humor ker2x 0 1586 Last post February 01, 2012, 07:43:17 PM
by ker2x
Flight - Mandelbulb 3D - We can be everything Movies Showcase (Rate My Movie) Amsob 5 1079 Last post September 22, 2016, 05:32:18 PM
by LMarkoya

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.177 seconds with 24 queries. (Pretty URLs adds 0.016s, 2q)