Compare commits

..

6 Commits

Author SHA1 Message Date
Tonton Th
98f0354f91 camera change 2025-11-14 13:16:47 +01:00
Tonton Th
0e3a481e14 change colormap 2025-11-13 21:41:35 +01:00
Tonton Th
858c4201db correct the camera 2025-11-13 21:40:52 +01:00
Tonton Th
b123e035d2 symplify camera 2025-11-13 21:40:14 +01:00
Tonton Th
212993963d cosmetic 2025-11-13 19:20:50 +01:00
Tonton Th
9560b26090 slower gyros 2025-11-13 18:16:15 +01:00
6 changed files with 13 additions and 17 deletions

View File

@ -22,7 +22,7 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare R_circ = R_circular + 0.07; #declare R_circ = R_circular + 0.07;
#declare CK = 1.23 * Cos_010(NormClock * 3.141592654); #declare CK = 0.777 + (1.23 * sqrt(NormClock * 3.141592654));
#declare CamX = R_circ * cos(CK); #declare CamX = R_circ * cos(CK);
#declare CamY = 3.08 + abs(sin(CK/4.00)); #declare CamY = 3.08 + abs(sin(CK/4.00));

View File

@ -74,7 +74,7 @@ union {
} }
#undef WB #undef WB
pigment { color Gray90 } pigment { color Gray90 }
#local Ro = 0.5 + (2.0 * rand(Rng1)); #local Ro = 0.5 + (1.0 * rand(Rng1));
#if (rand(Rng1) < 0.50) #if (rand(Rng1) < 0.50)
#local Ro = -Ro; #local Ro = -Ro;
#end #end

View File

@ -17,7 +17,7 @@
// ======================================================= // =======================================================
#declare POS_Cutoff = <-24, 0, -7>; #declare POS_Cutoff = <30.33, 0, -11>;
#local TY = 1.5; #local TY = 1.5;
@ -28,7 +28,6 @@ difference {
translate y*TY + POS_Cutoff translate y*TY + POS_Cutoff
} }
/* this two objects are for debugging */ /* this two objects are for debugging */
// object { Repere scale 2 translate y*2.6 + POS_Cutoff } // object { Repere scale 2 translate y*2.6 + POS_Cutoff }
// object { OpenBox translate y*TY + POS_Cutoff } // object { OpenBox translate y*TY + POS_Cutoff }
@ -45,9 +44,9 @@ object { Le_Decor }
// ======================================================= // =======================================================
#local CamX = -25.4 + (3.14*Cos_01(NormClock)); #local CamX = POS_Cutoff.x + 4 + (3.14*Cos_01(NormClock));
#local CamY = 1.9 - (0.27*sqrt(NormClock)); #local CamY = 1.9 - (0.27*sqrt(NormClock));
#local CamZ = -1.85 + (4.02*NormClock); #local CamZ = POS_Cutoff.z - 1.85 + (4.02*NormClock);
camera { camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>

View File

@ -65,11 +65,11 @@ intersection {
height_field { height_field {
png "datas/hf.png" smooth png "datas/hf.png" smooth
translate <-.5, 0, -.5> translate <-.5, 0, -.5>
#local SC = SzSol * 1.130; #local SC = SzSol * 1.10;
scale <SC, 0.90, SC> scale <SC, 0.90, SC>
texture { texture {
pigment { pigment {
image_map { png "datas/cmap.png" } image_map { png "datas/colormap.png" }
rotate x*90 rotate x*90
translate <-.5, 0, -.5> translate <-.5, 0, -.5>
scale <SC, 1, SC> scale <SC, 1, SC>

View File

@ -1,7 +1,7 @@
/* /*
* H E X A C O N E - H E X A W O O D * H E X A C O N E - H E X A W O O D
* *
* * le troisième de la famille.
*/ */
#version 3.7; #version 3.7;
@ -22,16 +22,13 @@ object { Le_Decor }
// object { Repere translate <10, 1, 10> } // object { Repere translate <10, 1, 10> }
#declare LOC = <19-NormClock, 1.60, 13.9-NormClock>; #declare LOC = <19-NormClock, 1.60, 10.9-NormClock>;
#declare P1 = <-25, 0.4, (SzSol/2)+4>; #declare LAT = <P_hexawood.x, 0.95, P_hexawood.z>;
#declare Pos = Interpolate(P1, P_hexawood, NormClock);
#declare LAT = <Pos.x, 0.9, Pos.z>;
// object { Repere translate Pos }
camera { camera {
location LOC location LOC
look_at Pos look_at LAT
angle 26 + 2.11*NormClock angle 26 + 2.11*NormClock
} }

View File

@ -43,7 +43,7 @@ do
# echo $frame $img $txt # echo $frame $img $txt
convert ${TMPIMG} \ convert ${TMPIMG} \
-font Courier-Bold \ -font Courier-Bold \
-pointsize 14 \ -pointsize 16 \
-kerning 4 \ -kerning 4 \
-fill ${TEXTCOL} \ -fill ${TEXTCOL} \
-gravity north \ -gravity north \
@ -51,7 +51,7 @@ do
${img} ${img}
fin=$(date +%s) fin=$(date +%s)
echo echo
printf "%-12s %4d %4d\n" \ printf "%-12s %5d %5d\n" \
${SEQNAME} $frame $(( fin-debut )) | \ ${SEQNAME} $frame $(( fin-debut )) | \
tee -a WS/mp4.timing tee -a WS/mp4.timing
echo ; sleep 2 echo ; sleep 2