kimli
Forums Newbie
Posts: 3


« on: January 20, 2012, 11:59:01 AM » 

Hello I have some question about the interpolations in mandelbulb3d Sometimes when I change some parameters between two keyframes the animation plays the transition sometimes not. What are the parameters that can change by always keeping the interpolation between two fractal. I try to create transitions between two different formulas but I can not thank you !!



Logged




Sockratease


« Reply #1 on: January 20, 2012, 01:11:17 PM » 

Hello I have some question about the interpolations in mandelbulb3d Sometimes when I change some parameters between two keyframes the animation plays the transition sometimes not. What are the parameters that can change by always keeping the interpolation between two fractal. I try to create transitions between two different formulas but I can not thank you !! You wont see results using two different formulas. Animation is done by changing parameters within a single formula (or set of hybridized formulas) but there is no way any fractal generator can animate between 2 entirely different formulas. Hope that helps.



Logged

Life is complex  It has real and imaginary components.



blob
Strange Attractor
Posts: 271


« Reply #2 on: January 20, 2012, 02:27:28 PM » 

Of course you can morph between two formulas using interpolation and animation sockratease.



Logged




Sockratease


« Reply #3 on: January 20, 2012, 03:59:11 PM » 

Of course you can morph between two formulas using interpolation and animation sockratease. Perhaps I misunderstood the question  I meant, for example, morphing from a mandelbox to a mandelbulb. That wont work. Changing parameters on either a box or a bulb will work, and indeed is how we all do things, but that is all with the same formula. Changing from one formula to another, like box to bulb, will never work!



Logged

Life is complex  It has real and imaginary components.



blob
Strange Attractor
Posts: 271


« Reply #4 on: January 20, 2012, 04:18:08 PM » 

Mmmmh I have just been morphing between a mandelbulb and a dodecahedronIFS...
You select interpolate and two formulas and then you can create a morphing animation with keyframe one having weight zero for formula one and weight nonzero for formula two and keyframe two having weight zero for formula two and weight nonzero for formula one or viceversa.
It's not perfect though as there is a too abrupt transition between 99% dodeca/1% bulb and 100% dodeca/0% bulb, which is perhaps related to what the OP speaks about, but other than that it works (obviously) and is pretty cool.


« Last Edit: January 20, 2012, 04:21:13 PM by blob »

Logged




cKleinhuis


« Reply #5 on: January 20, 2012, 05:04:01 PM » 

You wont see results using two different formulas. Animation is done by changing parameters within a single formula (or set of hybridized formulas) but there is no way any fractal generator can animate between 2 entirely different formulas.
Hope that helps.
this is wrong, especially when using interpolated hybrid, a transform from one fractal to the other can be achieved by simply blend between 0 and 1 of the interpolation.... and this is possible within mandelbulb3d



Logged


divide and conquer  iterate and rule  chaos is No random!



Sockratease


« Reply #6 on: January 20, 2012, 10:28:59 PM » 

Mmmmh I have just been morphing between a mandelbulb and a dodecahedronIFS...
You select interpolate and two formulas and then you can create a morphing animation with keyframe one having weight zero for formula one and weight nonzero for formula two and keyframe two having weight zero for formula two and weight nonzero for formula one or viceversa.
It's not perfect though as there is a too abrupt transition between 99% dodeca/1% bulb and 100% dodeca/0% bulb, which is perhaps related to what the OP speaks about, but other than that it works (obviously) and is pretty cool.
I thought the abrupt transitions were unavoidable, and in every case I tried they were so abrupt as to seem like the whole thing was not possible. Always glad to be wrong when thinking something can't be done though! I'll have to try it again and see how it works...



Logged

Life is complex  It has real and imaginary components.



cKleinhuis


« Reply #7 on: January 20, 2012, 10:44:25 PM » 

it does work, but only when interpolating the values ( at best using spherical interpolation of the triplexes ) at each iteration, and the interpolation rule states that
if:
f1 is fractal1 f2 is fractal2 t is the interpolation value 0..1 then (e.g. linear) interpolation with t=0 would result in fractal1 and if t=1 then fractal2 is the result, the interseting stuff happens in between, i have done a ultrafractal5 formula, which allows to blend virtually any fractal with same bailout logik... even a transform of julia to mandelbrot would be possible, i render a test right now...



Logged


divide and conquer  iterate and rule  chaos is No random!



