Deviant Login Shop  Join deviantART for FREE Take the Tour
About Digital Art / Hobbyist Member JeffMale/Canada Recent Activity
Deviant for 6 Years
Needs Premium Membership
Statistics 654 Deviations 1,474 Comments 58,134 Pageviews

Newest Deviations

Random Favourites

Hello dellow feviants.... erm... fellow Deviants (Get out of here Jar Jar! :p)

I was recently asked by a fellow youtuber to make a tutorial on how to make animations in apophysis using the apophymator script.  What follows is copied verbatim, typos and all, from my message to said youtuber. ;)

< copypasta >

You first need to get the apophymator script at drop.io/apophymator
unzip it into your scripts directory.  If you do not have one,  make one.

First thing you'll need to do is to create several "key frames".  These are the frames that the script will morph from one key frame to the next.  When making keyframes,  make sure that they all have the same number of transforms (triangles) or the script most likely will crash.

Usually when I make my videos,  I start with a flame I previously made  that I think will make a good animation.  I work backwords for a few frames (about 4 or 5ish) to tweek my flame to a beginning point - kind of a build up effect then I tweek that original flame several steps forward for the rest of the animation.  Remember to save each frame/flame and I highly recommend that you save to a separate .flame file. Once you have created all of your keyframes,  you will need to resave each flame in the proper sequence so open up the newly created .flame file then click on each flame in the sidebar in the order that they are to be morphed and resave them in order,  use a simple filename like 01, 02, 03, etc...

Now you should be ready to run the apophymator script.  Click the script button, open and locate the apophymator script where you unzipped it then click on run script or hit f9 (be sure to choose the "3DH" script,  the other is for the 2d apophysis).  A new window will open "Animation Criteria".  Follow all of the prompts entering the appropriate values.  
I will briefly outline each step:
1) Leave value at 3 if your frames in the proper order, else choose manual
2)Number of flames to animate: use the default value if you chose 3 in the previous step.
3) This the keyframe interval.  The number of frames between the keyframes to morph.  I usually choose 300 which yields 10 seconds of video at 30 frames per second.  But it's entirely up to you.  Bare in mind that rendering these videos is a time consuming process so obviously longer intervals = longer render times.  It takes my PC (Core2Duo @ 2.8GHz) about 2 days or more to render a 3-4 minute video so choose your interval accordingly.
4) Animation looping: enter 0 for no loop or 1 for looping (Makes the render time DOUBLE as it re-renders each frame in reverse order - if you really need it to loop then just render in no loop,  copy all the files to another directory and re-name the files in reverse order using a bulk file re-name utility.  Irfanview works well for that.
5) I usually choose the render option here,  but feel free to use the other options to better familiarize yourself with the script.
6)  Use the default value of 0 unless you are rendering your animation in chunks instead of all in one pass.
7) Enter a file name to save.  This will create a .flame file with  all of your animated frames.
8)  Entirely up to you.  I always choose 3 in case I want to re-render a hi-res still photo from the animation .flame file.
9) Use 0
10) Use default (don't change)
11) leave at 0
12) This one is a tricky beast - interpolation type.  I usually use 2 or 4 and occasionally 6. Option 4 yields smoother animations with less obvious keyframe transitions but can sometime produce unpredictable results.  I'm not saying the results will be bad  but the animation will be different than option 2 which is a more linear interpolation with no smoothing of the transitions.  Neither one of those is better than the other,  just different.  Option 6 is somewhat of a combination of 2 and 4.  The other 3 options are the same as 2,4 and 6 but without color gradient transitions - colors will change  suddenly as opposed to a smooth transition.

13 and 14)  The width and height of the video to be rendered.  Common values I usually use are 640x480 (4:3 aspect ratio, standard TV resolution), 640x360 (16:9 AR) and 848x480 (16:9 AR again,  but somewhat higher vertical resolution than DVD).  You may also choose to render at 1280x720 or 1920x1080 for HiDef videos - but it may take weeks to render just a few minutes of video;)

15)  Density value.  This will determine how many iterations Apo will calculate and the overall quality.  Too low a value yields grainy pictures.  Typically I use about 300ish,  but you can get away with less if you don't use a lot of blur or noise variations in your flames.  Obviously higher values will yield smoother images but since it's being animated, each image will be onscreen for just 1/30th of a second.  Choose according to your needs.

16) Filter radius. Values less than 1 produce a sharper, more crisp image but with a lot of aliasing (jagged edges or "jaggies") on curves or diagonal lines.  1 or higher smooths these out a bit at the expense of detail.  Your call on this one.

