Compare commits
8 Commits
2eea147f82
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c37530d999 | ||
|
|
15849c4aa2 | ||
|
|
3f57aec353 | ||
|
|
90562d2ce6 | ||
|
|
daaa8eeb01 | ||
|
|
35e6c0dfb5 | ||
|
|
6ee8932ba4 | ||
|
|
a3558cc1db |
@@ -16,12 +16,12 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#declare R_around = 128;
|
#declare R_around = 120;
|
||||||
#declare CK = 2.9 + (3.141592654 * NormClock);
|
#declare CK = 2.9 + (3.141592654 * NormClock);
|
||||||
|
|
||||||
#declare CamX = R_around * cos(CK);
|
#declare CamX = R_around * cos(CK);
|
||||||
#declare CamY = 15.777 + (4*Cos_010(NormClock));
|
#declare CamY = 15 + (6*Cos_010(NormClock));
|
||||||
#declare CamZ = R_around * 1.6 * sin(CK);
|
#declare CamZ = R_around * 1.8 * sin(CK);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <CamX, CamY, CamZ>
|
location <CamX, CamY, CamZ>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ union {
|
|||||||
object { Le_Decor }
|
object { Le_Decor }
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <45, 149+(99*NormClock), 18-(12*NormClock)>
|
location <46, 149+(117*NormClock), 18-(12*NormClock)>
|
||||||
look_at <0, 1.18, 0.17 + (2.4*NormClock)>
|
look_at <0, 1.18, 0.17 + (2.4*NormClock)>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
angle 50
|
angle 50
|
||||||
|
|||||||
@@ -171,8 +171,8 @@ union {
|
|||||||
object { Horloge2 rotate y*180 translate z*EC }
|
object { Horloge2 rotate y*180 translate z*EC }
|
||||||
object { Horloge2 translate -z*EC }
|
object { Horloge2 translate -z*EC }
|
||||||
}
|
}
|
||||||
scale 0.51
|
scale 0.42
|
||||||
translate y*0.999
|
translate y*0.666
|
||||||
}
|
}
|
||||||
// =======================================================
|
// =======================================================
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ scale <3, 4, 3>
|
|||||||
turbulence 0.14
|
turbulence 0.14
|
||||||
translate <NormClock*0.5, sqrt(NormClock*0.49),
|
translate <NormClock*0.5, sqrt(NormClock*0.49),
|
||||||
NormClock*0.6>
|
NormClock*0.6>
|
||||||
scale <0.7, 0.3, 1>
|
scale <0.7, 0.23, 1>
|
||||||
}
|
}
|
||||||
finish { ambient 0.7 }
|
finish { ambient 0.7 }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,11 +16,11 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// object { Repere scale 2 }
|
// object { Repere scale 2 }
|
||||||
|
|
||||||
#declare Loc_cam = <2, 2.7-NormClock, 1> + (Pos_RedB_1 * 1.303);
|
#declare Loc_cam = <2, 2.7-NormClock, 1> + (Pos_RedB_1 * 1.308);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location Loc_cam
|
location Loc_cam
|
||||||
#local H = 1.16 + (NormClock*0.36);
|
#local H = 1.16 + (NormClock*0.39);
|
||||||
look_at Pos_RedB_1 + <0.02, H, 0>
|
look_at Pos_RedB_1 + <0.02, H, 0>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
// focal_point <0.37, 0.90, 0>
|
// focal_point <0.37, 0.90, 0>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// object { Repere translate <10, 1, 10> }
|
// object { Repere translate <10, 1, 10> }
|
||||||
|
|
||||||
#declare LOC = <-3.4 - NormClock, 1.60, 31.9-NormClock>;
|
#declare LOC = <-3.4 - NormClock, 3.35, 31.9-NormClock>;
|
||||||
|
|
||||||
#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>;
|
||||||
|
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ light_source { <23, 10, 15>, rgb <0.77, 0.79, 0.80> }
|
|||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
camera {
|
camera {
|
||||||
location <9+NormClock, 1.60+(8.6*NormClock), 11.59>
|
location <9+NormClock, 1.60+(9.8*NormClock), 11.59>
|
||||||
look_at <0.0, 0.0, 0>
|
look_at <0.0, 0.0, 0>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
#if (0)
|
#if (0)
|
||||||
|
|||||||
@@ -32,7 +32,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 14
|
angle 13
|
||||||
}
|
}
|
||||||
|
|
||||||
/* =============================================================== */
|
/* =============================================================== */
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* H E X A C O N E - S C E N E
|
* H E X A C O N E - S C E N E
|
||||||
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
|
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
|
||||||
|
* The first one...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#version 3.7;
|
#version 3.7;
|
||||||
@@ -14,17 +15,17 @@
|
|||||||
|
|
||||||
object { Le_Decor }
|
object { Le_Decor }
|
||||||
|
|
||||||
#declare CK = 144 + (clock * 0.27);
|
#declare CK = 144 + (clock * 0.25);
|
||||||
|
|
||||||
#declare Dcam = 3.75;
|
#declare Dcam = 3.75;
|
||||||
#declare CamX = Dcam * cos(radians(CK+0.9));
|
#declare CamX = Dcam * cos(radians(CK+0.9));
|
||||||
#declare CamZ = Dcam * 1.20 * sin(radians(CK));
|
#declare CamZ = Dcam * 1.20 * sin(radians(CK));
|
||||||
|
|
||||||
#declare LatZ = 2.45 + (0.9 * Cos_010(NormClock));
|
#declare LatY = 2.45 + (1.47 * Cos_010(NormClock));
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <CamX, 1.97, CamZ>
|
location <CamX, 1.97, CamZ>
|
||||||
look_at <0.03, LatZ, 0.17>
|
look_at <0.03, LatY, 0.17>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
// focal_point Lat
|
// focal_point Lat
|
||||||
// aperture 0.046
|
// aperture 0.046
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ FILMNAME="$2"
|
|||||||
# echo "Encoding $SRCDIR to $FILMNAME" | tee -a WS/log
|
# echo "Encoding $SRCDIR to $FILMNAME" | tee -a WS/log
|
||||||
ffmpeg -nostdin \
|
ffmpeg -nostdin \
|
||||||
-y -r 30 -f image2 -i frames/${SRCDIR}/%05d.png \
|
-y -r 30 -f image2 -i frames/${SRCDIR}/%05d.png \
|
||||||
-metadata artist='--[ tTh ]--' \
|
-metadata artist='--[ tTh des Bourtoulots ]--' \
|
||||||
-metadata title='-- HexaCone --' \
|
-metadata title='--[ la famille HexaCone ]--' \
|
||||||
-c:v libx264 \
|
-c:v libx264 \
|
||||||
-pix_fmt yuv420p \
|
-pix_fmt yuv420p \
|
||||||
-tune film \
|
-tune film \
|
||||||
|
|||||||
@@ -41,11 +41,11 @@ local NBRE=78
|
|||||||
convert "WS/negatif.png" \
|
convert "WS/negatif.png" \
|
||||||
-gravity north \
|
-gravity north \
|
||||||
-font $FONTE \
|
-font $FONTE \
|
||||||
-pointsize 100 \
|
-pointsize 108 \
|
||||||
-kerning 8 \
|
-kerning 8 \
|
||||||
-fill $TEXTCOL \
|
-fill $TEXTCOL \
|
||||||
-strokewidth 2 -stroke $STROKOL \
|
-strokewidth 3 -stroke $STROKOL \
|
||||||
-annotate +0+530 "$1" \
|
-annotate +0+330 "$1" \
|
||||||
${INTER}
|
${INTER}
|
||||||
|
|
||||||
for foo in $(seq 0 $NBRE)
|
for foo in $(seq 0 $NBRE)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ do
|
|||||||
fi
|
fi
|
||||||
set -e
|
set -e
|
||||||
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
|
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
|
||||||
txt=$(printf "%s %03d" ${sqn} ${frame} | \
|
txt=$(printf "%s %03d" ${sqn} ${frame} | \
|
||||||
tr '01' 'ol')
|
tr '01' 'ol')
|
||||||
# echo $frame $img $txt
|
# echo $frame $img $txt
|
||||||
convert ${TMPIMG} \
|
convert ${TMPIMG} \
|
||||||
@@ -49,7 +49,7 @@ do
|
|||||||
-kerning 3 \
|
-kerning 3 \
|
||||||
-fill ${TEXTCOL} \
|
-fill ${TEXTCOL} \
|
||||||
-strokewidth 2 -stroke $STROKOL \
|
-strokewidth 2 -stroke $STROKOL \
|
||||||
-gravity north \
|
-gravity south \
|
||||||
-annotate +0+5 "$txt" \
|
-annotate +0+5 "$txt" \
|
||||||
${img}
|
${img}
|
||||||
fin=$(date +%s)
|
fin=$(date +%s)
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ object { HexaWood translate P }
|
|||||||
|
|
||||||
object { Le_Decor }
|
object { Le_Decor }
|
||||||
|
|
||||||
#declare CamY = 46 - (9.70 * Cos_01(NormClock));
|
#declare CamY = 47 - (9.50 * Cos_01(NormClock));
|
||||||
#declare LatY = -4 + ( 2.12 * NormClock);
|
#declare LatY = -4 + ( 2.12 * NormClock);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
@@ -39,5 +39,5 @@ camera {
|
|||||||
// focal_point <2, 1, 12>
|
// focal_point <2, 1, 12>
|
||||||
// aperture 0.046
|
// aperture 0.046
|
||||||
// blur_samples 30
|
// blur_samples 30
|
||||||
angle 45 + (63*NormClock)
|
angle 45 + (65*NormClock)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user