cKleinhuis


« Reply #8 on: January 20, 2012, 10:51:36 PM » 

use the blend parameter of the formula to blend between 2 fractals...
Fractal1 { fractal: title="Fractal1" width=640 height=480 layers=1 credits="ckleinhuix;1/20/2012" layer: caption="Background" opacity=100 mapping: center=0.0875/0.0625 magn=1 formula: maxiter=250 filename="Standard.ufm" entry="GenericFormula" p_formulaClass="ck.ulb:BlendFormula" p_formulaClass.v_generic=100 p_formulaClass.v_formula=100 p_formulaClass.p_power=2/0 p_formulaClass.formulaClass1="Standard.ulb:Standard_Mandelbrot" p_formulaClass.formulaClass1.v_generic=100 p_formulaClass.formulaClass1.v_formula=100 p_formulaClass.formulaClass1.v_divergentformula=100 p_formulaClass.formulaClass1.start=0/0 p_formulaClass.formulaClass1.p_power=2/0 p_formulaClass.formulaClass1.p_bailout=4 p_formulaClass.formulaClass2="Standard.ulb:Standard_Julia" p_formulaClass.formulaClass2.v_generic=100 p_formulaClass.formulaClass2.v_formula=100 p_formulaClass.formulaClass2.v_divergentformula=100 p_formulaClass.formulaClass2.seed=0.20238/0.65476 p_formulaClass.formulaClass2.p_power=2/0 p_formulaClass.formulaClass2.p_bailout=4.0 p_formulaClass.interpolator="ck.ulb:ComplexInterpolator" p_formulaClass.interpolator.v_generic=100 p_formulaClass.blend=0 inside: transfer=none outside: transfer=linear filename="Standard.ucl" entry="Smooth" p_power=2/0 p_bailout=128.0 gradient: smooth=yes rotation=1 index=0 color=6555392 index=64 color=13331232 index=168 color=16777197 index=257 color=43775 index=343 color=512 opacity: smooth=no index=0 opacity=255 }



Logged


divide and conquer  iterate and rule  chaos is No random!



Jesse
Download Section
Fractal Schemer
Posts: 1013


« Reply #9 on: January 20, 2012, 11:19:29 PM » 

The usage of the interpolation hybrid to blend between formulas depends much on those formulas, not every combination works really good. In m3d both formulas uses the interpolated vector as new input, maybe it would give better morphs to just interpolate for bailout check and for DE calculation in the end?
But i could think of even better ways for morphing, like a somehow weighted version of the smooth DE combination. Dunno exactly how this must be implemented, but it would be cool if one fractal would kind of liquifying and morphs into the second one that gets solid... just a thought.



Logged




Sockratease


« Reply #10 on: January 21, 2012, 12:47:53 AM » 

Blimey! It Works! I had to really tweak the keyframes. It seems going all the way to 1 causes a sudden jerky transition no matter how many sub frames you use  but if you keyframe the weights something like {1,0 : 1,1 : 0.1,0.9 : 0.001, 0.999} you can get smoother transitions. So there's a Mandelbulb morphing to a Menger Sponge! One of the sort I would have thought impossible just this morning... I attached the m3a file if anyone wants to see how it's done, despite it being obvious in retrospect. Just goes to show.

murph.m3a (156.51 KB  downloaded 239 times.)


Logged

Life is complex  It has real and imaginary components.



cKleinhuis


« Reply #11 on: January 21, 2012, 01:19:15 AM » 

as i said



Logged


divide and conquer  iterate and rule  chaos is No random!



kimli
Forums Newbie
Posts: 3


« Reply #12 on: January 21, 2012, 03:25:45 PM » 

thank you very much
it can only be interpolated with the formula hybrid "interpolate"? I try to do with "alternate" and I can not, is there a solution?
thank you again



Logged




cKleinhuis


« Reply #13 on: January 21, 2012, 03:52:49 PM » 

when using alternation, you create new formulas, and create new parameters, but you can not go back to the basic formulas, when using interpolation, you can blend between two independent formulas....



Logged


divide and conquer  iterate and rule  chaos is No random!



David Makin


« Reply #14 on: January 21, 2012, 06:23:18 PM » 

when using alternation, you create new formulas, and create new parameters, but you can not go back to the basic formulas, when using interpolation, you can blend between two independent formulas....
Unless you do alternated blending  or even blending across iterations ?



Logged