17)  Oversample: I always use no oversample (1).  2 quadruples the time to render and the memory used.  Oversampling will reduce jaggies but again the time to render increases.  Just enter 1 unless you absolutely need to oversample and have a lot of time available for your animation.

18) Filetype: NEVER use BMP.  .PNG yields the same lossless image quality at about half the file size.  Use .JPG if you really care about disk space but be sure to set your jpg quality to 95 in the apophysis settings.

19)If you chose .PNG in the previous step, you will need to enter the transparency option here. Choose 0 (no transparency) if you plan to render a straight animation.  Choose 1 ONLY if you intend to blend your animation with some other background objects with some advanced video editing software.

20) just click OK.  Don't change.

21)  Choose 1 ONLY if you must preview each frame, else leave at 0

22) choose 1 (start rendering). Go play Xbox, mow the lawn,  take a trip to Cuba. :)

That covers the apophymator side of the process.  Now we need to assemble the frames into a video file.

For the purpose of this tutorial,  I will be using VIRTUALDUB as it is the easiest way to assemble to video.  Google it, download it, install it.  Now open it (virtualdub.exe). (NOTE:  you may need to install some codecs on your PC if you do not have them like xvid, divx or x264/h264 - get a codec pack like k-lite codec pack if you do not already have the codecs)

In virtualdub, click FILE then OPEN, in the FILES OF TYPE dropdown, select IMAGE SEQUENCE then locate the directory where your raw frames are stored.  Open the FIRST image.  VDUB will automatically import the rest in order assuming your filenames are properly numbered in sequence.

Click the video tab and select compression.  Choose the codec you are going to use.  I am not going to go in detail about the various codec settings,  you'll have to experiment with those.  Doom9.net has plenty of tutorials regarding various codec settings.  But the most common codecs to use are again, divx, xvid and .x264/.h264 so choose one if you have the appropriate codec installed.

If you intend to add audio and upload to youtube or similar then be sure you have secured the rights to use any copyrighted material.  Typically I will search for royalty free music using google or if I'm feeling really creative,  I will compose my own crappy tune with FL Studio :p
To add the audio, click the audio tab and choose "audio from other file" then locate the file.
note: there are various versions of virtual dub out there.  Some support the direct import of .MP3 files, some only support .WAV - If in doubt, convert your .mp3 or other type of file to a .WAV using a conversion utility (Google mp3 to wav), else get a copy of vdub that supports .mp3
Now you will need to select a compression type (mp3, ogg, acc, etc.....).  Best bet is to stick to .mp3 so click the audio tab again  and choose "compression" and select LAME mp3 or other mp3 type codec if you have it installed.  Then choose a bitrate, there will be several displayed,  choose one that best suits your needs.  Typically I go with 160 or 192 kbps CBR.  However,  if I am importing a .mp3 file,  i will select "direct stream copy" from the audio settings tab and no conversion will be done.

By now you should be able to assemble the animation to a video.  In VDUB, click file then "save as .AVI".  Give it a name3, choose an output directory and OK.  VDUB will now encode the video.  This could take several minutes.  Your video should now be ready. :)

< /copypasta >

I hope this is useful to somebody out there. ;)
  • Mood: Joy
  • Listening to: Happy
  • Reading: Happy
  • Watching: Joy
  • Playing: Joy

deviantID

mynameishalo
Jeff
Artist | Hobbyist | Digital Art
Canada
Some people call me bonehead. Who am I to disagree? :p

Current Residence: New Brunswick, Canada
Favourite genre of music: Trance, Classical, Hard Rock, Blues... anything but rap/hip-hop
Favourite style of art: Abstract, Fractal, Macro
Operating System: Win7, Kubuntu LINUX, Commodore BASIC 2.0 :D
MP3 player of choice: Winamp
Favourite cartoon character: Bugs Bunny
Interests

AdCast - Ads from the Community

×

Comments


Add a Comment:
 
