From 96a402b9d8c75a5f8b14f6af8362793ce0deb4e4 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Sun, 15 Nov 2026 23:37:54 +0100 Subject: [PATCH] a lot of crazy tweaks --- .gitignore | 1 + Makefile | 3 ++- approche.pov | 1 + around.pov | 7 ++++--- hexacone.pov | 1 + hexastar.pov | 1 + hexawood.pov | 1 + patrouille.pov | 4 ++-- remote.pov | 3 ++- scene.pov | 1 + tools/linkfarmer.sh | 18 +++++++++--------- tools/make_one_seq.sh | 29 +++++++++++++++-------------- 12 files changed, 40 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 39a43e8..0f300ef 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ WS/log* WS/*.done WS/*.log WS/*.last +WS/*.stderr *.png *.gif diff --git a/Makefile b/Makefile index 52eaaec..fc8230c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ DIMS = -W1600 -H1200 -POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=480 -d +# POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=480 -d +POVOPT = +q7 -a -WT2 Declare=NbFrames=480 -d POVDEP = contexte.inc hexacone.inc hexabenz.inc \ all.inc hexastar.inc \ diff --git a/approche.pov b/approche.pov index 0c362c9..e96a210 100644 --- a/approche.pov +++ b/approche.pov @@ -24,6 +24,7 @@ object { Le_Decor } // object { Repere scale 5 translate Interpolate(LocCam, LatCam, 0.50) } camera { + cylinder 2 location look_at LatCam right diff --git a/around.pov b/around.pov index 501b199..bc485f6 100644 --- a/around.pov +++ b/around.pov @@ -16,16 +16,17 @@ object { Le_Decor } // ======================================================= -#declare R_around = 120; -#declare CK = 2.9 + (3.141592654 * NormClock); +#declare R_around = 70; +#declare CK = 3.9 + (3.141592654 * NormClock); #declare CamX = R_around * cos(CK); #declare CamY = 15 + (6*Cos_010(NormClock)); #declare CamZ = R_around * 1.8 * sin(CK); camera { + spherical + angle 136 location look_at <0, 0.5 + NormClock, 0> right - angle 36 } diff --git a/hexacone.pov b/hexacone.pov index a1bf630..50ba596 100644 --- a/hexacone.pov +++ b/hexacone.pov @@ -19,6 +19,7 @@ object { Le_Decor } #declare Loc_cam = <2, 2.7-NormClock, -1> + (Pos_RedB_1 * 1.308); camera { + spherical location Loc_cam #local H = 1.16 + (NormClock*0.44); look_at Pos_RedB_1 + <0.02, H, 0> diff --git a/hexastar.pov b/hexastar.pov index 93a3317..72b43d6 100644 --- a/hexastar.pov +++ b/hexastar.pov @@ -23,6 +23,7 @@ object { Le_Decor } #declare Lat_cam = <0, 1.95, -0.5 + NormClock> + Pos_RedB_3; camera { + omnimax location Loc_cam look_at Lat_cam right diff --git a/hexawood.pov b/hexawood.pov index ba0e155..acb6cef 100644 --- a/hexawood.pov +++ b/hexawood.pov @@ -22,6 +22,7 @@ object { Le_Decor } #declare LAT = ; camera { + spherical location LOC look_at LAT right diff --git a/patrouille.pov b/patrouille.pov index 5aac78d..cc94bb8 100644 --- a/patrouille.pov +++ b/patrouille.pov @@ -1,5 +1,5 @@ /* - * H E X A C O N E - E S S A I + * H E X A C O N E - P A T R O U I L L E * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 * * this sequence was created on Fri Feb 13 01:20:24 PM UTC 2026 @@ -26,7 +26,7 @@ camera { look_at Loc_Patrouille right - angle 11.11111 + angle 9 } /* =============================================================== */ diff --git a/remote.pov b/remote.pov index ba65ac0..f31c9ec 100644 --- a/remote.pov +++ b/remote.pov @@ -40,11 +40,12 @@ object { Le_Decor } #declare CamZ = DistCam * cos(CK); camera { + cylinder 1 location look_at <0, 0.35, 0> right // focal_point <2, 1, 12> // aperture 0.046 // blur_samples 30 - angle 5.1 + angle 3.1 } diff --git a/scene.pov b/scene.pov index 0e2a4ce..0e922ef 100644 --- a/scene.pov +++ b/scene.pov @@ -27,6 +27,7 @@ camera { location look_at <0.03, LatY, 0.17> right + normal { bumps 0.95 scale 3 } // focal_point Lat // aperture 0.046 // blur_samples 30 diff --git a/tools/linkfarmer.sh b/tools/linkfarmer.sh index b89ef37..f452021 100755 --- a/tools/linkfarmer.sh +++ b/tools/linkfarmer.sh @@ -14,7 +14,7 @@ source tools/fonctions.sh # ------------------------------------------------------- # /!\ this function just copy the -# file to the spool dir, so +# file to the spool dir, so # you can use it for tmp pics. # copy_a_file () @@ -31,7 +31,7 @@ IDX=$(( IDX + 1 )) linkfarm () { SRC="frames/$1" -# echo "linkfarm $SRC" | tee -a WS/log +echo "linkfarm $SRC" | tee -a WS/log local INTER="/dev/shm/tmp-intertitre.png" tools/plot-timing.sh $1 @@ -149,10 +149,10 @@ linkfarm remote linkfarm hexabenz linkfarm patrouille # new St Valentine 2026 linkfarm hexawood -linkfarm escadrille -linkfarm survol +# linkfarm escadrille +# linkfarm survol linkfarm around # new 26 jan 2026 -linkfarm cutoff +# linkfarm cutoff linkfarm panoramic linkfarm topview linkfarm trident @@ -160,12 +160,12 @@ linkfarm passage linkfarm scene linkfarm carto linkfarm circular -linkfarm bubblecut -linkfarm orbite +# linkfarm bubblecut +# linkfarm orbite linkfarm essai -tools/plot-timing.sh -faire_la_fin +tools/plot-timing.sh +# faire_la_fin ff_encodage Spool the-hexacone-family.mp4 diff --git a/tools/make_one_seq.sh b/tools/make_one_seq.sh index ce51c3e..2903165 100755 --- a/tools/make_one_seq.sh +++ b/tools/make_one_seq.sh @@ -15,42 +15,43 @@ fi NEXT=$(head -1 $LAST) -echo "MakeOneSeq $SEQNAME : $NEXT" >> WS/log +count=$(( ($RANDOM % 42) + 60 )) +printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log DIMS="-W$Img_Width -H$Img_Height" NBFR=" Declare=NbFrames=$NBFRAMES " POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT4" -echo $NBFR "frames." +# echo $NBFR # echo $POVOPT ; echo ; sleep 2 TMPIMG=/dev/shm/hc-${SEQNAME}-tmp.png # echo "TMPIMG" ${TMPIMG} | tee -a WS/log # DEBUG ! -count=$(( ($RANDOM % 33) + 50 )) -printf "cout : %3d\n" $count | tee -a WS/log - for idx in $(seq 0 $count) do - frame=$(( $idx + $NEXT )) + printf "%-12s : trace %3d of %d\n" $SEQNAME $idx $count + frame=$NEXT img=$(printf "frames/%s/%05d.png" $SEQNAME $frame) debut=$(date +%s) set +e - povray ${POVOPT} +K${frame} -i${SEQNAME}.pov -o${TMPIMG} + povray ${POVOPT} +K${frame} \ + -i${SEQNAME}.pov -o${TMPIMG} 2> WS/${SEQNAME}.stderr err=$? if [ $err != 0 ] ; then echo "$SEQNAME fail $frame" >> WS/log mogrify -colorspace gray -blur 7x7 -colors 8 $img + tail WS/${SEQNAME}.stderr visual_sleep "render fail" 30 continue fi set -e sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z]) - txt=$(printf "%03d" ${frame} | tr '01' 'ol') + txt=$(printf "%4d" ${frame} | tr '01' 'Ol') # echo $frame $img $txt convert ${TMPIMG} \ - -font Courier-Regular \ + -font Courier-Bold \ -pointsize 64 \ - -kerning 7 \ + -kerning 8 \ -strokewidth 1 \ -fill ${STROKOL} -stroke ${TEXTCOL} \ -gravity south-west \ @@ -59,11 +60,11 @@ do -annotate +25+5 "$txt" \ ${img} fin=$(date +%s) - echo ; sleep 1 printf "%-12s %5d %5d\n" \ - ${SEQNAME} $frame $(( fin-debut )) | \ + ${SEQNAME} $NEXT $(( fin-debut )) | \ tee -a WS/mp4.timing - echo $(( $NEXT + 1)) > $LAST + NEXT=$(( ($NEXT + 1) % $NBFRAMES )) + echo $NEXT > $LAST done @@ -72,6 +73,6 @@ echo ff_encodage $SEQNAME wip-${SEQNAME}.mp4 -echo "build of '$SEQNAME' done" | tee -a WS/log +echo "build '$SEQNAME' done" | tee -a WS/log