Hi there guys
Inspired by processing's exhibition section I decided to create something similar to Ryan Alexander's Mycelium.
The working applet is here:
http://student.agh.edu.pl/~majta/Fungus.zip
The sources:
http://student.agh.edu.pl/~majta/zrodla.zip
And the demo video:
http://student.agh.edu.pl/~majta/out.avi
Feel free to use it in any way you want. Comments apprecieated.
The instructions are in Polish, so basically:
-replace src.jpg with anything you want use as source image
-don't delete or move the src.jpg or the font file
Well... lets get to the point.
I've spent the whole evening trying to find the best way to render the movie, and I'm still searching
I want to share the alternate way of rendering videos that might be useful for someone. My basic problem was that i didn't want to render the applet's window, but the PGrapgics object. Didnt figure out any way to do it with MakeMovie ;(
I worked it around. I used the save method of the PGraphics object to save each frame as tga file. Then i've created a raw AVI file using bmp2avi. You can get it here:
http://www.divx-digest.com/software/bmp2avi.html
That's pretty old stuff
At the point I hat 200MB of tga files and a 800MB raw AVI file. Then i used the avi to mov converter (which can also do the avi to avi thing
:
http://download.cnet.com/Free-Convert-DIVX-AVI-to-MOV-MPEG-WMV-Converter/3000-2194_4-10907618.html
and i got a 6MB file with a satysfying quality.
pros:
-can render objects other than PApplet
-pretty good quality
-in the end i got smaller files than with MakeMovie
cons:
-one minute equals circa 300MB of images and about 1GB of raw AVI thats fine if you want to render a five minute short, but not if you want to do something bigger.
-the avi to mov converter works with fixed resolutions (ie. 720x480, 640x480) and if you use a custom resolution it will resize your movie.
-well, all that things take some time to do
Its my first experience with rendering anything with processing, so if you're willing to share some tips with me id be grateful.
lolek09