From 0c4aa1a31c0a3c7da8e9216dd5584e8551c76ced Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Wed, 14 Jan 2026 14:01:20 +0100 Subject: [PATCH] a lot of patches --- carto.pov | 2 +- contexte.inc | 19 ++++++++++------- dynamic.inc | 17 ++++------------ escadrille.pov | 6 +++--- essai.pov | 54 ++++++++++++++++++++++++++++++++++++------------- globals.inc | 4 ++-- hexabenz.inc | 7 ++++--- hexabenz.pov | 4 +--- hexastar.inc | 11 +++++----- panoramic.pov | 6 +++--- passage.pov | 4 ++-- survol.pov | 10 ++++----- tools/mkseqs.sh | 7 +++++-- topview.pov | 6 +++--- trident.inc | 4 ++-- xperiment.inc | 5 +++-- 16 files changed, 96 insertions(+), 70 deletions(-) diff --git a/carto.pov b/carto.pov index ccaabf2..d181caa 100644 --- a/carto.pov +++ b/carto.pov @@ -24,7 +24,7 @@ // --------------------------------------------------------- -object { Repere scale 10 translate y*10 } +object { Repere scale 20 translate y*20 } object { Le_Decor } camera { diff --git a/contexte.inc b/contexte.inc index f961afe..549116c 100644 --- a/contexte.inc +++ b/contexte.inc @@ -218,9 +218,9 @@ blob { #declare UnderHoles = array[6] #for (Idx, 0, 5) - #local Angle = (Idx + 0.19) * 1.090; - #local Px = sin(Angle) * (SzSol * 0.97); - #local Pz = cos(Angle) * (SzSol * 1.04); + #local Angle = (Idx + 0.19) * 1.09; // magic numbers ? + #local Px = sin(Angle) * (SzSol * 0.98); + #local Pz = cos(Angle) * (SzSol * 1.02); #declare UnderHoles[Idx] = ; #end @@ -229,7 +229,7 @@ blob { difference { // plane { y, 0 } #local Big = 300; - box { <-Big, -0.19, -Big>, < Big, 0.0000, Big> } + box { <-Big, -0.21, -Big>, < Big, 0.0000, Big> } #undef Big #for (Foo, 0, 5) cylinder { -y*5, y*5, 3.1 translate UnderHoles[Foo] } @@ -337,9 +337,9 @@ sky_sphere { gradient y color_map { [ 0.2 color Gray20 ] - [ 0.4 color rgb <.5, .45, .4> ] + [ 0.4 color rgb <.5, .45, .43> ] [ 0.7 color Gray50 ] - [ 0.9 color rgb <.5, .5, .45> ] + [ 0.9 color rgb <.5, .5, .47> ] [ 1.0 color Gray20 ] } turbulence 3.14159 + 0.84 * Cos_010(NormClock) @@ -381,7 +381,7 @@ union { object { Les_Cahutes () translate <2, 0, -40> } - /* les trucs dans le Y négatif */ + /* --------- les trucs dans le Y négatif */ object { Trois_Arches (1.4) scale 2.7 translate <0, 0, -131> } object { OpenBox(1.5, 0.06) translate <-19, 1.49, -88> } @@ -391,6 +391,11 @@ union { #for (Foo, 0, 5) object { Les_Cahutes () translate <29, 0, -(77+Foo*11)> } #end // for + + /* --------- les trucs dans le Y positif */ + object { OpenBox(1.6, 0.11) translate <0, 2.58, 112> } + object { OpenBox(1.6, 0.11) rotate y*45 translate <0, 4.7, 166> } + } } /* ------------------------------------------------------------ */ diff --git a/dynamic.inc b/dynamic.inc index e02c6a2..bae05fd 100644 --- a/dynamic.inc +++ b/dynamic.inc @@ -11,18 +11,9 @@ #local Zp = RD * cos(CK); object { - #local L2 = 10; - #if (0) - union { - cylinder { <-L2, 0, 0>, , 0.4 } - cylinder { -y*3, y*3, 0.4 } - texture { Y_Texture } - } - #else object { Patrouille rotate 90*y } - #end - + object { Patrouille rotate 90*y } rotate y*degrees(CK) - translate + translate translate <-30, 0, 0> } @@ -32,7 +23,7 @@ object { // qui bougent sur le rail circulaire #for (foo, 0, 5) -#local CK = (NormClock+(foo*0.0204)) * 4.02; // radians +#local CK = (NormClock+(foo*0.0200)) * 4.02; // radians #declare Xpos = R_circular * sin(CK); #declare Zpos = R_circular * cos(CK); #declare AR = degrees(CK); @@ -117,7 +108,7 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P } // #write (Trid, Foo, " ", NormClock, " ", Dy, " ", // Ry, " ", Tr, "\n") object { Trident_A () rotate y*Ry - translate y+( (5*rand(Rng1)) - 2.5) + translate y+( (10*rand(Rng1)) - 5) translate Tr } #end // #fclose Trid diff --git a/escadrille.pov b/escadrille.pov index fe533a9..04fa506 100644 --- a/escadrille.pov +++ b/escadrille.pov @@ -19,9 +19,9 @@ #for (idX, -3, 3) #for (idZ, -3, 3) - #local posX = (idX * 4.72) + (rand(Rng1)-0.5); + #local posX = (idX * 4.76) + (rand(Rng1)-0.5); #local posY = 3.2 + (NormClock * 12 * (rand(Rng1)+0.75)); - #local posZ = (idZ * 4.39) ; + #local posZ = (idZ * 4.44) ; #local Rx = (rand(Rng1) - 0.5) * 12; #local Ry = (rand(Rng1) - 0.5) * (24+NormClock); #local Rz = (rand(Rng1) - 0.5) * 11; @@ -59,7 +59,7 @@ object { Le_Decor } #local CamZ = 122 - (21.9 * Cos_01(NormClock)); #local LatY = (Y_mean / Y_count) - (0.5*NormClock); -#debug concat("Lat Y ", str(LatY, 7, 3),"\n") +#debug concat("escadrille: Lat Y ", str(LatY, 7, 3),"\n") camera { location diff --git a/essai.pov b/essai.pov index fe994a2..c41b756 100644 --- a/essai.pov +++ b/essai.pov @@ -10,24 +10,30 @@ #include "all.inc" // ======================================================= +#declare LeGris = texture +{ +/* moi j'dis qu'il est temps de définir un "gris de base" */ +pigment { color Gray70 } +finish { phong 0.33 ambient 0.33 } +} // ======================================================= // nouveau du 3 janvier 2026 #local Horloge2 = object { -object { Horloge scale <1, 0.20, 1> rotate -x*90 - translate x*0.58 } +object { Horloge scale <1, 0.24, 1> rotate -x*90 + translate x*0.45 } } #declare HorlogeDouble = object { union { - box { <-3.20, -0.03, -0.07>, <3.20, 1.61, 0.07> - pigment { color Gray70 } } + box { <-3.20, -0.08, -0.07>, <3.20, 1.61, 0.07> + texture { LeGris } } #local EC = 0.22; object { Horloge2 rotate y*180 translate z*EC } object { Horloge2 translate -z*EC } } scale 0.8 -translate y*2.5 +translate y*2.35 } // ======================================================= @@ -39,9 +45,9 @@ union { #local Hcs = 0.550; #local Rco = R_basecone * 3.333; #for (Foo, 0, 5) - #local Dx = 0.333 * sin(Foo); + #local Dx = 0.385 * sin(Foo+NormClock); #local Dy = Foo * (Hcs + 0.0333); - #local Dz = 0.333 * cos(Foo); + #local Dz = 0.385 * cos(Foo+NormClock); union { cone { 0, Rco, <0, Hcs, 0>, 0.001 #if (rand(Rng1) < 0.50) texture { Y_Texture } @@ -116,15 +122,15 @@ union { #declare Obj_BasicTexture = object { #local R = 0.385; -#local H = 1.71; +#local H = 1.51; merge { cylinder { 0, y*H, R } sphere { 0, R scale <1, 0.50, 1> translate y*H } difference { #local R1 = R+0.46; #local R2 = R+0.63; - box { <-0.19, 0, -0.17>, } - cylinder { , , 0.27 } + box { <-0.19, 0, -0.17>, } + cylinder { , , 0.33 } } } } @@ -227,7 +233,7 @@ union { object { Chose () translate < 2.9, 0, -4.07> } object { Chose () translate <-3.1, 0, -(3+NormClock)> } object { Chose () translate <-4.5, 0, -4> } - object { Repere scale 2 translate 0.05*y } + object { Repere translate 0.05*y } } } // ======================================================= @@ -247,6 +253,26 @@ union { object { Gyros } +// ========================================================## + +#local Fleche = object +{ +union { + cylinder { -5*x, 5*x, 0.09 } + cone { 5*x, 0.27, 6.66*x, 0.00007 } + } +texture { LeGris } +} + +// ------------------------------------------------------ ## + +#declare La_Patrouille = object +{ +union { + object { Patrouille } + object { Fleche translate y } + } +} // ------------------------------------------------------ ## #debug " !!! ACTION !!!\n" @@ -270,7 +296,7 @@ object { Gyros } object { Des_Choses } #break #case (1) - object { Patrouille rotate -y*(clock*0.666) + object { La_Patrouille rotate -y*(clock*0.666) translate y*2.5 } #local AngleCam = 31.0; #break @@ -279,7 +305,7 @@ object { Gyros } #break #case (3) object { HorlogeDouble rotate -y*(5*clock) } - object { Repere translate y*1 } + // object { Repere translate y*1 } #break #case (4) object { Trident_A() @@ -291,7 +317,7 @@ object { Gyros } object { Les_Boules translate y*0.8 } #break #case (6) - object { HexaStar translate y*3 } + object { HexaStar scale 3 translate y*3 } #break #case (7) #local Pos = <0.5-NormClock, 0, 0>; diff --git a/globals.inc b/globals.inc index 2e35e5d..e9557d1 100644 --- a/globals.inc +++ b/globals.inc @@ -11,7 +11,7 @@ global_settings { #include "stones.inc" #include "woods.inc" -#declare Rng1 = seed(2026); +#declare Rng1 = seed(1121); #declare foo = rand(Rng1); #declare Rng2 = seed(now*24*60*60); #declare bar = rand(Rng2); @@ -156,7 +156,7 @@ pigment { rgb <0.31, 0.33, 0.24> } normal { dents 0.22 scale 1.666} finish { ambient 0 specular 0.3 metallic roughness 0.33 - reflection { 0.23 metallic } + reflection { 0.21 metallic } } } diff --git a/hexabenz.inc b/hexabenz.inc index 8603e5d..5e2fd34 100644 --- a/hexabenz.inc +++ b/hexabenz.inc @@ -169,11 +169,12 @@ union { #local E = 0.018; cylinder { E*z, <0, 0.20, E>, RBA2 } cylinder { -E*z, <0, 0.20, E>, RBA2 } - scale <1, 1, 5> + scale <1, 1, 5.555> } -#if ( mod(clock, 20) < (20*rand(Rng1)) ) texture { T_WIP_color } -#else texture { R_Texture } +#if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) ) + texture { tPlasticPrune } +#else texture { tPlasticGreen } #end } #end diff --git a/hexabenz.pov b/hexabenz.pov index ae32c26..67a27a1 100644 --- a/hexabenz.pov +++ b/hexabenz.pov @@ -13,9 +13,7 @@ object { Le_Decor } -// object { Repere scale 2 } - -#declare Loc_cam = <0, 2, 2*NormClock> + (Pos_RedB_0 * 1.32); +#declare Loc_cam = <0.63, 2, 2*NormClock> + (Pos_RedB_0 * 1.32); camera { location Loc_cam diff --git a/hexastar.inc b/hexastar.inc index f770329..527b96e 100644 --- a/hexastar.inc +++ b/hexastar.inc @@ -19,7 +19,8 @@ union { cone { < 1.34, 0, 0>, Small, < 0.6, 0, 0>, R_a } sphere { 0, R_a scale <0.3, 1, 1> translate < 0.6, 0, 0> } #local R = rand(Rng1); - #if ( R < 0.50 ) texture { GoldDark } + #if ( R < 0.45 ) texture { GoldDark } + #elseif ( R < 0.60 ) texture { Aluminum } #else texture { T_Gold_3C } #end } @@ -31,11 +32,11 @@ union { #declare HS_element_central = object { union { - torus { HS_radius*0.93, 0.0180 } + torus { HS_radius*0.73, 0.0180 } #local L = 0.0035; - cylinder { -y*L, y*L, 0.057 } - sphere { 0, 0.057 translate -y*L } - sphere { 0, 0.057 translate y*L } + cylinder { -y*L, y*L, 0.059 } + sphere { 0, 0.059 translate -y*L } + sphere { 0, 0.059 translate y*L } } scale <1, 25.90, 1> rotate z*90 diff --git a/panoramic.pov b/panoramic.pov index cca0405..ccad480 100644 --- a/panoramic.pov +++ b/panoramic.pov @@ -16,9 +16,9 @@ object { Le_Decor } // ======================================================= -#declare CK = 1.3 + (2.79 * Cos_01(NormClock)); +#declare CK = 1.8 + (2.72 * Cos_01(NormClock)); -#declare CamX = 1.22; +#declare CamX = 1.72; #declare CamY = 7 + (4*Cos_01(NormClock)); #declare LatX = 20 * cos(CK*1.08); @@ -31,5 +31,5 @@ camera { location look_at right - angle 71 + (NormClock * 10) + angle 65 + (NormClock * 15) } diff --git a/passage.pov b/passage.pov index 8499c6a..a6ad736 100644 --- a/passage.pov +++ b/passage.pov @@ -18,7 +18,7 @@ object { HexaCone () translate } /* XXX this two object in dynamic.inc ??? */ object { HexaCone () translate } -object { HexaBenz () translate } +object { HexaStar rotate y*90 translate } object { Le_Decor } @@ -41,7 +41,7 @@ light_source { radius .044 falloff 2 tightness 3 - point_at + point_at } #end diff --git a/survol.pov b/survol.pov index acd001a..0b914a1 100644 --- a/survol.pov +++ b/survol.pov @@ -12,11 +12,11 @@ object { Le_Decor } - +// XXX instrumenter la caméra serait un GROS plus !!! // ======================================================= -#declare Debut = <-3, 89, 188> ; -#declare Fin = < 2, 91, -25> ; +#declare Debut = <-4, 89, 284> ; +#declare Fin = < 5, 91, -6> ; #declare Pos = sqrt(NormClock); #declare PosCam = Interpolate(Debut, Fin, Pos); @@ -24,12 +24,12 @@ object { Le_Decor } #declare LatZ = -(150 + (7*NormClock)); #declare LatCam = PosCam + ; -// object { Repere scale 40 translate LatCam + y*5 } +// object { Repere scale 20 translate LatCam + y*5 } camera { location PosCam look_at LatCam right - angle 72 + angle 66 } diff --git a/tools/mkseqs.sh b/tools/mkseqs.sh index 97b87c9..af76a15 100755 --- a/tools/mkseqs.sh +++ b/tools/mkseqs.sh @@ -3,6 +3,9 @@ source tools/config.sh source tools/fonctions.sh +echo "MKSEX ( $* )" | tee -a WS/log +sleep 1 + for foo in $* do @@ -12,10 +15,10 @@ do tools/build-gif89a.sh $foo else echo "+++ Beurking on $foo" | tee -a WS/log - sleep 10 + sleep 30 fi - visual_sleep "next render is comming" 30 + visual_sleep "next render is comming" 20 done diff --git a/topview.pov b/topview.pov index 61944a8..1b86b39 100644 --- a/topview.pov +++ b/topview.pov @@ -26,7 +26,7 @@ object { HexaBenz () translate <-9+NormClock, 2, -6> } /* * nouveau 11 fevrier 2025 */ -#declare A = <-21, -0.9, (SzSol/2)+9>; +#declare A = <-24, -0.9, (SzSol/2)+9>; #declare B = < 33, -0.7, (SzSol/2)+7>; #declare P = Interpolate(A, B, NormClock); object { HexaWood translate P } @@ -35,7 +35,7 @@ object { HexaWood translate P } object { Le_Decor } -#declare CamY = 36 - (21.36 * Cos_01(NormClock)); +#declare CamY = 36 - (10.05 * Cos_01(NormClock)); #declare LatY = -4 + ( 2.12 * NormClock); camera { @@ -45,5 +45,5 @@ camera { // focal_point <2, 1, 12> // aperture 0.046 // blur_samples 30 - angle 45 + (52*NormClock) + angle 45 + (58*NormClock) } diff --git a/trident.inc b/trident.inc index e336e00..4262129 100644 --- a/trident.inc +++ b/trident.inc @@ -83,9 +83,9 @@ union { // ------------------------------------------------------ #macro Trident_A () union { - object { Trid_A_head () translate y*0.83 } + object { Trid_A_head () translate y*0.83 } object { Trid_A_body () } - object { Trid_A_tail () translate -y*0.6 } + object { Trid_A_tail () translate -y*0.60 } // object { Repere translate <0.1, 0, 0.1> } } #end diff --git a/xperiment.inc b/xperiment.inc index 1854e9a..05cae25 100644 --- a/xperiment.inc +++ b/xperiment.inc @@ -15,10 +15,11 @@ union { #local EZ = 2.3; object { Trident_A () rotate x*87 } object { HexaBenz () translate <-EX, 0, -EZ> } - object { HexaCone () translate < EX, -0.2, -EZ> } + object { HexaCone () translate < EX, -0.4, -EZ> } object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> } - object { HexaCone () translate < EX*2, -0.2, -EZ*2> } + object { HexaCone () translate < EX*2, 0.3, -EZ*2> } } +rotate y*90 // pour pointer vers X } /* =============================================================== */