povray3.1 install
1.download povlinux.tgz from pov site
2.tar and su ./install
To convert .pgm files from .sqf files,
first, we recompile okushiri3.c and run again,
second, the .sqf files convert to .pgm files with oku-pgm.c.
gcc oku-bt-pgm.c -o oku-bt-pgm -lm -lX11
gcc oku-pgm.c -o oku-pgm -lm -lX11
Next .pgm files are rendered with oku_cont.pov.
But an error is occured.
The fade function is not recongnized by povray.
We surpose it depend on their version number 3.0 to 3.1?
2001.07/05
We solve the yesterdays problem to download old_version of Povray from
follows,
http://www.povray.org/ftp/pub/povray/Old-Versions/Official-3.0/Linux/
This is a 3.02 version of Povray and need to copy the binarys as follows,
tar xzvf povlinux.tgz
cd povray3
su
#mkdir /usr/local/lib/povray3
[root@wombat povray3]# cp -r include/ /usr/local/lib/povray3
[root@wombat povray3]# cp x-povray /usr/local/bin
cp: ``/usr/local/bin/x-povray'' を上書きしてもよろしいですか (yes/no)?
y
[root@wombat povray3]# cp s-povray /usr/local/bin
cp: ``/usr/local/bin/s-povray'' を上書きしてもよろしいですか (yes/no)?
y
[root@wombat povray3]# cp *.ini /usr/local/lib/povray3
[root@wombat povray3]#
The script for continuous rendering is as follows,
x-povray +i oku_cont.pov +o oku.ppm +K0.0 +KFF360 +KI0 +KF360 -L/usr/local/lib/povray3/include
+PF +W640 +H480
Unless -L/usr/local/lib/povray3/include causes error.
Strenge facts are appeared.
The .ppm files are viewed by Xv, while this time ee does not recognize
the .ppm format.
Also, the file size increased and kept constant.
921618 new file size
240515 old file size but variable
Moreover ImageMagic does not recognize the .ppm format.
So, we changed the script to create .tga files,
x-povray +i oku_cont.pov +o oku.tga +K0.0 +KFF360
+KI0 +KF360 -L/usr/local/lib/povray3/include +W640 +H480
This time, .tga files are all recognized by ee, display and XV.
The file size kept constant as same as above mentioned .ppm files.
Now, we try to convert .tga to .ppm in order to use ppm2fli command.
Finally the process has completed.
(.tga file size is as same as .ppm file = 921615 byte)
mogrify -format ppm *.tga
ls oku???.ppm > oku.lst
ppm2fli oku.lst oku.fli
xanim oku.fli
xanim usage left button:reverse flame advancing center: reverse animation right: foward flame advancing
<ref. Web>
http://www.riem.nagoya-u.ac.jp/~ohta/ImageMagick.html#convert
http://e-www.akashi.ac.jp/~ynakai/Povray/Anim/ppm2fli.html