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
+37 -30

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>
} }
+8 -4
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
+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)
} }
+6 -6
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
@@ -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
@@ -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
+1 -1
View File
@@ -69,7 +69,7 @@ union {
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
} }