1. Purpose 2. Usage 3. Povray example 4. Limits |
5. Features 6. To do 7. Copying 8. Requirements 9. Downloading |
After having a raw AVI file generated by animmaker, you can encode it to DivX with MPlayer, like this:
mencoder foo.avi -o foo2.avi -divx4opts br=800:q=5:key=25 -pass 1 mencoder foo.avi -o foo2.avi -divx4opts br=800:q=5:key=25 -pass 2
This is animmaker-0.2.5 Copyright (C) 1992,2002 Bisqwit (http://iki.fi/bisqwit/) Usage: animmaker [<option> [<...>]] <file> [<...>] This software assumes the files are uncompressed rgb24 tga files. Options: -@, --list <filename> Read input file names from the given file. -V, --version Displays version information. -X, --xflip Flip horizontally (not default) -Y, --yflip Flip vertically (default) -f, --fps <float> Frame rate (default: 25). -h, --help This help. -o, --outfile <filename> Specify the output file. No warranty whatsoever.
$ cat >animmakerdemo.pov <<EOF plane { y,-1 pigment { checker rgb 1, rgb .5 } } sphere { 0,1 pigment { rgbf .8 } finish { specular 0.3 ambient 0.3 } interior { ior 1.3 } } camera { location x*10 look_at 0 angle 35 rotate y*360*clock } light_source { 0, 1 fade_power 2 fade_distance 10 looks_like { sphere { 0,0.2 pigment { rgb 1 } finish { ambient 1 } } } translate <6,1,0> rotate y*360*clock*-4 } EOF $ povray +w320 +h200 +kff300 +ft +ianimmakerdemo.pov $ animmaker -f20 -oanimmakerdemo.avi animmakerdemo???.tga $ mencoder animmakerdemo.avi -o animmakerdemo1.avi -divx4opts br=400:q=5:key=100 -pass 1 $ mencoder animmakerdemo.avi -o animmakerdemo2.avi -divx4opts br=400:q=5:key=100 -pass 2Result is a nice looping animation.
If you wish to include audio with your animation, add
-audiofile <filename>
to your mencoder commandlines.
See the manual pages of each programs regarding the use of them.
Generated from progdesc.php
(last updated: Tue, 14 May 2002 17:31:36 +0300)
with docmaker.php
(last updated: Tue, 14 May 2002 17:30:47 +0300)
at Tue, 14 May 2002 17:31:37 +0300