le commit avant-sieste

This commit is contained in:
Tonton Th
2025-12-18 22:28:33 +01:00
parent 38d3863124
commit 9aa1f37dcf
7 changed files with 46 additions and 33 deletions

View File

@@ -75,10 +75,13 @@ object {
// #debug concat(" Arche, val = ", str(Val, 6, 4), "\n")
merge {
#local Ha = 2;
#local D2 = Val * 1.414;
// mettre une base de la colonne
cylinder { <-1, 0, 0>, <-1, 0.20, 0> Val*1.49 }
cylinder { < 1, 0, 0>, < 1, 0.20, 0> Val*1.41 }
sphere { < 1, 0.20, 0> Val*1.41 }
cylinder { <-1, 0, 0>, <-1, 0.20, 0> D2 }
cylinder { < 1, 0, 0>, < 1, 0.20, 0> D2 }
sphere { 0, D2 scale <1, 0.5, 1> translate <-1, 0.20, 0> }
sphere { 0, D2 scale <1, 0.5, 1> translate < 1, 0.20, 0> }
// les deux futs de l'arche
cylinder { <-1, 0, 0>, <-1, Ha, 0>, Val }
cylinder { < 1, 0, 0>, < 1, Ha, 0>, Val }
#if (rand(Rng1) < 0.50)
@@ -134,7 +137,7 @@ union {
#macro Cahute_0 ()
difference {
#local KX = 0.55;
#local KX = 0.52;
#local KH = 1.80 + rand(Rng1) ;
// #debug concat(" Cahute_0, KH = ", str(KH, 6, 4), "\n")
#local KZ = KX + (0.24*rand(Rng1));
@@ -150,12 +153,9 @@ difference {
#local R = rand(Rng1);
// #debug concat("Random = ", str(R, 6, 4), "\n")
#if ( R < 0.19 )
texture { T_Planete_A }
#elseif ( R < 0.56 )
texture { T_Beton_1 }
#else
texture { T_Beton_2 }
#if ( R < 0.19 ) texture { T_Planete_A }
#elseif ( R < 0.56 ) texture { T_Beton_1 }
#else texture { T_Beton_2 }
#end // if
rotate y * (277 * rand(Rng1))