buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
893 stars 116 forks source link

Refreshing animation table after changing a formula #939

Open mclarekin opened 1 year ago

mclarekin commented 1 year ago

Investigate feasibility of more refresh options for animation table

after constructing animation if user decides to swap a slot. Formula swaps to new slot id including variable parameters in table, refresh

There are other situations in hybrid and booleans modes that are a bit more involved

Hybrid mode, change formula in slot, refresh formula id for slot, remove all previous parameters from table linked to that slot

Booleans mode, change formula in slot, refresh formula id for slot, remove all previous parameters from table linked to that slot but with option to keep movement parameters

I have not really thought deeply about this , just a record of thoughts based on discussion with Michael Benson

TasMania17 commented 1 year ago

The way I understand this is keyframing takes place at varying points within a particular fractal. Once a slot is changed or if powers of a variable are changed then the fractal becomes a different fractal. Keyframing then has to happen between different fractals with incremental changes going from one to another. This results in an abrupt jump from one fractal to a different fractal.

I suspect that the mathematics to achieve keyframing between fractals would be huge. I discussed this with another MDBB animator who recommended overlapping two fractals in a video editor and fading from to the another.