From 898828b49d376985ea44eb17d64a010507f6b294 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Fri, 12 Sep 2025 03:56:21 +0200 Subject: [PATCH] a lot of cosmetic --- bubblecut.pov | 2 +- carto.pov | 4 ++-- contexte.inc | 2 +- cutoff.pov | 6 +++--- dynamic.inc | 6 +++--- escadrille.pov | 4 ++-- essai.pov | 8 ++++---- gadgets.inc | 20 ++++++++++++++------ hexacone.pov | 2 +- hexawood.pov | 2 +- survol.pov | 6 +++--- 11 files changed, 35 insertions(+), 27 deletions(-) diff --git a/bubblecut.pov b/bubblecut.pov index 5baed1e..3d5bee1 100644 --- a/bubblecut.pov +++ b/bubblecut.pov @@ -36,7 +36,7 @@ sphere { Position, 0.020 translate y*TY + POS_Cutoff texture { T_WIP_alert } } /* this one is for debugging */ -object { OpenBox translate y*TY + POS_Cutoff } +// object { OpenBox translate y*TY + POS_Cutoff } // object { Repere translate y*2.8 + POS_Cutoff } // ======================================================= diff --git a/carto.pov b/carto.pov index 0974002..6d102fa 100644 --- a/carto.pov +++ b/carto.pov @@ -21,8 +21,8 @@ // dessiner une grille #for (Foo, -150, 150, 10) - cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.12 } - cylinder { , , 0.12 } + cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.10 } + cylinder { , , 0.10 } #end // --------------------------------------------------------- diff --git a/contexte.inc b/contexte.inc index f692380..8393bf2 100644 --- a/contexte.inc +++ b/contexte.inc @@ -320,7 +320,7 @@ sky_sphere { [ 0.9 color rgb <.9, .6, .5> ] [ 1.0 color Gray20 ] } - turbulence 3.14159 + 0.74 * Cos_010(NormClock) + turbulence 3.14159 + 0.84 * Cos_010(NormClock) scale 1.600 // translate -1 } diff --git a/cutoff.pov b/cutoff.pov index 0b96f80..5bef47d 100644 --- a/cutoff.pov +++ b/cutoff.pov @@ -31,7 +31,7 @@ difference { // object { Repere scale 2 translate y*2.6 + POS_Cutoff } /* this one is for debugging */ -object { OpenBox translate y*TY + POS_Cutoff } +// object { OpenBox translate y*TY + POS_Cutoff } // ======================================================= light_source { @@ -45,9 +45,9 @@ object { Le_Decor } // ======================================================= -#local CamX = -25.4 + (2.19*Cos_01(NormClock)); +#local CamX = -25.4 + (2.39*Cos_01(NormClock)); #local CamY = 1.6 - (0.24*sqrt(NormClock)); -#local CamZ = -0.85 + (2.02*NormClock); +#local CamZ = -1.85 + (4.02*NormClock); camera { location diff --git a/dynamic.inc b/dynamic.inc index 27bc293..c2526ef 100644 --- a/dynamic.inc +++ b/dynamic.inc @@ -25,10 +25,10 @@ object { BiBenz rotate -y*(clock*0.19) translate Pos_RedB_0 } #local K = 1.27; union { object { HexaCone () rotate y*90 translate <-K, 1.7, 0> } - object { HexaCone () translate < K, 1.9, 0> } + object { HexaCone () rotate <4, 1, 6> translate < K, 1.9, 0> } } } -object { BiCone rotate -y*(Cos_010(NormClock)*777) translate Pos_RedB_1 } +object { BiCone rotate -y*(Cos_010(NormClock)*666) translate Pos_RedB_1 } /* * on fait passer un hexatruc dans le ciel @@ -90,7 +90,7 @@ object { HexaWood rotate z*R translate P_hexawood } * survol par un trident */ #declare A = < 2, 49, -20>; -#declare B = <-3, 47, 22>; +#declare B = <-3, 37, 22>; #declare P = Interpolate(A, B, NormClock); object { Trident_A () rotate y*(clock*2.7) rotate z*80 diff --git a/escadrille.pov b/escadrille.pov index 70d7f88..dc1e973 100644 --- a/escadrille.pov +++ b/escadrille.pov @@ -54,8 +54,8 @@ object { Le_Decor } // object { Repere scale 5 translate y } -#local CamX = -8.7 + ( 6.6 * Cos_01(NormClock)); -#local CamY = 0.95 + (22.64 * Cos_01(NormClock)); +#local CamX = -8.7 + ( 6.9 * Cos_01(NormClock)); +#local CamY = 0.95 + (24.64 * Cos_01(NormClock)); #local CamZ = 16.86 + (12.9 * Cos_01(NormClock)); camera { diff --git a/essai.pov b/essai.pov index 3162797..2953c03 100644 --- a/essai.pov +++ b/essai.pov @@ -57,7 +57,7 @@ union { object { Gyros } -#declare Selector = mod(int(clock/14), 6); +#declare Selector = mod(int(clock/17), 6); #debug concat("Selector = ", str(Selector, 6, 0), "\n") #switch (Selector) @@ -74,12 +74,12 @@ object { Gyros } #debug " HexaWood !!!\n" #break #case (3) - object { Chose } + object { Chose rotate y*clock } #debug " Chose\n" #break #case (4) - object { Tridents scale 1.7 translate -y*0.1 } - #debug " Tridents !!!\n" + object { Chose rotate -y*clock } + #debug " Chose\n" #break #case (5) object { Horloge } diff --git a/gadgets.inc b/gadgets.inc index 6bf5a39..d7bdb24 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -5,17 +5,25 @@ /* ======================================================= */ /* new 30 aout 2025 + * + * une idée à creuser davantage... */ #declare Chose = object { merge { - cylinder { 2*z, 0.5, 1.32 } - cylinder { 1*x, 4.5*y, 0.20+(0.5*Cos_010(NormClock)) } + cone { 1.2*z, 0.91, 0.5, 1.22 } + #local C2X = 8 * sin(NormClock) * sin(NormClock*3); + #local C2Z = 5 * (sin(-NormClock) * cos(NormClock*5)); + cylinder { 1*x, , 0.20+(0.2*Cos_010(NormClock)) } + #local P2 = (clock/51)+1; + cylinder { 0, P2, 0.04 } + sphere { P2, 0.09 } } texture { tPlasticOrange } -scale <0.8, 0.6, 0.9> -translate y*1.6666 +scale <0.6, 0.5, 0.7> +rotate -y*clock +translate y*1.6666666 } /* ======================================================= */ @@ -27,11 +35,11 @@ translate y*1.6666 text { // ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0 ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0 - texture { T_WIP_alert } + texture { tPlasticGreen } } scale 3.00 rotate 90*x -translate <-4.5, 0.04, 0> +translate <-4.5, 0.044, 0> } // ======================================================= diff --git a/hexacone.pov b/hexacone.pov index 30e9d52..dd458dd 100644 --- a/hexacone.pov +++ b/hexacone.pov @@ -24,7 +24,7 @@ object { Le_Decor } // object { Repere scale 2 } -#declare Loc_cam = <2, 2.5, 1> + (Pos_RedB_1 * 1.363); +#declare Loc_cam = <2, 2.5, 1> + (Pos_RedB_1 * 1.383); camera { location Loc_cam diff --git a/hexawood.pov b/hexawood.pov index b312faa..1d9a267 100644 --- a/hexawood.pov +++ b/hexawood.pov @@ -23,7 +23,7 @@ object { Le_Decor } // object { Repere translate <10, 1, 10> } camera { - location <39, 2, 14> + location <39, 2+NormClock, 14> look_at <-20, 1.7, 25.6> angle 26 + 2*NormClock } diff --git a/survol.pov b/survol.pov index 0944e82..13d75c0 100644 --- a/survol.pov +++ b/survol.pov @@ -23,8 +23,8 @@ object { Le_Decor } // ======================================================= -#declare Debut = <-3, 87, 131> ; -#declare Fin = < 2, 91, 31> ; +#declare Debut = <-3, 87, 151> ; +#declare Fin = < 2, 91, 41> ; #declare Pos = Cos_01(NormClock); #declare PosCam = Interpolate(Debut, Fin, Pos); @@ -33,6 +33,6 @@ object { Le_Decor } camera { location PosCam look_at LatCam - angle 58 + angle 56 }