les derniers commits de 2026

This commit is contained in:
Tonton Th
2026-01-01 00:50:52 +01:00
parent d3e630b423
commit 0ba81b2668
21 changed files with 192 additions and 86 deletions

View File

@@ -74,16 +74,16 @@ merge {
#for (foo, 0, 360, 30)
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
#local Dza = z * 0.25;
#local Dza = z * 0.27;
#local Dzb = z * 0.97;
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
#end
#if ( rand(Rng1) < 0.520)
texture { Orange_Glass }
#else
texture { Yellow_Glass }
#local R = rand(Rng1);
#if ( R < 0.320) texture { Orange_Glass }
#elseif (R < 0.64) texture { Ruby_Glass }
#else texture { Yellow_Glass }
#end
}
#end
@@ -96,10 +96,8 @@ difference {
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
}
scale <1, 1, 4.4>
#if ( rand(Rng1) < 0.390)
texture { Shadow_Clouds scale 0.56 }
#else
texture { Flashy }
#if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 }
#else texture { Flashy }
#end
#end // end macro
@@ -162,7 +160,18 @@ texture { Soft_Silver scale 6.0 }
// ------------------------------------------------------
#warning "===>> inserer antenne pour hexabenz"
#declare Benz_Antenne = object
{
#local RBA = 0.026;
union {
sphere { 0, RBA }
cylinder { 0, <0, 0.23, 0>, RBA*0.233 }
}
scale <1, 1, 10>
#if ( mod(clock, 20) < (30*rand(Rng1)) ) texture { T_WIP_color }
#else texture { T_WIP_alert }
#end
}
// ------------------------------------------------------
@@ -171,8 +180,14 @@ texture { Soft_Silver scale 6.0 }
// {
union {
object { Benz_Tubules () }
object { Benz_Fuseau_Flash translate z*0.40 }
object { Benz_Fuseau_Flash translate z*0.40 }
object { Benz_Cylindre }
/* XXX */
object { Repere }
object { Benz_Antenne
translate <0, -0.41, 0.70>
rotate z*30 }
}
// }
#end