un bon gros paquet de changements :)

This commit is contained in:
Tonton Th
2026-02-09 12:29:28 +01:00
parent 9de6929b48
commit 47a2089561
22 changed files with 239 additions and 141 deletions

View File

@@ -27,8 +27,7 @@ union {
/*
* element central --- À REFAIRE EN MACRO !
*/
#declare HS_element_central = object
{
#macro HS_element_central ()
union {
torus { HS_radius*0.73, 0.0180 }
#local L = 0.0028;
@@ -36,16 +35,16 @@ union {
cylinder { -y*L, y*L, R }
sphere { 0, R translate -y*L }
sphere { 0, R translate y*L }
}
scale <1, 25.10, 1>
rotate z*90
#local R = rand(Rng1);
#if ( R < 0.33 ) texture { Y_Texture }
#elseif ( R < 0.66 ) texture { T_Gold_1A }
#else texture { Aluminum }
#end
}
scale <1, 24.10, 1>
rotate z*90
#local R = rand(Rng1);
#if ( R < 0.17 ) texture { Y_Texture }
#elseif ( R < 0.66 ) texture { T_Gold_1A }
#else texture { Aluminum }
#end
}
#end
/* ------------------------------------------------------------ */
/* nouveau 14 janvier 2026 */
#macro HS_element_queue ()
@@ -55,8 +54,8 @@ union {
cone { < 0.44, 0, 0>, Small, < 0.88, 0, 0>, R_a }
sphere { 0, R_a scale <0.7, 1, 1> translate <0.88, 0, 0> }
#local R = rand(Rng1);
#if ( R < 0.35 ) texture { C_Texture }
#elseif ( R < 0.50 ) texture { M_Texture }
#if ( R < 0.35 ) texture { Rust }
#elseif ( R < 0.50 ) texture { T_Gold_5A }
#elseif ( R < 0.80 ) texture { Aluminum }
#else texture { T_Gold_3C }
#end
@@ -68,7 +67,7 @@ union {
// UNE ANTENNE ?
/* ============================================================ */
/* On regroupe les six élements */
/* On regroupe les N*six élements */
#declare HS_les_elements = object
{
union {
@@ -82,7 +81,7 @@ union {
translate <0, Ty, Tz>
}
#end // end for
object { HS_element_central }
object { HS_element_central () }
}
}
/* ============================================================ */