a lot of patches

This commit is contained in:
Tonton Th
2026-01-14 14:01:20 +01:00
parent 83c8ce3f79
commit 0c4aa1a31c
16 changed files with 96 additions and 70 deletions

View File

@@ -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>, <R+0.4, H*0.42, R+0.6> }
cylinder { <R1, -1, R2>, <R1, 1, R2>, 0.27 }
box { <-0.19, 0, -0.17>, <R+0.4, H*0.48, R+0.6> }
cylinder { <R1, -1, R2>, <R1, 1, R2>, 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>;