From 23254ba7fa72c3ecb8062953fb61495bf74bbc63 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Mon, 15 Dec 2025 14:34:10 +0100 Subject: [PATCH] contexte plus contextuel --- contexte.inc | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/contexte.inc b/contexte.inc index b8c7e09..d13ecb0 100644 --- a/contexte.inc +++ b/contexte.inc @@ -15,14 +15,18 @@ * essai du 12 mars 2025 */ -#declare RedB_0_X = 19; -#declare RedB_0_Z = 29; +#declare RedB_0_X = 19; +#declare RedB_0_Z = 29; #declare RedB_1_X = -24; -#declare RedB_1_Z = 7; +#declare RedB_1_Z = 8; + +#declare RedB_2_X = 41; +#declare RedB_2_Z = -14; #declare Pos_RedB_0 = ; #declare Pos_RedB_1 = ; +#declare Pos_RedB_2 = ; #macro RedBase_0 ( T ) difference { @@ -237,13 +241,15 @@ difference { #declare Repere = object { union { - #local R = 0.010; + #local R = 0.015; cylinder { 0, <1, 0, 0>, R pigment { color Red } } cylinder { 0, <0, 1, 0>, R pigment { color Green } } cylinder { 0, <0, 0, 1>, R pigment { color Blue } } } } +// XXX object { Repere scale 25 translate y + Pos_RedB_2 } + /* ======================================================= */ /* * nouvel éclairage du 10 février 2025 @@ -298,7 +304,7 @@ union { union { #if (1) light_source { - <2.3, 5.50, 2.8> color Gray70 + <2.3, 5.50, 4.86> color Gray70 spotlight radius 14 falloff 10 tightness 8 point_at <0, 0.95, 0.22222222> @@ -331,7 +337,7 @@ sky_sphere { gradient y color_map { [ 0.2 color Gray20 ] - [ 0.4 color rgb <.5, .3, .4> ] + [ 0.4 color rgb <.5, .4, .4> ] [ 0.7 color Gray40 ] [ 0.9 color rgb <.5, .5, .4> ] [ 1.0 color Gray20 ] @@ -357,6 +363,8 @@ union { translate } object { RedBase_0 (T_Beton_2) translate } + object { RedBase_0 (T_Planete_B) + translate } // object { Les_Lumieres } object { QuadriLight } object { Les_GyroPhares () } @@ -364,17 +372,17 @@ union { object { Horloge rotate y*27 translate < 3, 0, -30> } object { Les_Choses } object { Les_Arches (1) rotate y*59 translate <-22, 0, -20> } - object { Les_Arches (2) rotate y*156 translate <-34, 0, -26> } + object { Les_Arches (2) rotate y*152 translate <-34, 0, -26> } object { Les_Cahutes () translate <22, 0, -9> } /* les trucs dans le Y négatif */ - object { OpenBox(2, 0.08) rotate <0, -12+(24*NormClock), 0> - translate <-19, 2, -86> } - object { OpenBox(2, 0.08) rotate <0, -120+(4*NormClock), 0> - translate <-17, 2, -104> } - object { Les_Cahutes () rotate y*7 translate <35, 0, -91> } - object { Les_Cahutes () rotate y*2 translate <31, 0, -79> } + object { OpenBox(1.5, 0.08) translate <-16, 1.49, -86> } + object { OpenBox(1.5, 0.08) translate <-18, 1.52, -104> } + object { OpenBox(1.5, 0.08) translate <-17, 1.52, -134> } + object { Les_Cahutes () translate <27, 0, -79> } + object { Les_Cahutes () translate <31, 0, -91> } + object { Les_Cahutes () translate <33, 0, -91> } } } /* ------------------------------------------------------------ */