a lot of crazy tweaks
This commit is contained in:
1 parent
c87aa7e57d
commit
96a402b9d8
12 files changed
+40
-30
No files matched your search
@@ -14,6 +14,7 @@ WS/log*
|
|||||||
WS/*.done
|
WS/*.done
|
||||||
WS/*.log
|
WS/*.log
|
||||||
WS/*.last
|
WS/*.last
|
||||||
|
WS/*.stderr
|
||||||
|
|
||||||
*.png
|
*.png
|
||||||
*.gif
|
*.gif
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
|
|
||||||
DIMS = -W1600 -H1200
|
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 \
|
POVDEP = contexte.inc hexacone.inc hexabenz.inc \
|
||||||
all.inc hexastar.inc \
|
all.inc hexastar.inc \
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ object { Le_Decor }
|
|||||||
// object { Repere scale 5 translate Interpolate(LocCam, LatCam, 0.50) }
|
// object { Repere scale 5 translate Interpolate(LocCam, LatCam, 0.50) }
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
cylinder 2
|
||||||
location <LocX, LocY, LocZ>
|
location <LocX, LocY, LocZ>
|
||||||
look_at LatCam
|
look_at LatCam
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
|
|||||||
+4
-3
@@ -16,16 +16,17 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#declare R_around = 120;
|
#declare R_around = 70;
|
||||||
#declare CK = 2.9 + (3.141592654 * NormClock);
|
#declare CK = 3.9 + (3.141592654 * NormClock);
|
||||||
|
|
||||||
#declare CamX = R_around * cos(CK);
|
#declare CamX = R_around * cos(CK);
|
||||||
#declare CamY = 15 + (6*Cos_010(NormClock));
|
#declare CamY = 15 + (6*Cos_010(NormClock));
|
||||||
#declare CamZ = R_around * 1.8 * sin(CK);
|
#declare CamZ = R_around * 1.8 * sin(CK);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
spherical
|
||||||
|
angle 136
|
||||||
location <CamX, CamY, CamZ>
|
location <CamX, CamY, CamZ>
|
||||||
look_at <0, 0.5 + NormClock, 0>
|
look_at <0, 0.5 + NormClock, 0>
|
||||||
right <image_width/image_height, 0, 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);
|
#declare Loc_cam = <2, 2.7-NormClock, -1> + (Pos_RedB_1 * 1.308);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
spherical
|
||||||
location Loc_cam
|
location Loc_cam
|
||||||
#local H = 1.16 + (NormClock*0.44);
|
#local H = 1.16 + (NormClock*0.44);
|
||||||
look_at Pos_RedB_1 + <0.02, H, 0>
|
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;
|
#declare Lat_cam = <0, 1.95, -0.5 + NormClock> + Pos_RedB_3;
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
omnimax
|
||||||
location Loc_cam
|
location Loc_cam
|
||||||
look_at Lat_cam
|
look_at Lat_cam
|
||||||
right <image_width/image_height, 0, 0>
|
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>;
|
#declare LAT = <P_hexawood.x, 0.95+(NormClock*0.11), P_hexawood.z>;
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
spherical
|
||||||
location LOC
|
location LOC
|
||||||
look_at LAT
|
look_at LAT
|
||||||
right <image_width/image_height, 0, 0>
|
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
|
* 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
|
* this sequence was created on Fri Feb 13 01:20:24 PM UTC 2026
|
||||||
@@ -26,7 +26,7 @@ camera {
|
|||||||
look_at Loc_Patrouille
|
look_at Loc_Patrouille
|
||||||
|
|
||||||
right <image_width/image_height, 0, 0>
|
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);
|
#declare CamZ = DistCam * cos(CK);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
cylinder 1
|
||||||
location <CamX, CamY, CamZ>
|
location <CamX, CamY, CamZ>
|
||||||
look_at <0, 0.35, 0>
|
look_at <0, 0.35, 0>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
// focal_point <2, 1, 12>
|
// focal_point <2, 1, 12>
|
||||||
// aperture 0.046
|
// aperture 0.046
|
||||||
// blur_samples 30
|
// blur_samples 30
|
||||||
angle 5.1
|
angle 3.1
|
||||||
}
|
}
|
||||||
@@ -27,6 +27,7 @@ camera {
|
|||||||
location <CamX, 2.10, CamZ>
|
location <CamX, 2.10, CamZ>
|
||||||
look_at <0.03, LatY, 0.17>
|
look_at <0.03, LatY, 0.17>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
|
normal { bumps 0.95 scale 3 }
|
||||||
// focal_point Lat
|
// focal_point Lat
|
||||||
// aperture 0.046
|
// aperture 0.046
|
||||||
// blur_samples 30
|
// blur_samples 30
|
||||||
|
|||||||
+9
-9
@@ -14,7 +14,7 @@ source tools/fonctions.sh
|
|||||||
|
|
||||||
# -------------------------------------------------------
|
# -------------------------------------------------------
|
||||||
# /!\ this function just copy the
|
# /!\ this function just copy the
|
||||||
# file to the spool dir, so
|
# file to the spool dir, so
|
||||||
# you can use it for tmp pics.
|
# you can use it for tmp pics.
|
||||||
#
|
#
|
||||||
copy_a_file ()
|
copy_a_file ()
|
||||||
@@ -31,7 +31,7 @@ IDX=$(( IDX + 1 ))
|
|||||||
linkfarm ()
|
linkfarm ()
|
||||||
{
|
{
|
||||||
SRC="frames/$1"
|
SRC="frames/$1"
|
||||||
# echo "linkfarm $SRC" | tee -a WS/log
|
echo "linkfarm $SRC" | tee -a WS/log
|
||||||
|
|
||||||
local INTER="/dev/shm/tmp-intertitre.png"
|
local INTER="/dev/shm/tmp-intertitre.png"
|
||||||
tools/plot-timing.sh $1
|
tools/plot-timing.sh $1
|
||||||
@@ -149,10 +149,10 @@ linkfarm remote
|
|||||||
linkfarm hexabenz
|
linkfarm hexabenz
|
||||||
linkfarm patrouille # new St Valentine 2026
|
linkfarm patrouille # new St Valentine 2026
|
||||||
linkfarm hexawood
|
linkfarm hexawood
|
||||||
linkfarm escadrille
|
# linkfarm escadrille
|
||||||
linkfarm survol
|
# linkfarm survol
|
||||||
linkfarm around # new 26 jan 2026
|
linkfarm around # new 26 jan 2026
|
||||||
linkfarm cutoff
|
# linkfarm cutoff
|
||||||
linkfarm panoramic
|
linkfarm panoramic
|
||||||
linkfarm topview
|
linkfarm topview
|
||||||
linkfarm trident
|
linkfarm trident
|
||||||
@@ -160,12 +160,12 @@ linkfarm passage
|
|||||||
linkfarm scene
|
linkfarm scene
|
||||||
linkfarm carto
|
linkfarm carto
|
||||||
linkfarm circular
|
linkfarm circular
|
||||||
linkfarm bubblecut
|
# linkfarm bubblecut
|
||||||
linkfarm orbite
|
# linkfarm orbite
|
||||||
linkfarm essai
|
linkfarm essai
|
||||||
|
|
||||||
tools/plot-timing.sh
|
tools/plot-timing.sh
|
||||||
faire_la_fin
|
# faire_la_fin
|
||||||
|
|
||||||
ff_encodage Spool the-hexacone-family.mp4
|
ff_encodage Spool the-hexacone-family.mp4
|
||||||
|
|
||||||
|
|||||||
+15
-14
@@ -15,42 +15,43 @@ fi
|
|||||||
|
|
||||||
NEXT=$(head -1 $LAST)
|
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"
|
DIMS="-W$Img_Width -H$Img_Height"
|
||||||
NBFR=" Declare=NbFrames=$NBFRAMES "
|
NBFR=" Declare=NbFrames=$NBFRAMES "
|
||||||
POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT4"
|
POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT4"
|
||||||
echo $NBFR "frames."
|
# echo $NBFR
|
||||||
# echo $POVOPT ; echo ; sleep 2
|
# echo $POVOPT ; echo ; sleep 2
|
||||||
|
|
||||||
TMPIMG=/dev/shm/hc-${SEQNAME}-tmp.png
|
TMPIMG=/dev/shm/hc-${SEQNAME}-tmp.png
|
||||||
# echo "TMPIMG" ${TMPIMG} | tee -a WS/log # DEBUG !
|
# 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)
|
for idx in $(seq 0 $count)
|
||||||
do
|
do
|
||||||
frame=$(( $idx + $NEXT ))
|
printf "%-12s : trace %3d of %d\n" $SEQNAME $idx $count
|
||||||
|
frame=$NEXT
|
||||||
img=$(printf "frames/%s/%05d.png" $SEQNAME $frame)
|
img=$(printf "frames/%s/%05d.png" $SEQNAME $frame)
|
||||||
debut=$(date +%s)
|
debut=$(date +%s)
|
||||||
set +e
|
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=$?
|
err=$?
|
||||||
if [ $err != 0 ] ; then
|
if [ $err != 0 ] ; then
|
||||||
echo "$SEQNAME fail $frame" >> WS/log
|
echo "$SEQNAME fail $frame" >> WS/log
|
||||||
mogrify -colorspace gray -blur 7x7 -colors 8 $img
|
mogrify -colorspace gray -blur 7x7 -colors 8 $img
|
||||||
|
tail WS/${SEQNAME}.stderr
|
||||||
visual_sleep "render fail" 30
|
visual_sleep "render fail" 30
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
set -e
|
set -e
|
||||||
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
|
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
|
# echo $frame $img $txt
|
||||||
convert ${TMPIMG} \
|
convert ${TMPIMG} \
|
||||||
-font Courier-Regular \
|
-font Courier-Bold \
|
||||||
-pointsize 64 \
|
-pointsize 64 \
|
||||||
-kerning 7 \
|
-kerning 8 \
|
||||||
-strokewidth 1 \
|
-strokewidth 1 \
|
||||||
-fill ${STROKOL} -stroke ${TEXTCOL} \
|
-fill ${STROKOL} -stroke ${TEXTCOL} \
|
||||||
-gravity south-west \
|
-gravity south-west \
|
||||||
@@ -59,11 +60,11 @@ do
|
|||||||
-annotate +25+5 "$txt" \
|
-annotate +25+5 "$txt" \
|
||||||
${img}
|
${img}
|
||||||
fin=$(date +%s)
|
fin=$(date +%s)
|
||||||
echo ; sleep 1
|
|
||||||
printf "%-12s %5d %5d\n" \
|
printf "%-12s %5d %5d\n" \
|
||||||
${SEQNAME} $frame $(( fin-debut )) | \
|
${SEQNAME} $NEXT $(( fin-debut )) | \
|
||||||
tee -a WS/mp4.timing
|
tee -a WS/mp4.timing
|
||||||
echo $(( $NEXT + 1)) > $LAST
|
NEXT=$(( ($NEXT + 1) % $NBFRAMES ))
|
||||||
|
echo $NEXT > $LAST
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -72,6 +73,6 @@ echo
|
|||||||
|
|
||||||
ff_encodage $SEQNAME wip-${SEQNAME}.mp4
|
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