commit of a sunny trolldi

This commit is contained in:
Tonton Th
2026-04-24 10:46:23 +02:00
parent feee435a55
commit a338717ac8
13 changed files with 42 additions and 36 deletions

View File

@@ -15,9 +15,9 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare LocX = -0.5 + (2*Cos_010(NormClock)); #declare LocX = -1.5 + (2.10*Cos_010(NormClock));
#declare LocY = 2.6 - NormClock; #declare LocY = 2.6 - NormClock;
#declare LocZ = -200 + (118 * NormClock); #declare LocZ = -180 + (105 * NormClock);
#declare LatCam = <0, 0.92+NormClock, 0>; #declare LatCam = <0, 0.92+NormClock, 0>;

View File

@@ -10,7 +10,7 @@
#macro Jalon_0 (Rad, Hei, Ttu) #macro Jalon_0 (Rad, Hei, Ttu)
merge { merge {
cylinder { 0, Hei*y, Rad } cylinder { 0, Hei*y, Rad }
sphere { 0, Rad*2 scale <1, 0.333, 1> translate Hei*y } sphere { 0, Rad*2.75 scale <1, 0.333, 1> translate Hei*y }
texture { Ttu } texture { Ttu }
} }
#end #end

View File

@@ -14,12 +14,12 @@
#declare POS_Cutoff = <-21, 0, -8>; #declare POS_Cutoff = <-21, 0, -8>;
#local TY = 1.55; #local TY = 1.65;
#declare Position = <0.50, -0.70, 0.75>; #declare Position = <0.50, -0.70, 0.75>;
#declare Rayon = 0.70 + 1.52 * NormClock; // rayon de la sphere #declare Rayon = 0.70 + 1.52 * NormClock; // rayon de la sphere
// de découpe // de découpe
#debug concat("Rayon decoupe = ", str(Rayon, 8, 3), "\n\n") #debug concat("Rayon decoupe = ", str(Rayon, 8, 3), "\n")
difference { difference {
object { HexaBenz () } object { HexaBenz () }
@@ -49,7 +49,7 @@ object { Le_Decor }
// ======================================================= // =======================================================
#local CamX = -27.4 + (2.29*Cos_01(NormClock)); #local CamX = -27.4 + (2.29*Cos_01(NormClock));
#local CamY = 2.7 - (0.24*sqrt(NormClock)); #local CamY = 1.9 - (0.24*sqrt(NormClock));
#local CamZ = -0.85 + (2.02*NormClock); #local CamZ = -0.85 + (2.02*NormClock);
camera { camera {

View File

@@ -19,7 +19,7 @@ object { Repere scale 10 translate y*20 }
union { union {
#for (Foo, -140, 140, 10) #for (Foo, -140, 140, 10)
#local H = 0.07; #local H = 0.07;
#local Ra = 0.05; #local Ra = 0.055;
cylinder { <-150, H, Foo>, <150, H, Foo>, Ra } cylinder { <-150, H, Foo>, <150, H, Foo>, Ra }
cylinder { <Foo, H, -150>, <Foo, H, 150>, Ra } cylinder { <Foo, H, -150>, <Foo, H, 150>, Ra }
#end #end
@@ -30,8 +30,8 @@ union {
object { Le_Decor } object { Le_Decor }
camera { camera {
location <46, 199+(137*NormClock), 18-(12*NormClock)> location <46, 199+(250*NormClock), 8-(3*NormClock)>
look_at <0, 1.18, 0.17 + (2.4*NormClock)> look_at <0, 1.18, 0.17 - (42*NormClock)>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 35 angle 35
} }

View File

@@ -10,15 +10,17 @@
#declare Les_Jalons = object #declare Les_Jalons = object
{ {
union { union {
#local EC = SzSol + 111; #local EC = SzSol + 175;
/* les coins */ /* les coins */
object { Jalon_0 (0.5, 3, LeGris) translate <-EC, 0, -EC> } object { Jalon_0 (0.5, 8, LeGris) translate <-EC, 0, -EC> }
object { Jalon_0 (0.5, 3, LeGris) translate < EC, 0, -EC> } object { Jalon_0 (0.5, 8, LeGris) translate < EC, 0, -EC> }
object { Jalon_0 (0.5, 3, LeGris) translate <-EC, 0, EC> } object { Jalon_0 (0.5, 8, LeGris) translate <-EC, 0, EC> }
object { Jalon_0 (0.5, 3, LeGris) translate < EC, 0, EC> } object { Jalon_0 (0.5, 8, LeGris) translate < EC, 0, EC> }
/* les milieux des cotés */ /* les milieux des cotés */
object { Jalon_0 (0.5, 6, LeGris) translate < 0, 0, -EC> } object { Jalon_0 (0.5, 6, LeGris) translate < 0, 0, -EC> }
object { Jalon_0 (0.6, 6, LeGris) translate < 0, 0, EC> } object { Jalon_0 (0.6, 6, LeGris) translate < 0, 0, EC> }
object { Jalon_0 (0.5, 6, LeGris) translate < EC, 0, 0> }
object { Jalon_0 (0.6, 6, LeGris) translate <-EC, 0, 0> }
} }
} }
/* ======================================================= */ /* ======================================================= */
@@ -28,7 +30,7 @@ union {
object { Portique_A () rotate -y*9 } object { Portique_A () rotate -y*9 }
object { Portique_A () scale <1, 1.2, 1> translate z*11 } object { Portique_A () scale <1, 1.2, 1> translate z*11 }
object { Portique_A () rotate y*9 translate z*22 } object { Portique_A () rotate y*9 translate z*22 }
box { <-4, 0, -2>, <4, 0.03, 24> texture { LeGris } } box { <-4.1, 0, -2>, <4.1, 0.03, 24> texture { LeGris } }
} }
#end // macro trois portiques #end // macro trois portiques
@@ -199,13 +201,13 @@ union {
object { HexaBalls object { HexaBalls
texture { Lightning1 scale 0.44 } texture { Lightning1 scale 0.44 }
rotate <clock/3, clock/4, clock/9> rotate <clock/3, clock/4, clock/9>
translate <2, 0.57+Cos_010(NormClock), 4> translate <2, 0.37+Cos_010(NormClock), 4>
} }
object { HexaBalls object { HexaBalls
texture { Lightning2 scale 0.56 } texture { Lightning2 scale 0.56 }
rotate <-clock, clock*0.33333, clock*3> rotate <-clock, clock*0.33333, clock*3>
translate <4, 0.61+Cos_010(NormClock), -3> translate <4, 0.21+Cos_010(NormClock), -3>
} }
} }
} }
@@ -308,7 +310,9 @@ union {
#local CK = radians(foo + (11*rand(Rng1))); #local CK = radians(foo + (11*rand(Rng1)));
#local DX = 83 * sin(CK); #local DX = 83 * sin(CK);
#local DZ = 79 * cos(CK); #local DZ = 79 * cos(CK);
object { Chose () translate < DX, 0, DZ> } // XXX #if (abs(DX) > 17)
object { Chose () translate < DX, 0, DZ> }
#end
#end #end
} }
} }
@@ -364,7 +368,7 @@ union {
object { QuadriLight } object { QuadriLight }
object { Les_GyroPhares () } object { Les_GyroPhares () }
object { Les_HexaPoles } object { Les_HexaPoles }
object { HorlogeDouble rotate y*(114*NormClock) object { HorlogeDouble rotate y*(134*NormClock)
translate < 8, 0, -30> } translate < 8, 0, -30> }
object { Les_Choses } object { Les_Choses }
object { Les_Arches (1.9) rotate y*112 translate <-34, 0, -26> } object { Les_Arches (1.9) rotate y*112 translate <-34, 0, -26> }

View File

@@ -426,8 +426,9 @@ union {
// object { Repere translate y*1 } // object { Repere translate y*1 }
#break #break
#case (4) #case (4)
object { Un_Autre_Cube (0.666) rotate x*42 translate <3, 1.8, 0> } object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 1.8, 1> }
object { Un_Autre_Cube (0.888) translate <0, 1.8, 2> } object { HorlogeDouble scale 2.8
rotate y*(214*NormClock) translate <-3, 0, -2> }
#break #break
#end // switch selector #end // switch selector

View File

@@ -204,14 +204,14 @@ prism {
#macro HexaPole_abatjour (Quux) #macro HexaPole_abatjour (Quux)
union { union {
#local Raj = 0.333; #local Raj = 0.333;
torus { Raj, 0.018 translate -y*Quux } torus { Raj, 0.014 translate -y*Quux }
#for (Foo, 0, 359, 18) #for (Foo, 0, 359, 18)
#local DX = Raj * sin(radians(Foo)); #local DX = Raj * sin(radians(Foo));
#local DZ = Raj * cos(radians(Foo)); #local DZ = Raj * cos(radians(Foo));
cylinder { -y*Quux, y*Quux, 0.013 translate <DX, 0, DZ> } cylinder { -y*Quux, y*Quux, 0.010 translate <DX, 0, DZ> }
#end // for #end // for
torus { Raj, 0.02 translate y*Quux } torus { Raj, 0.02 translate y*Quux }
rotate y*(clock*0.40*(rand(Rng1)-0.59)) rotate y*(clock*0.90*(rand(Rng1)-0.59))
} }
#end // macro #end // macro
@@ -230,7 +230,7 @@ union {
#local Val = 0.25 + 0.5*rand(Rng1); #local Val = 0.25 + 0.5*rand(Rng1);
light_source { light_source {
P rgb <0.80, 0.25+(0.5*rand(Rng1)), 0.99> P rgb <0.80, 0.25+(0.5*rand(Rng1)), 0.99>
fade_distance 3.80 fade_distance 3.30
fade_power 1.55 fade_power 1.55
} }
#else #else

View File

@@ -11,7 +11,7 @@ global_settings {
#include "stones.inc" #include "stones.inc"
#include "woods.inc" #include "woods.inc"
#declare Rng1 = seed(1515); #declare Rng1 = seed(8.6);
#declare foo = rand(Rng1); #declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60); #declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2); #declare bar = rand(Rng2);

View File

@@ -47,8 +47,7 @@ texture { T_Beton_2 }
text { text {
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0 ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
// texture { T_WIP_alert } // texture { T_WIP_alert }
texture { T_WIP_bluewave rotate <0, clock, NormClock*720> texture { Flashy rotate <0, clock*0.50, 0> }
scale 0.59 }
} }
} }
#declare Cabane_Compteur = object #declare Cabane_Compteur = object
@@ -68,7 +67,7 @@ intersection {
png "datas/hf.png" smooth png "datas/hf.png" smooth
translate <-.5, 0, -.5> translate <-.5, 0, -.5>
#local SC = SzSol * 1.111; #local SC = SzSol * 1.111;
scale <SC, 0.95, SC> scale <SC, 0.999, SC>
texture { texture {
pigment { pigment {
image_map { png "datas/cuivre.png" } image_map { png "datas/cuivre.png" }

View File

@@ -15,7 +15,7 @@ object { Le_Decor }
#declare Loc_cam = <0.63, 2, 2*NormClock> + (Pos_RedB_0 * 1.32); #declare Loc_cam = <0.63, 2, 2*NormClock> + (Pos_RedB_0 * 1.32);
#declare Lat_Y = 1.21 + 0.16*NormClock; #declare Lat_Y = 1.21 + 0.19*NormClock;
camera { camera {
location Loc_cam location Loc_cam

View File

@@ -20,7 +20,7 @@ object { Le_Decor }
camera { camera {
location Loc_cam location Loc_cam
#local H = 1.16 + (NormClock*0.42); #local H = 1.16 + (NormClock*0.44);
look_at Pos_RedB_1 + <0.02, H, 0> look_at Pos_RedB_1 + <0.02, H, 0>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
// focal_point <0.37, 0.90, 0> // focal_point <0.37, 0.90, 0>

View File

@@ -72,7 +72,7 @@ object { HexaCone ()
#declare PosY = 0; #declare PosY = 0;
#declare PosZ = RO * cos(CK+3.23); #declare PosZ = RO * cos(CK+3.23);
object { Trident_A () object { Trident_A ()
rotate <clock*0.3, 0, clock*0.7> rotate <clock*0.3, 0, clock*0.9>
rotate y*CK*99.22 translate <PosX, PosY, PosZ> rotate y*CK*99.22 translate <PosX, PosY, PosZ>
} }
@@ -88,7 +88,7 @@ light_source { <23, 10, 15>, rgb <0.77, 0.79, 0.80> }
// ------------------------------------------------------------- // -------------------------------------------------------------
camera { camera {
location <9+NormClock, 1.60+(17*NormClock), 11.59> location <9+NormClock, -2.60+(24*NormClock), 11.59>
look_at <0.0, 0.0, 0> look_at <0.0, 0.0, 0>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
#if (0) #if (0)

View File

@@ -32,11 +32,13 @@ object { Le_Decor }
#declare CamY = 47 - (9.70 * Cos_01(NormClock)); #declare CamY = 47 - (9.70 * Cos_01(NormClock));
#declare CamZ = 10.70 + (2*NormClock); #declare CamZ = 10.70 + (2*NormClock);
#declare LatY = -4 + ( 2.12 * NormClock); #declare LatY = -4 + ( 2.82 * NormClock);
camera { camera {
location <-3.60, CamY, CamZ> spherical // XXX !
look_at <0.6, LatY, 0> normal { bumps 0.85 scale 0.50 } // XXX !
location <-4.60, CamY, CamZ>
look_at <0, LatY, 0>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
// focal_point <2, 1, 12> // focal_point <2, 1, 12>
// aperture 0.046 // aperture 0.046