Logo by mclarekin - 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. April 25, 2024, 07:45:45 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: Mandelbox tree  (Read 886 times)
0 Members and 1 Guest are viewing this topic.
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« on: March 21, 2012, 07:45:26 PM »

Tried to implement mandelbox formula. IMHO, something went wrong.

And used direct colouring exponent smoothing. At least it is not wrong.
Logged

fractal catalisator
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #1 on: March 21, 2012, 07:50:36 PM »

Is this correct code for mandelbox?
Quote
//boxfold
if (zx > check)
{
zx=Fold - zx;
}
else if (zx < -check)
{
zx=0-Fold-zx;
}

if (zy > check)
{
zy=Fold - zy;
}
else if (zy <-check)
{
zy=0-Fold-zy;
}

if (zy > check)
{
zy=Fold - zy;
}
else if (zy <-check)
{
zy=0-Fold-zy;
}

//spherefold
radius =sqr(zx) + sqr(zy) + sqr(zz);

if (radius < sqr(Min_R) )
{
temp = (Max_R)/sqr(Min_R);
}
else if (radius < (Max_R) && radius !=0)
{
temp = (Max_R)/(radius);
}
else
{
temp = (Max_R);
}

zx = Scale*zx * temp + Cx;
zy = Scale*zy * temp + Cy;
zz = Scale*zz * temp + Cz;

Mandelbulb3D have in description of mandelbox have this code, but it seems not to work. Why?
Quote
/*
zx = abs(zx+Fold) - abs(zx-Fold) -zx;
zy = abs(zy+Fold) - abs(zy-Fold) -zy;
zz = abs(zz+Fold) - abs(zz-Fold) -zz;*/
Logged

fractal catalisator
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #2 on: March 21, 2012, 08:17:13 PM »

have you checked this?
http://sites.google.com/site/mandelbox/

i have implemented it - in 2d in uf, but ... it works ... - and it is a good source for parameters, and the actual code...
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #3 on: March 21, 2012, 09:27:24 PM »

Mandelbulb3D have in description of mandelbox have this code, but it seems not to work. Why?

You have to use fabs, i usually write in pascal and abs is used for floats too.
Logged
fractower
Iterator
*
Posts: 173


« Reply #4 on: March 22, 2012, 04:09:40 AM »

I think the problem is in the final step of the spherical fold

{
temp = (Max_R);
}

should probably be

{
temp = 1.0;
}

Though it would be a shame to fix it.


Logged
eiffie
Guest
« Reply #5 on: March 22, 2012, 04:42:42 PM »

Also you have the box fold on zy twice.
Logged
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #6 on: March 25, 2012, 07:59:59 PM »

Also you have the box fold on zy twice.

Wow. Didn't noticed such eee  embarrass error. Thought it would be something smart. Thanks Eiffie. Spherefold will to be ordinary if Max_R=1. This were intentional modification in some code, throught pretty useless one.
Fabs are same as Ultra Fractal Cabs?

Mandelbox fractals made by this error was pretty nice. So I will keep it as switchable feature;)
« Last Edit: March 25, 2012, 08:59:59 PM by Asdam » Logged

fractal catalisator
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #7 on: March 25, 2012, 08:55:44 PM »

Here are some error mandelboxes.

Julia set, but with some additions. Probably an exponent smoothing created this kaliset pattern.


Mandelbrot set with the same variation.


Mandelbrot set with round function implemented.
Logged

fractal catalisator
Alef
Fractal Supremo
*****
Posts: 1174



WWW
« Reply #8 on: March 31, 2012, 07:38:13 PM »

Another pic gone devious.
Mandelbox / amazingbox + unit vector addition and positive real factor a bitt naturalised hi-tech fractal.


Here is another:


Logged

fractal catalisator
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
The tree Mandelbulb3D Gallery Lee Oliver 0 994 Last post March 25, 2011, 10:53:42 PM
by Lee Oliver
The last tree Mandelbulb3D Gallery stoni 0 954 Last post September 24, 2011, 10:10:12 PM
by stoni
Just a Tree Images Showcase (Rate My Fractal) Kali 1 1450 Last post December 14, 2011, 08:16:03 PM
by Pauldelbrot
Tree Images Showcase (Rate My Fractal) surrealista1 2 1260 Last post November 26, 2014, 06:57:11 AM
by surrealista1
X-Tree Mandelbulb3D Gallery bib 0 630 Last post March 05, 2012, 07:51:30 PM
by bib

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.174 seconds with 27 queries. (Pretty URLs adds 0.007s, 2q)