Logo by AGUS - 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. March 28, 2024, 01:16:50 PM


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 2 [3]   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: Mandelbulber v2 - 2.03  (Read 7643 times)
0 Members and 1 Guest are viewing this topic.
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #30 on: March 04, 2015, 09:33:20 PM »

Can you add a combobox?
If you can... you are done wink
Choice 0: no abs
Choice 1: cx + abs x
2: abs (x+cx)
3: fold(x,cx)
Fold is the last transform in my source code smiley
Luca
Ps
You should implement this in the general power mandelbulb
Higher powers should be great!
Logged

No sweat, guardian of wisdom!
youhn
Fractal Molossus
**
Posts: 696


Shapes only exists in our heads.


« Reply #31 on: March 04, 2015, 10:17:45 PM »

Still learning the inner workings of Mandelbulber from master Buddhi. Might be an idea to implement some general routines that can be used in any fractal calculation. For example placing mirrors for reflection ( see http://www.fractalforums.com/new-theories-and-research/mirror/ ). First have to understand the KIFS code, since I believe the mirrors are in there somewhere.

Adding comboboxes to all escape time 3D fractals would definitely add to the possibilities. We need more!  grin
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #32 on: March 04, 2015, 11:11:38 PM »

Still learning the inner workings of Mandelbulber from master Buddhi. Might be an idea to implement some general routines that can be used in any fractal calculation. For example placing mirrors for reflection ( see http://www.fractalforums.com/new-theories-and-research/mirror/ ). First have to understand the KIFS code, since I believe the mirrors are in there somewhere.

Adding comboboxes to all escape time 3D fractals would definitely add to the possibilities. We need more!  grin
It maybe an idea but don't mess up the interface too much wink
Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #33 on: March 04, 2015, 11:14:48 PM »

To do a normal mirror, btw, do this;
1 rotate3d(x,y,z)
2 x = a-b+abs(x+b) where a and b are user defined
3 unrotate3d(x,y,z)
Unrotate is the transposed rotate matrix you used at first.
In reality you need 2 angles of rotation not both 3
« Last Edit: March 04, 2015, 11:16:39 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #34 on: March 05, 2015, 02:10:10 AM »

yes youhn the checkbox interface is what is needed

Here are some other variants to consider for each formula:

be able to enter individual C constant multipliers ie c.x c.y c.z

Checkboxes for the inclusion of multiple instances of box fold, spherical fold and rotation and scaling for each formula and be  able to place them in different positions within the iteration loop.(3D and  4D?) (these 3D translations can be used on 4D formulas)

Be able to enter separate  alpha beta gamma for each instance of 3D rotation included

each axis in box fold can have individual upper and lower foldingLimits and upper and lower foldingValues (12 parameters to vary)

at then there is the enable rotation of individual positive and negative planes in Buddhi's mandelbox (SLOW)

hybrids made from various formula varients will be incredibly easy.

I guess consideration of implementing any of the above is dependent on how useful the variant would be.

Alternatively Mandelbulber could just add an "include a c++ custom formula" feature, like the one used for openCL, with initial_conditions and iteration files and people like me can have a lot of frustration and fun learning stuff.

Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #35 on: March 06, 2015, 06:28:05 PM »

I am VERY sorry, I wrote the wrong formula!!! sad This is the correct one;

Code:
double  AddCCondit(double  &xx, double  &cc, integer j)
{
     integer jj = j and 3;
     if (jj == 0) return (xx+cc);
     else if (jj == 1) return (fabs(xx)+cc);
     else if (jj == 2) return (fabs(xx+cc));
     else return (-xx+fabs(xx+cc)-fabs(xx-cc)); // NOT fabs(xx) but -xx
}

void BuffaloIteration(CVector3 &z)
{
     double x2 = z.x * z.x;
     double y2 = z.y * z.y;
     double z2 = z.z * z.z;
     double temp = 1.0 - z2 / (x2 + y2);
     double newx = (x2 - y2) * temp;
     double newy = 2.0 * z.x * z.y * temp;
     double newz = -2.0 * z.z * sqrt(x2 + y2);
    
     z.x = AddCCondit(newx, c.x, j); shr (j,2);
     z.y = AddCCondit(newy, c.y, j); shr (j,2);
     z.z = AddCCondit(newz, c.z, j);
}

The correct fold(x,c) shows beautiful forms, will post if someone asks

Mandelbrot set: http://www.fractalforums.com/index.php?action=gallery;sa=view;id=17133
« Last Edit: March 06, 2015, 07:32:47 PM by DarkBeam » Logged

No sweat, guardian of wisdom!
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #36 on: April 18, 2015, 04:05:35 AM »

@ Buddhi, for the wish list
- Be able to attach lights to primitive group, such that they can move with the group
- Be able to save primitive group, and then import into another fractal image



* space rocket.jpg (231.58 KB, 1200x900 - viewed 360 times.)
Logged
zebastian
Conqueror
*******
Posts: 121



« Reply #37 on: April 19, 2015, 11:20:39 AM »

@ Buddhi, for the wish list
- Be able to attach lights to primitive group, such that they can move with the group
- Be able to save primitive group, and then import into another fractal image
Your rocket looks good, I did not think it was rendered with mandelbulber on first sight. grin
Grouping is a good idea.
Maybe we can think about an importer for OBJ files, so you can model complex forms in Blender or some other 3d Modeling software.
Really handy modeling functionality is obviously a complex theme, so I guess we are probably better off keeping this in an external program.
Though performance and detail will be lost, if simple spheres, cones, ... get polygonized.
Logged
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #38 on: April 19, 2015, 10:20:08 PM »

Importing .OBJ would be cool. For now Im happy with the 1950's sci-fi look (life was so much simpler then grin)
Logged
Pages: 1 2 [3]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulber 0.80 Mandelbulber Buddhi 5 7962 Last post June 27, 2010, 05:30:54 PM
by knighty
Mandelbulber 0.85 Mandelbulber Buddhi 6 4596 Last post July 25, 2010, 10:00:13 PM
by kram1032
Mandelbulber 0.93 Mandelbulber Buddhi 12 6077 Last post October 17, 2010, 03:19:15 PM
by Buddhi
mandelbulber Help & Support ramblerette 1 971 Last post October 18, 2010, 02:56:02 PM
by ramblerette
Mandelbulber 0.94 Mandelbulber « 1 2 » Buddhi 15 10177 Last post October 24, 2010, 09:36:01 AM
by Buddhi

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