a lot of crazy tweaks
This commit is contained in:
1 parent
c87aa7e57d
commit
96a402b9d8
12 files changed
+38
-28
No files matched your search
@@ -14,6 +14,7 @@ WS/log*
|
||||
WS/*.done
|
||||
WS/*.log
|
||||
WS/*.last
|
||||
WS/*.stderr
|
||||
|
||||
*.png
|
||||
*.gif
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -24,6 +24,7 @@ object { Le_Decor }
|
||||
// object { Repere scale 5 translate Interpolate(LocCam, LatCam, 0.50) }
|
||||
|
||||
camera {
|
||||
cylinder 2
|
||||
location <LocX, LocY, LocZ>
|
||||
look_at LatCam
|
||||
right <image_width/image_height, 0, 0>
|
||||
|
||||
+4
-3
@@ -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 <CamX, CamY, CamZ>
|
||||
look_at <0, 0.5 + NormClock, 0>
|
||||
right <image_width/image_height, 0, 0>
|
||||
angle 36
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
@@ -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 <image_width/image_height, 0, 0>
|
||||
|
||||
@@ -22,6 +22,7 @@ object { Le_Decor }
|
||||
#declare LAT = <P_hexawood.x, 0.95+(NormClock*0.11), P_hexawood.z>;
|
||||
|
||||
camera {
|
||||
spherical
|
||||
location LOC
|
||||
look_at LAT
|
||||
right <image_width/image_height, 0, 0>
|
||||
|
||||
+2
-2
@@ -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 <image_width/image_height, 0, 0>
|
||||
angle 11.11111
|
||||
angle 9
|
||||
}
|
||||
|
||||
/* =============================================================== */
|
||||
+2
-1
@@ -40,11 +40,12 @@ object { Le_Decor }
|
||||
#declare CamZ = DistCam * cos(CK);
|
||||
|
||||
camera {
|
||||
cylinder 1
|
||||
location <CamX, CamY, CamZ>
|
||||
look_at <0, 0.35, 0>
|
||||
right <image_width/image_height, 0, 0>
|
||||
// focal_point <2, 1, 12>
|
||||
// aperture 0.046
|
||||
// blur_samples 30
|
||||
angle 5.1
|
||||
angle 3.1
|
||||
}
|
||||
@@ -27,6 +27,7 @@ camera {
|
||||
location <CamX, 2.10, CamZ>
|
||||
look_at <0.03, LatY, 0.17>
|
||||
right <image_width/image_height, 0, 0>
|
||||
normal { bumps 0.95 scale 3 }
|
||||
// focal_point Lat
|
||||
// aperture 0.046
|
||||
// blur_samples 30
|
||||
|
||||
+7
-7
@@ -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
|
||||
# faire_la_fin
|
||||
|
||||
ff_encodage Spool the-hexacone-family.mp4
|
||||
|
||||
|
||||
+15
-14
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user