pass number of frame by povray command line
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
|
||||
INCFILE="WS/bloubs.inc"
|
||||
TMPPNG="/dev/shm/bloubs7.png"
|
||||
POVOPT="+Q9 +a -v -d -W1920 -H1080 -WT4"
|
||||
NBIMG=2000
|
||||
POVOPT="+Q9 +a -v -d Declare=NbFrames=$NBIMG -W1920 -H1080 -WT4"
|
||||
DDIR="frames/a"
|
||||
LOGERR="log.error"
|
||||
TXTCOLOR="#db4090"
|
||||
@@ -19,7 +20,6 @@ BARYDATAS="WS/log.barycentres"
|
||||
BLBS_IN="/dev/shm/in.blbs"
|
||||
BLBS_OUT="/dev/shm/out.blbs"
|
||||
|
||||
NBIMG=2000
|
||||
|
||||
make all
|
||||
err=$?
|
||||
@@ -28,8 +28,6 @@ if [ $err -ne 0 ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf "\n#declare NbImg = %d;\n" $NBIMG > WS/nbimg.inc
|
||||
|
||||
#
|
||||
# first, we have to make a seminal buch of bloubs
|
||||
# --> this function need to be parametrizable
|
||||
|
||||
@@ -11,9 +11,7 @@ global_settings {
|
||||
|
||||
#include "colors.inc"
|
||||
|
||||
#include "WS/nbimg.inc"
|
||||
|
||||
#declare NormClock = clock / NbImg;
|
||||
#declare NormClock = clock / NbFrames;
|
||||
|
||||
// ----------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user