Logo by Fiery - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. March 28, 2024, 11:26:58 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   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: the interpolations in mandelbulb3d  (Read 9750 times)
0 Members and 2 Guests are viewing this topic.
kimli
Forums Newbie
*
Posts: 3


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

Hello grin
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
Global Moderator
Fractal Senior
******
Posts: 3181



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

Hello grin
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.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
blob
Strange Attractor
***
Posts: 272



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

Of course you can morph between two formulas using interpolation and animation sockratease.  wink
Logged
Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



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

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

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.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
blob
Strange Attractor
***
Posts: 272



« 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 non-zero for formula two and keyframe two having weight zero for formula two and weight non-zero for formula one or vice-versa.

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
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« 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
Global Moderator
Fractal Senior
******
Posts: 3181



« 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 non-zero for formula two and keyframe two having weight zero for formula two and weight non-zero for formula one or vice-versa.

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.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« 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
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« 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
Global Moderator
Fractal Senior
******
Posts: 3181



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

Blimey!   Elvis Presley

It Works!   clown



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.   sweet music

* murph.m3a (156.51 KB - downloaded 343 times.)
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


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

as i said wink
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
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« 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
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« 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

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulb3D for Win v1.0 Mandelbulb 3d « 1 2 » Jesse 17 11912 Last post March 08, 2010, 12:21:32 PM
by visual.bermarte
M like Mandelbulb3D Mandelbulb3D Gallery bib 0 1841 Last post December 26, 2010, 11:54:24 PM
by bib
mandelbulb3d feature request Mandelbulb 3d richardphotos 3 2521 Last post February 08, 2011, 08:53:22 AM
by DarkBeam
mandelbulb3d v1.76 Releases « 1 2 » Jesse 16 9039 Last post January 12, 2012, 05:55:40 PM
by Rathinagiri
Interpolations in Buddhabrot General Discussion woronoi 4 3662 Last post November 07, 2016, 09:40:52 AM
by woronoi

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.226 seconds with 25 queries. (Pretty URLs adds 0.01s, 2q)