more work on hexabenz

This commit is contained in:
Tonton Th 2026-01-01 08:46:21 +01:00
parent 8e58e59806
commit 30ad204b5e

View File

@ -31,7 +31,7 @@ torus { Ec, Ec*0.06
texture { T_Brass_1C } texture { T_Brass_1C }
#end #end
} }
#end #end // macro
// ------------------------------------------------------ // ------------------------------------------------------
@ -159,20 +159,24 @@ texture { Soft_Silver scale 6.0 }
} }
// ------------------------------------------------------ // ------------------------------------------------------
// 1er janvier 2026, il est temps de s'y remettre */
#declare Benz_Antenne = object #macro Benz_Antenne ()
{
#local RBA = 0.026;
union { union {
sphere { 0, RBA } #local RBA = 0.020;
cylinder { 0, <0, 0.23, 0>, RBA*0.233 } sphere { 0, RBA scale <1, 1, 10> }
} union {
scale <1, 1, 10> #local RBA2 = RBA*0.149;
#if ( mod(clock, 20) < (30*rand(Rng1)) ) texture { T_WIP_color } #local E = 0.018;
cylinder { E*z, <0, 0.20, E>, RBA2 }
cylinder { -E*z, <0, 0.20, E>, RBA2 }
scale <1, 1, 5>
}
#if ( mod(clock, 20) < (20*rand(Rng1)) ) texture { T_WIP_color }
#else texture { T_WIP_alert } #else texture { T_WIP_alert }
#end #end
} }
#end
// ------------------------------------------------------ // ------------------------------------------------------
#macro Benz_Tube () #macro Benz_Tube ()
@ -180,14 +184,13 @@ scale <1, 1, 10>
// { // {
union { union {
object { Benz_Tubules () } object { Benz_Tubules () }
object { Benz_Fuseau_Flash translate z*0.40 } object { Benz_Fuseau_Flash translate z*0.35 }
object { Benz_Cylindre } object { Benz_Cylindre }
/* XXX */ /* XXX */
object { Repere } object { Benz_Antenne ()
object { Benz_Antenne translate <0, -0.37, 0.76>
translate <0, -0.41, 0.70> rotate z*45 }
rotate z*30 }
} }
// } // }
#end #end