:iconlupsiberg:
Lupsiberg Featured By Owner Nov 19, 2013   General Artist
Happy Birthday! :party: :iconchampagneplz:
Reply
:iconlecristal:
lecristal Featured By Owner Nov 19, 2013  Professional Digital Artist
Happy Bday by kmygraphic
Reply
:iconquasihedron:
quasihedron Featured By Owner Nov 19, 2013  Hobbyist Digital Artist
:icontiphankeplz::icontiphankeplz::icontiphankeplz::icontiphankeplz::icontiphankeplz:
:iconlasingplz::icontf2musicdispenserplz::iconmusicnotesplz:
:iconhappybirthday2plz::iconhappybirthdaycakeplz::iconhappybirthdaysignplz:
:iconsingerplz::iconsingingbirdplz::iconsinginglaplz::iconmusicemoteplz:
:iconmusicalnoteplz::iconmusic4-plz::iconmusic3-plz::iconmusic2-plz::iconmusic-1plz:
:iconpianoplz::iconfellaplaysguitarplz::iconairguitarsoloplz::iconguitarlaplz::iconlaplayplz:
:icongoldendaplz::icongiftplz::iconstarburstplz::icontf2giftplz::iconsaywow1plz:
:icontiphankeplz::icontiphankeplz::icontiphankeplz::icontiphankeplz::icontiphankeplz:
Reply
:iconmladavid:
Mladavid Featured By Owner Nov 19, 2013  Hobbyist General Artist
Happy Birthday!Have your cake and eat it too Party Sun 
Reply
:iconbrokenhalophotos:
brokenhalophotos Featured By Owner Nov 19, 2013
happy birthday , have a good one :)
Reply
:iconxantipa2:
Xantipa2 Featured By Owner Nov 19, 2013
Happy Birthday :iconbouquetplz:
Reply
:icondoolhoofd:
doolhoofd Featured By Owner Nov 18, 2013
Happy Birthday :cake:
Reply
:iconisider:
isider Featured By Owner Nov 17, 2013
early happy birthday!:icontort2::icontort3:
best wishes!:icontort4:
Reply
:iconpeter-the-knotter:
Peter-The-Knotter Featured By Owner Sep 18, 2013  Student Artisan Crafter

Hi Jeff!,

Are you still on da?

 

if so, when you see this please note me....

 

Thank You.

Peter

Reply
:iconwwgallery:
WwGallery Featured By Owner Feb 6, 2013
Great work! It's nice to watch!
Reply
:icondoolhoofd:
doolhoofd Featured By Owner Dec 24, 2012
+watch.
Reply
:iconakissa:
Akissa Featured By Owner Dec 13, 2012
Your flower fractal is AMAZING
Reply
:iconauntdevi:
auntDevi Featured By Owner Dec 9, 2012
:wave: You've been featured here [link]
Reply
(1 Reply)
:iconwdwparksgal-stock:
WDWParksGal-Stock Featured By Owner Nov 19, 2012  Hobbyist General Artist
:iconchampagneplz::iconhappybirthdaysignplz::iconballoonsplz:
Reply
:iconsvetlost70:
svetlost70 Featured By Owner Nov 19, 2012  Hobbyist Digital Artist
Happy Birthday!!! :cake: :hug:
Reply
:iconhirurgulic:
HirurgUlic Featured By Owner Nov 19, 2012
Happy Birthday To You!
Reply
:iconmladavid:
Mladavid Featured By Owner Nov 19, 2012  Hobbyist General Artist
Happy Birthday! I wish you success in the work, good luck in life and good mood!
Reply
:iconforestdwellerhouses:
ForestDwellerHouses Featured By Owner Nov 19, 2012  Professional Artisan Crafter
HAPPY BIRTHDAY! I hope its a great one!!
Reply
:iconbellesymphorine:
BELLESYMPHORINE Featured By Owner Nov 19, 2012
:iconcakecookieplz::iconcakecookieplz::iconcakecookieplz:
:iconhappybirthdaysignplz::iconhappybirthdaysignplz::iconhappybirthdaysignplz:
Reply
:icontimemit:
timemit Featured By Owner Nov 19, 2012  Student Digital Artist
Have a great day :)
Reply
:iconxantipa2:
Xantipa2 Featured By Owner Nov 19, 2012
Happy Birthday :iconclaustrawberry:
Reply
:iconlecristal:
lecristal Featured By Owner Nov 18, 2012  Professional Digital Artist
I wish you a great day for your birthday my friend :iconblush--plz:
Reply
:iconvampirekingdom:
vampirekingdom Featured By Owner Nov 14, 2012   Digital Artist
A little present for you [link] :heart: Happy Birthday!!!!!
Reply
:iconjihala:
Jihala Featured By Owner Nov 10, 2012
Beautiful work

Jindra
Reply
:iconmamanela:
mamanela Featured By Owner Oct 17, 2012  Hobbyist General Artist
Fantastic work, I looked at your gallery for an hour, I think. I faved lots and lots, sorry I didnt comment on them all but I would like to say they are all faboulus. Flabbergasted I am. It´s like looking at a new and wonderful toy for the first time.
I´m hooked.... make more!
Cyberhug for you :iconhugplz: you made a rainy day full of colours and joy.
I also would like to wish you good luck in your struggle with depression. I have it in the family and it's not easy, but don't give up. Better days will come, they are just not in sight those days things feel less good. Like the sun under the horizon it's there but you cant see it right now.God bless you and your work.
Reply
Add a Comment: