Lalla
Guest
|
|
« on: August 03, 2012, 04:14:22 PM » |
|
I've found some formulas (maybe... ) useful to implement in mdb 3d... T(x,y)=(x+a,y+b) - traslational simmetry - rotational simmetry Uploaded with ImageShack.us S(x,y)=(-x,y) - reflection simmetry T(x,y)=(x+1,y+2) Uploaded with ImageShack.us - conjugate formula Uploaded with ImageShack.us
|
|
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #1 on: August 03, 2012, 05:50:17 PM » |
|
You clearly don't know what you are asking. They are all possible using existing formulas; translations, rotations, folds. They are already present in Mb, since years. Stop asking what it's already in there. Thanks.
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
Lalla
Guest
|
|
« Reply #2 on: August 03, 2012, 06:29:16 PM » |
|
You clearly don't know what you are asking. They are all possible using existing formulas; translations, rotations, folds. They are already present in Mb, since years. Stop asking what it's already in there. Thanks.
Ok, sorry...I don't know this...thank to explain me...
|
|
|
Logged
|
|
|
|
Kali
|
|
« Reply #3 on: August 04, 2012, 10:25:43 AM » |
|
You clearly don't know what you are asking. They are all possible using existing formulas; translations, rotations, folds. They are already present in Mb, since years. Stop asking what it's already in there. Thanks.
That was a bit rude... having a bad day, Luca?
|
|
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #4 on: August 04, 2012, 10:49:07 AM » |
|
Probably a low-newbie-tolerance day...
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
|
cKleinhuis
|
|
« Reply #6 on: August 06, 2012, 10:22:57 AM » |
|
behave!, seems to be settled!
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
taurus
|
|
« Reply #7 on: August 06, 2012, 09:16:34 PM » |
|
dunno if darkbeam will still listen to me after my latest verbal attack, but i will give it a try. i kearned lately, that m3d and mandelbulber have different implementations of plane rotation ( _Rotate ). this makes negscale rotboxes completely incompatible and different looking in theese two programs (not only with identical values) and causes m3d rotboxes look much more dense and less subtle, than in bulber. so i suggest to implement an additional marczak (buddhi) like rotation, to make some rotboxes comparable and/or portable. i can't say much about background, but as far as i can tell the mandelbox script of fragmentarium rotates like mandelbulber, as my mandelbulber rotboxes look very similar to those in fragmentarium, at least in lower (single precision) zooms. i'd be very pleased, if you can make that and it would bring a whole new fractal-type to m3d (trust me, it is that different!)
|
|
|
Logged
|
when life offers you a lemon, get yourself some salt and tequila!
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #8 on: August 07, 2012, 04:19:19 PM » |
|
For Asdam, I looked at your formula, it brings some discontinuity - remove that and I will think of an implementation (not do, just think! ) Taurus; Please report the code of Buddhi related to rotation here, so I can do a comparation. By the way, rotation is made using a matrix currently (precalculated, so can't do big manipulations), so I don't think it can be a lot different? Ever tried with _RotateBack that goes in the opposite sense? dunno if darkbeam will still listen to me after my latest verbal attack; what attack
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
taurus
|
|
« Reply #9 on: August 07, 2012, 11:02:13 PM » |
|
what attack
|
|
|
Logged
|
when life offers you a lemon, get yourself some salt and tequila!
|
|
|
taurus
|
|
« Reply #10 on: August 09, 2012, 02:57:07 PM » |
|
i'd be very pleased, if you can make that and it would bring a whole new fractal-type to m3d (trust me, it is that different!) for the sake of completeness i have to admit, that this claim is wrong, because of a silly mistake i made while porting. they are different, but not that different. i still can't say how the differences are at deeper zooms (not so easy to go to the same spot in two different programs), but in larger scales they are similar.
|
|
|
Logged
|
when life offers you a lemon, get yourself some salt and tequila!
|
|
|
Alef
|
|
« Reply #11 on: August 09, 2012, 04:51:34 PM » |
|
For Asdam, I looked at your formula, it brings some discontinuity - remove that and I will think of an implementation (not do, just think! ) I 'm thinking, that modificated spherefold at certain values could create discontinuaties (mess). Abox is conditional formulas, but are pretty smooth, but alsou depends on bailoy value.
|
|
|
Logged
|
fractal catalisator
|
|
|
Alef
|
|
« Reply #12 on: August 10, 2012, 04:31:59 PM » |
|
For Asdam, I looked at your formula, it brings some discontinuity - remove that and I will think of an implementation (not do, just think! ) Here I changed spherefold to different one, so now it is much less chaotic in messy areas. With abs function I kept possibility of negative scale Min radius. (Just noticed, formula can work without any spherefold, like when min radius =0) I think, even smoother would get boring;) This were pretty raytracing resolution stable, moreso than my abox implementation;), but spherefold radius < 1 created mess in some areas. Baguabox (quaternion) {
// Mandelbox alternative. // Based on work of TGlad, Traffasel, Kali, M Benesi and LucaGen. // By Edgar Malinovsky 25.07.2012. // You may redistribute this algorithm, modify, derivate or use comercialy as you wish as long as you atribute proper credits. // 10.08.2012 + smoother spherefold.
parameter real bailout; parameter quaternion julia; quaternion C; real zx, zy, zz, temp, modulus, radius; parameter real add, Min_R, Scale, lenght; parameter int settype;
void init(void) { if (settype=="Julia Set") { z = pixel; C = julia; } else { z= 0; C= pixel; }
}
void loop(void) { zx=real(z); zy=imag(z); zz=part_j(z);
//Folding by pow 8 modulus having unit circle shaped as octagon pillow. modulus =((zx)^8 + (zy)^8+ (zz)^8)^0.125 ;
if (modulus != 0) { if (zx > lenght) { zx=-zx/modulus -add; } else if (zx < -lenght) { zx=-zx/modulus +add; }
if (zy > lenght) { zy=-zy/modulus -add; } else if (zy < -lenght) { zy=-zy/modulus +add; } if (zz > lenght) { zz=-zz/modulus -add; } else if (zz < -lenght) { zz=-zz/modulus +add; } }
//spherefold. Similar to TGlads original, but allows negative radius.
radius =sqr(zx) + sqr(zy) + sqr(zz) ;
if (radius < abs(Min_R) ) { temp = Scale/Min_R; } else { temp = Scale; }
//scaling and generating z value.
z = quaternion(zx, zy, zz, 0)* temp + C; } bool bailout(void) { return( |z| < bailout ); } void description(void) { this.title = "Baguabox";
bailout.caption = "Bailout Value"; bailout.default = 15.0; bailout.min = 0.5; bailout.hint = "Larger number increases fractal";
settype.caption = "Set type"; settype.enum = "Mandelbrot Set\nJulia Set"; settype.default = 0; separator.label1.caption = "Shape depends on folding parameters and bailout."; add.caption = "Add value"; add.default = 0.1; lenght.caption = "Lenght"; lenght.default = 2.0; Min_R.caption = "Radius"; Min_R.default = 0.5; Scale.caption = "Scale"; Scale.default = 1.5;
julia.caption = "Julia Parameter"; julia.default = (0.35,-0.35,2.0,0); julia.hint = "4th value is not used"; julia.visible = (settype=="Julia Set");
} } Here is before and after, throught different colours: This was generated using standart abox parameters, lenght =1, scale =2, Min radius=0.5. Now there are no gap. Far outside videscreen got much less mess: I recomend to look on this coz it should be easy to use like abox, have right amount of changable variables (IMHO 4, 5 variables would be golden mean between enought possibilities and not burdening users too much), and is pretty different from abox versions. (Actaualy these were cornerstones for this formula.) And unexpectedly cool julias. But of corse it is time and effor consuming, much more so than basic UF compiler :
|
|
|
Logged
|
fractal catalisator
|
|
|
Alef
|
|
« Reply #13 on: August 10, 2012, 04:40:36 PM » |
|
I kind of like this brot, becouse it have sexy shape at power 2 And with in power 4 it looks like fractal called breeder;) Throught the stretching in higher powers could be becous of algebraic mistakes. Throught of corse it is much less usefull.
|
|
|
Logged
|
fractal catalisator
|
|
|
Alef
|
|
« Reply #14 on: August 15, 2012, 09:26:39 PM » |
|
Example of julia set of baguabox. Very smooth and many surfaces:
|
|
|
Logged
|
fractal catalisator
|
|
|
|