a lot of cosmetic

This commit is contained in:
Tonton Th 2025-09-12 03:56:21 +02:00
parent 11717a4f6a
commit 898828b49d
11 changed files with 35 additions and 27 deletions

View File

@ -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 }
// =======================================================

View File

@ -21,8 +21,8 @@
// dessiner une grille
#for (Foo, -150, 150, 10)
cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.12 }
cylinder { <Foo, 0, -150>, <Foo, 0, 150>, 0.12 }
cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.10 }
cylinder { <Foo, 0, -150>, <Foo, 0, 150>, 0.10 }
#end
// ---------------------------------------------------------

View File

@ -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
}

View File

@ -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 <CamX, CamY, CamZ>

View File

@ -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

View File

@ -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 {

View File

@ -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 }

View File

@ -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, <C2X, 4.5, C2Z>, 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>
}
// =======================================================

View File

@ -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

View File

@ -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
}

View File

@ -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
}