From 877b5aaef60f41a66ad5268f913e1ffb225cbafd Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Sat, 18 Oct 2025 01:54:04 +0200 Subject: [PATCH] add more choses --- contexte.inc | 18 +++++++++++++++--- gadgets.inc | 17 +++++++++-------- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/contexte.inc b/contexte.inc index 45b2935..d1cbb9f 100644 --- a/contexte.inc +++ b/contexte.inc @@ -83,7 +83,7 @@ union { } light_source { y*0.10 rgb <0.8, 0.9, 0.999999999> - fade_distance 3.96 + fade_distance 3.90 fade_power 1.55 } } @@ -118,7 +118,7 @@ union { { union { - #for (Ang, 0, 359, 8) + #for (Ang, 0, 359, 6) #local De = 3.6 + (0.5*rand(Rng1)); #if (rand(Rng1) < 0.50) #local E = R_circular + De; @@ -284,6 +284,18 @@ union { } rotate -19 * y } +/* ======================================================= */ +/* new Fri Oct 17 07:13:51 PM CEST 2025 */ +#declare Les_Choses = object +{ +union { + object { Chose translate <-25, 0, -31> } + object { Chose translate < 20, 0, -34> } + object { Chose translate < 41, 0, 71> } + object { Chose translate <-44, 0, 60> } + } +} + /* ======================================================= */ #declare Les_Lumieres = object @@ -374,7 +386,7 @@ union { object { Les_GyroPhares () } object { Les_HexaPoles } object { Horloge rotate y*27 translate < 3, 0, -30> } - object { Chose translate <-25, 0, -31> } + object { Les_Choses } } } /* ------------------------------------------------------------ */ diff --git a/gadgets.inc b/gadgets.inc index 2a99207..fc1d9a2 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -16,16 +16,17 @@ merge { cone { -1.2*y, 0.81, 0.2*y, 1.12 } sphere { 0.2*y 0.73 } } - #local CK = NormClock * 7.654; + #local CK = NormClock * 8.654; #for (Foo, 0, 7) - #local C2X = 4 * sin(CK+rand(Rng1)) * sin(CK*3); - #local C2Z = 3 * (sin(-CK+rand(Rng1)) * cos(CK*(5+rand(Rng1)))); - #local R = 0.05+(0.04*Cos_010(NormClock)); - cylinder { 0, , R } - sphere { , R } + #local C2X = 3.4 * sin(CK+rand(Rng1)) * sin(CK*3); + #local C2Z = 2.3 * (sin(-CK+rand(Rng1)) * cos(CK*(5+rand(Rng1)))); + #local R = 0.06+(0.04*Cos_010(NormClock)); + #local H = 4.2; + cylinder { 0, , R } + sphere { , R } #end } -#if (NormClock < 225) +#if (rand(Rng1) < 0.225) texture { tPlasticOrange } #else texture { Ruby_Glass } @@ -33,7 +34,7 @@ merge { scale <0.62, 0.5, 0.61> rotate -y*clock -translate y*1.50 +translate y*1.20 } /* ======================================================= */