pass number of frame by povray command line

This commit is contained in:
tTh
2026-06-17 06:28:47 +02:00
parent a452cf572b
commit 6d5c8d6c5f
2 changed files with 3 additions and 7 deletions

View File

@@ -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

View File

@@ -11,9 +11,7 @@ global_settings {
#include "colors.inc"
#include "WS/nbimg.inc"
#declare NormClock = clock / NbImg;
#declare NormClock = clock / NbFrames;
// ----------------------------------------------------------