Logo by Fractal Ken - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. March 29, 2024, 04:38:51 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]   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 - idea for spline editing  (Read 533 times)
0 Members and 1 Guest are viewing this topic.
eiffie
Guest
« on: February 12, 2013, 05:26:04 PM »

This idea is from the new user mclarekin. Not sure it is at all feasible but I think his idea is interesting. I know in boxplorer there is a way to visualize the camera path for editing - that is the basically what he's asking for...

From mclarekin...

Mandlebulber Feature requests

 USING THE CATMULL-ROM SPLINE

My basic visualization is as follows:
Firstly onto a still single image (like say Kraftworks Infinitely O'Clock @ The Watchmaker's or FonkyBonkers by Ixh), render a "red" line ( the Catmull-Rom Spline) depicting the path of an animation flight in and out and around the features that has been recorded in keyframes.

 I can now visually see the whole or parts of the flight path winding it's way through the fractal ( and could possibly be used as a visual tool if i want to modify the path)

 Now this winding path could then be replaced by two parallel lines which are now iron tracks for a rollercoaster or tram, train, etc ("U" shaped trough for taboggin) (large translucent sphere chasing you along the tracks from backwards facing camera, as in Indianna Jones).

 Then I would want to render my animation again showing these tracks existing in the same 3D space as the fractal.

 Further I could create a new set of key frames, initially following the first path but choosing to deviate at some point along a new flight path, to produce a fork in the path (alternative route(s)), this would look good in a high speed rollercoaster ride through or around a fractal.
 This idea is probably not very original, but as the Catmull-Rom Spline exists it would be fun to have it easily useable within the program and to be able to give it various cross sectional characteristics .

 
Logged
knighty
Fractal Iambus
***
Posts: 819


« Reply #1 on: February 12, 2013, 08:43:02 PM »

Hi eiffie, are you planning to add this feature to mandelbulber? that would be nice.  nasty teeth
Logged
marius
Fractal Lover
**
Posts: 206


« Reply #2 on: February 12, 2013, 09:47:48 PM »

This idea is from the new user mclarekin. Not sure it is at all feasible but I think his idea is interesting. I know in boxplorer there is a way to visualize the camera path for editing - that is the basically what he's asking for...

From mclarekin...

Mandlebulber Feature requests

 USING THE CATMULL-ROM SPLINE

My basic visualization is as follows:
Firstly onto a still single image (like say Kraftworks Infinitely O'Clock @ The Watchmaker's or FonkyBonkers by Ixh), render a "red" line ( the Catmull-Rom Spline) depicting the path of an animation flight in and out and around the features that has been recorded in keyframes.

 I can now visually see the whole or parts of the flight path winding it's way through the fractal ( and could possibly be used as a visual tool if i want to modify the path)

 Now this winding path could then be replaced by two parallel lines which are now iron tracks for a rollercoaster or tram, train, etc ("U" shaped trough for taboggin) (large translucent sphere chasing you along the tracks from backwards facing camera, as in Indianna Jones).

 Then I would want to render my animation again showing these tracks existing in the same 3D space as the fractal.

 Further I could create a new set of key frames, initially following the first path but choosing to deviate at some point along a new flight path, to produce a fork in the path (alternative route(s)), this would look good in a high speed rollercoaster ride through or around a fractal.
 This idea is probably not very original, but as the Catmull-Rom Spline exists it would be fun to have it easily useable within the program and to be able to give it various cross sectional characteristics .

 

http://code.google.com/p/boxplorer2/wiki/ScreenShots shows what that looks like in boxplorer2.

Catmull-Rom gets pretty annoying with sparse keyframes, or deep-dive keyframes. Lots of hard to control overshoot at times. But it does have the nice property of hitting all the keyframes.

With boxplorer2 I use a color coding hack (255 shades of pure blue) to allow for interactive grabbing and dragging of the spline keyframes. All this is only barely fun under interactive frame rates.
Showing the path statically would not require much more than a z-buffer obeying linedraw.
Logged
taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #3 on: February 12, 2013, 09:49:43 PM »

This idea is from the new user mclarekin. Not sure it is at all feasible but I think his idea is interesting. I know in boxplorer there is a way to visualize the camera path for editing - that is the basically what he's asking for...

I know I'm a maniac, but I do something similar since "follow me" last year. As I am a progamming noob, i need to compensate with handcraft.
While my preview is rendering, I open my Keyframes in Notepad++, then copy/paste the camera coordinates to a cubic spline in cinema 4d (multiplied by 100 to get a mantissa of six digits) - free alternatives like hexagon or blender should do as well.
The cubic spline is not exactly like catmull rom, but it's close enough to see possible overshooting and make real smooth accelerations. After finetuning the spline, I re-apply to original keyframe files. Inbetween I tag the spline every 5 points 5, 10, 15 and so on with a number spline to keep track of my projection. You need to stay pretty focused, but with some routine, this works quite fast (guess I make 3 or 4 keys per minute).
There's only one restriction. Might not work with point and click navigation in most camera modes, as this changes the close up zoom. You need to navigate with forward/backward and the wind roses - best with "absolute movement distance". I guess a programmed solution would have the same restriction.
Logged

when life offers you a lemon, get yourself some salt and tequila!
taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #4 on: February 12, 2013, 10:10:46 PM »

this is how my workaround looks grin


* xchange.jpg (71.2 KB, 833x791 - viewed 68 times.)
Logged

when life offers you a lemon, get yourself some salt and tequila!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #5 on: February 12, 2013, 11:34:12 PM »

woot gotta check out boxplorer 2 .... sorry for interrupting
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Apophyster
Conqueror
*******
Posts: 124


« Reply #6 on: February 13, 2013, 07:08:24 AM »

http://code.google.com/p/boxplorer2/wiki/ScreenShots shows what that looks like in boxplorer2.
Catmull-Rom gets pretty annoying with sparse keyframes, or deep-dive keyframes. Lots of hard to control overshoot at times. But it does have the nice property of hitting all the keyframes.

My math is quite weak.  I started learning about splines about 4 years ago though, so I could (try) to make smoother flame animations.
Recently I saw a paper that may be of interest, though I believe it probably won't help much with overshoot:
"A minimum-energy quadratic curve through three points and corresponding cubic Hermite spline" which you can download here:
http://arxiv.org/abs/1010.4615

There are some representative graphs in the presentation as well as pseudocode at the end of the paper.  From that example I was able to work out a routine for my (next, yet unreleased) flame animation script, but I am not so confident that my implementation is correct. 
Logged

Rice, wheat and corn make the world go round.
Love and money are just passengers.
Friendliness is the destination.
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Any idea how this is done? Images Showcase (Rate My Fractal) _db_ 2 1701 Last post February 05, 2008, 02:09:34 AM
by _db_
FRACTAL EDITING Format, Printing & Post Production « 1 2 » Bent-Winged Angel 20 7260 Last post September 03, 2013, 12:30:59 AM
by Sockratease
Mouse editing fun: JWildfire V0.59 release JWildfire thargor6 0 740 Last post December 16, 2012, 01:35:55 AM
by thargor6
FRGMENTARIUM 3DICKULUS - Catmull-Rom spline paths ! camera/parameter keyframes ! Fragmentarium « 1 2 ... 12 13 » 3dickulus 181 33178 Last post April 13, 2017, 02:48:57 AM
by 3dickulus
Fragmentarium spline paths Animations Showcase (Rate My short Animation) 3dickulus 2 1670 Last post August 22, 2013, 08:41:41 AM
by 3dickulus

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.208 seconds with 24 queries. (Pretty URLs adds 0.008s, 2q)