time to take a nap

This commit is contained in:
Tonton Th committed 2026-11-20 20:48:45 +01:00
1 parent 18774dec79
commit ef99d0244c
12 files changed
+49 -42

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ object { Le_Decor }
#declare LocX = -1.5 + (2.10*Cos_010(NormClock)); #declare LocX = -1.5 + (2.10*Cos_010(NormClock));
#declare LocY = 2.6 - NormClock; #declare LocY = 2.6 - NormClock;
#declare LocZ = -180 + (105 * NormClock); #declare LocZ = -180 + (102 * NormClock);
#declare LatCam = <0, 0.92+NormClock, 0>; #declare LatCam = <0, 0.92+NormClock, 0>;
@@ -25,13 +25,13 @@ object { Le_Decor }
camera { camera {
cylinder 2 cylinder 2
angle 42 + (32 * NormClock)
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>
// focal_point <0.37, 0.0, 0> // focal_point <0.37, 0.0, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 42
} }
// ======================================================= // =======================================================
+1 -1
View File
@@ -27,6 +27,6 @@ camera {
spherical spherical
angle 144 angle 144
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0, -19, -4+(6*NormClock)> look_at <0, -21, -4+(6*NormClock)>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
} }
+10 -6
View File
@@ -1,11 +1,13 @@
/* /*
* DYNAMIC
*
* Tout ce qui bouge, en principe.
*/ */
// ======================================================= // =======================================================
// rajout d'une patrouille en vol // rajout d'une patrouille en vol
// 2 janvier 2026 // 2 janvier 2026
object { object {
#local CK = (clock / 210) - 0.75; // en radians #local CK = (clock / 210) - 0.75; // en radians
#local RD = 63; // rayon deplacement #local RD = 63; // rayon deplacement
@@ -62,13 +64,15 @@ object { BiBenz rotate -y*(clock*0.28) translate Pos_RedB_0 }
*/ */
#declare BiCone = object #declare BiCone = object
{ {
#local K = 1.27; #local K = 1.29;
union { union {
object { HexaCone () rotate y*90 translate <-K, 1.7, 0> } object { HexaCone () rotate y*90 translate <-K, 1.7, 0> }
object { HexaCone () rotate <9, 1, 7> translate < K, 1.9, 0> } #local Krx = 27 * (sin(NormClock*1.17) * sin(NormClock*3.99));
#local Krx = 18 * (cos(NormClock*1.17) + cos(NormClock*3.99));
object { HexaCone () rotate <Krx, 1, 7> translate < K, 1.9, 0> }
} }
} }
object { BiCone rotate -y*(Cos_010(NormClock)*65.38) translate Pos_RedB_1 } object { BiCone rotate -y*(Cos_010(NormClock)*158) translate Pos_RedB_1 }
/* les tridents posés sur leur estrade */ /* les tridents posés sur leur estrade */
#declare BiTrident = object #declare BiTrident = object
@@ -78,7 +82,7 @@ union {
object { Trident_A () rotate z * 8.4 translate x*0.90 } object { Trident_A () rotate z * 8.4 translate x*0.90 }
} }
} }
object { BiTrident object { BiTrident
rotate y*(670*Cos_01(NormClock)) rotate y*(670*Cos_01(NormClock))
translate Pos_RedB_2 + (y*2) translate Pos_RedB_2 + (y*2)
} }
@@ -128,7 +132,7 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
/* /*
* ---------------------------- * ----------------------------
* echange hexacone et hexabenz * echange hexacone et hexabenz
*/ */
#declare HC_A = <0.03, 2.18, 0.17>; #declare HC_A = <0.03, 2.18, 0.17>;
#declare HC_B = <3.00, 11.07, 11.09>; #declare HC_B = <3.00, 11.07, 11.09>;
#declare HC_P = Interpolate(HC_A, HC_B, Cos_01(NormClock)); #declare HC_P = Interpolate(HC_A, HC_B, Cos_01(NormClock));
+9 -6
View File
@@ -20,7 +20,7 @@
#for (idZ, -3, 3) #for (idZ, -3, 3)
#local posX = (idX * 4.76) + (rand(Rng1)-0.5); #local posX = (idX * 4.76) + (rand(Rng1)-0.5);
#local posY = 3.2 + (NormClock * 17 * (rand(Rng1)+0.95)); #local posY = 3.2 + (NormClock * 19 * (rand(Rng1)+0.95));
#local posZ = (idZ * 4.44) ; #local posZ = (idZ * 4.44) ;
#local Rx = (rand(Rng1) - 0.5) * 12; #local Rx = (rand(Rng1) - 0.5) * 12;
#local Ry = (rand(Rng1) - 0.5) * (24+NormClock); #local Ry = (rand(Rng1) - 0.5) * (24+NormClock);
@@ -29,20 +29,23 @@
// #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n") // #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n")
// #debug concat("position Z ", str(posZ,7,3),"\n") // #debug concat("position Z ", str(posZ,7,3),"\n")
#declare Limit = 1.470; #declare Limit = 1.370;
#if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position #if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position
#local Y_mean = Y_mean + posY; #local Y_mean = Y_mean + posY;
#local Y_count = Y_count + 1; #local Y_count = Y_count + 1;
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.30) #if (R < 0.33)
object { HexaCone () rotate <Rx, Ry, Rz> object { HexaCone () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#elseif (R < 0.60) #elseif (R < 0.50)
object { HexaStar rotate y*90 rotate <Rx, Ry, Rz> object { HexaStar rotate y*90 rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#else #elseif (R < 0.85)
object { HexaBenz () rotate <Rx, Ry, Rz> object { HexaBenz () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#else
object { Un_HexaTube rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#end #end
#end // if position... #end // if position...
#end // loop idX #end // loop idX
@@ -65,5 +68,5 @@ camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 54 - (35 * NormClock) angle 54 - (42 * NormClock)
} }
+10 -10
View File
@@ -27,7 +27,7 @@ difference {
box { <-M, -V, -V>, <M, V, V> } box { <-M, -V, -V>, <M, V, V> }
box { <-V, -M, -V>, <V, M, V> } box { <-V, -M, -V>, <V, M, V> }
box { <-V, -V, -M>, <V, V, M> } box { <-V, -V, -M>, <V, V, M> }
texture { Flashy scale 4 } texture { Flashy scale 0.4 }
} }
#end #end
// ======================================================= // =======================================================
@@ -50,7 +50,7 @@ union {
texture { texture {
pigment { rgb <Rv, Gv, Bv> } pigment { rgb <Rv, Gv, Bv> }
normal { dents 6.66 scale 0.03+(0.17*rand(Rng1)) } normal { dents 6.66 scale 0.03+(0.17*rand(Rng1)) }
finish { phong 0.51 reflection 0.08 } finish { phong 0.71 reflection 0.08 }
} }
} }
#end // for #end // for
@@ -64,7 +64,7 @@ union {
} }
#end // macro #end // macro
#declare Des_Anemones = object #declare Des_Anemones = object
{ {
union { union {
object { Anemone_A (3.00-NormClock, 1.50+NormClock) object { Anemone_A (3.00-NormClock, 1.50+NormClock)
@@ -235,7 +235,7 @@ union {
} }
// ======================================================= // =======================================================
/* Les choses, c'est l'espèce de vase avec des tiges /* Les choses, c'est l'espèce de vase avec des tiges
qui bougent, je devrais trouver un nom plus parlant. qui bougent, je devrais trouver un nom plus parlant.
- - - - - - - - - -
Mieux, on garde la chose mais on en dérive le vase Mieux, on garde la chose mais on en dérive le vase
@@ -253,7 +253,7 @@ intersection {
#if (R < 0.65) #if (R < 0.65)
texture { Texture_du_Vase rotate y*(clock*3) } texture { Texture_du_Vase rotate y*(clock*3) }
#else #else
texture { T_WIP_redwave scale 0.15 + 0.07*rand(Rng1) texture { T_WIP_redwave scale 0.10 + 0.07*rand(Rng1)
rotate <75*rand(Rng1), 75*rand(Rng1), 75*rand(Rng1)> rotate <75*rand(Rng1), 75*rand(Rng1), 75*rand(Rng1)>
} }
#end #end
@@ -295,7 +295,7 @@ union {
cylinder { 0, y*0.80, 0.08 } cylinder { 0, y*0.80, 0.08 }
cylinder { 0, y*0.08, 0.20 } cylinder { 0, y*0.08, 0.20 }
sphere { 0, 0.20 scale <1, 0.15, 1> translate y*0.08 } sphere { 0, 0.20 scale <1, 0.15, 1> translate y*0.08 }
texture { T_WIP_dents scale 0.15 } texture { T_WIP_dents scale 0.15 }
} }
#end #end
// ------------------------------------ // ------------------------------------
@@ -324,7 +324,7 @@ union {
#else texture { tPlasticGreen } #else texture { tPlasticGreen }
#end // if #end // if
} }
#end // for #end // for
translate y*0.87 translate y*0.87
} }
// #debug "== Fin Vase les tiges\n" // #debug "== Fin Vase les tiges\n"
@@ -407,7 +407,7 @@ union {
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
#declare Selector = int(clock/96); #declare Selector = int(clock/120);
#debug concat("Selector = ", str(Selector, 6, 0), "\n") #debug concat("Selector = ", str(Selector, 6, 0), "\n")
#declare AngleCam = 29 - 3*Cos_01(NormClock); #declare AngleCam = 29 - 3*Cos_01(NormClock);
@@ -431,9 +431,9 @@ union {
// object { Repere translate y*1 } // object { Repere translate y*1 }
#break #break
#case (4) #case (4)
object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 1.8, 2> } object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 1.8, 3> }
object { HorlogeDouble scale 2.12 object { HorlogeDouble scale 2.12
rotate y*(214*NormClock) translate <-3, 0, -2> } rotate y*(214*NormClock) translate <-3, 0, -3> }
#break #break
#end // switch selector #end // switch selector
+2 -2
View File
@@ -13,7 +13,7 @@
object { Le_Decor } object { Le_Decor }
#declare Loc_cam = <0.63, 2, 3*NormClock> + (Pos_RedB_0 * 1.32); #declare Loc_cam = <0.63, 20, 3*NormClock> + (Pos_RedB_0 * 1.32);
#declare Lat_Y = 1.21 + 0.19*NormClock; #declare Lat_Y = 1.21 + 0.19*NormClock;
@@ -24,6 +24,6 @@ camera {
// focal_point <0.37, 0.0, 0> // focal_point <0.37, 0.0, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 40 - 17 * Cos_01(NormClock) angle 26 - (17 * pow(NormClock, 3))
} }
+2 -2
View File
@@ -17,15 +17,15 @@ object { Le_Decor }
// object { Repere translate <10, 1, 10> } // object { Repere translate <10, 1, 10> }
#declare LOC = <-3.7, 5.84+NormClock, 31.9-NormClock>; #declare LOC = <-3.7, 5.84+NormClock, 34-(4*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>;
camera { camera {
spherical spherical
angle 20 + 2.87*NormClock
location LOC location LOC
look_at LAT look_at LAT
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 20 + 2.87*NormClock
} }
+2 -2
View File
@@ -28,9 +28,9 @@ object { Le_Decor }
// object { Repere scale 2 translate <LatX, LatY, LatZ> } // object { Repere scale 2 translate <LatX, LatY, LatZ> }
camera { camera {
// orthographic orthographic
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 65 + (NormClock * 15) angle 65 + (NormClock * 10)
} }
+1 -1
View File
@@ -52,6 +52,6 @@ camera {
// focal_point <0, 1, 0> // focal_point <0, 1, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 26 angle 21
} }
+1 -1
View File
@@ -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 9 angle 8 - (3*NormClock)
} }
/* =============================================================== */ /* =============================================================== */
+2 -2
View File
@@ -17,7 +17,7 @@ fi
NEXT=$(head -1 $LAST) NEXT=$(head -1 $LAST)
count=$(( ($RANDOM % 42) + 80 )) count=$(( ($RANDOM % 51) + 80 ))
printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log 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"
@@ -43,7 +43,7 @@ do
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 tail WS/${SEQNAME}.stderr
visual_sleep "render fail" 30 visual_sleep "render fail" 60
continue continue
fi fi
set -e set -e
+7 -7
View File
@@ -65,11 +65,11 @@ union {
union { union {
#local EX = 1.9 + (0.3*cos(NormClock*5)); #local EX = 1.9 + (0.3*cos(NormClock*5));
#local EZ = 2.0 + (0.5*sin(NormClock*2)); #local EZ = 2.0 + (0.5*sin(NormClock*2));
object { Trident_A () rotate x*87 } object { Trident_A() rotate x*87 }
object { HexaBenz () translate <-EX, 0, -EZ> } object { HexaBenz() translate <-EX, 0, -EZ> }
object { HexaCone () translate < EX, -0.4, -EZ> } object { HexaCone() translate < EX, -0.4, -EZ> }
object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> } object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> }
object { HexaCone () translate < EX*2, 0.3, -EZ*2> } object { HexaTube translate < EX*2, 0.3, -EZ*2> }
} }
rotate y*90 // pour pointer vers X rotate y*90 // pour pointer vers X
} }
@@ -112,14 +112,14 @@ object {
sphere { <0, 0, 0>, R/4 sphere { <0, 0, 0>, R/4
scale <1, 0.5, 1> translate y*H2 scale <1, 0.5, 1> translate y*H2
} }
scale <2.5, 1, 1> translate x*L2*0.75 scale <2.5, 1, 1> translate x*L2*0.75
} }
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.27) texture { T_Brass_2C } #if (R < 0.27) texture { T_Brass_2C }
#elseif (R < 0.56) texture { GoldDark } #elseif (R < 0.56) texture { GoldDark }
#elseif (R < 0.70) texture { T_Chrome_5A } #elseif (R < 0.70) texture { T_Chrome_5A }
#else texture { T_Gold_3C } #else texture { T_Gold_3C }
#end #end
} }
} }
#end // macro #end // macro
@@ -164,7 +164,7 @@ union {
#local TX = 3.2 * sin(CK); #local TX = 3.2 * sin(CK);
#local TY = 0.4 * cos(sin(CK)); #local TY = 0.4 * cos(sin(CK));
#local TZ = 3.0 * cos(1-CK); #local TZ = 3.0 * cos(1-CK);
translate <TX, TY, TZ> translate <TX, TY, TZ>
} }
// object { Repere scale 2 } // object { Repere scale 2 }
#end // for #end // for