Compare commits

...

2 Commits

Author SHA1 Message Date
Tonton Th
266c9cb543 add a debug msg 2025-09-27 16:03:09 +02:00
Tonton Th
f0e69c9478 a good camera 2025-09-27 02:19:49 +02:00
2 changed files with 8 additions and 11 deletions

View File

@ -15,31 +15,28 @@
#include "trident.inc" #include "trident.inc"
// ======================================================= // =======================================================
// #include "dynamic.inc"
object { Le_Decor } object { Le_Decor }
// =======================================================
#debug "ACTION !!!\n" #debug "ACTION !!!\n"
#include "dynamic.inc" #include "dynamic.inc"
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
// ======================================================= // =======================================================
#declare CamY = 7 + (3*Cos_01(NormClock)); #declare CK = 2.59 * Cos_01(NormClock);
#declare CamY = 7 + (4*Cos_01(NormClock));
#declare LatX = 20 * cos(NormClock*1.81); #declare LatX = 20 * cos(CK*1.08);
#declare LatY = 3.8; #declare LatY = 3.0 - sqrt(NormClock);
#declare LatZ = 20 * sin(NormClock*2.53); #declare LatZ = 20 * sin(CK);
object { Repere scale 2 translate <LatX, LatY, LatZ> } // object { Repere scale 2 translate <LatX, LatY, LatZ> }
camera { camera {
// orthographic // orthographic
location <0, CamY, 0> location <0, CamY, 0>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
angle 70 angle 75
} }

View File

@ -22,7 +22,7 @@ POVOPT="+q9 +A0.02 -d ${DIMS} ${NBFR} -WT7"
echo $POVOPT ; echo ; sleep 2 echo $POVOPT ; echo ; sleep 2
TMPIMG=/dev/shm/${SEQNAME}-tmp.png TMPIMG=/dev/shm/${SEQNAME}-tmp.png
echo "TMPIMG" ${TMPIMG} | tee -a WS/log # DEBUG !
for frame in $(seq $START $((NBFRAMES-1))) for frame in $(seq $START $((NBFRAMES-1)))
do do