un bon gros paquet de changements :)
This commit is contained in:
29
hexastar.inc
29
hexastar.inc
@@ -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 () }
|
||||
}
|
||||
}
|
||||
/* ============================================================ */
|
||||
|
||||
Reference in New Issue
Block a user