tweaking the trident

This commit is contained in:
Tonton Th 2025-03-20 21:23:43 +01:00
parent bb68a37188
commit ebe9eba8da

View File

@ -15,7 +15,7 @@ difference {
#if (Foo < 0.25)
texture { T_Brass_2C }
#elseif (Foo < 0.50)
texture { T_Silver_3A }
texture { T_Planete_B }
#elseif (Foo < 0.75)
texture { T_Chrome_3A }
#else
@ -28,7 +28,7 @@ difference {
#macro Trid_A_head ()
union {
#for (A, 0, 360, 120)
#local E = 0.21;
#local E = 0.23;
#local Tx = E * sin(radians(A));
#local Tz = E * cos(radians(A));
object { Trid_A_cone () translate <Tx*2, 0, Tz> }
@ -44,9 +44,9 @@ merge {
cylinder { <0, -L, 0>, <0, L, 0>, 0.065 }
sphere { 0, 0.065 scale <1, 6, 1> translate y*L }
#if (rand(Rng1) < 0.50)
texture { T_Silver_2C }
texture { Lightning2 }
#else
texture { T_Copper_1E }
texture { New_Penny }
#end
}
#undef L
@ -54,10 +54,10 @@ merge {
// ------------------------------------------------------
#macro Trid_A_ailette ()
union {
#local E = 0.46;
#local E = 0.49;
object { Trid_A_cone () scale 0.7 translate x*E }
cylinder { 0, x*E, 0.014
scale <1, 3, 1> texture { T_Silver_3A } }
cylinder { 0, x*E, 0.012
scale <1, 4, 1> texture { T_Silver_3A } }
#undef E
}
#end