thi is a really big commit

This commit is contained in:
Tonton Th
2025-10-10 12:52:49 +02:00
parent a5f2e41502
commit 8c60007b71
20 changed files with 136 additions and 78 deletions

View File

@@ -43,7 +43,7 @@ union {
}
torus { E, E*0.05
scale <1, 2.4, 1> rotate x*90
#if ( rand(Rng1) < 0.5 )
#if ( rand(Rng1) < 0.65 )
texture { T_Planete_A }
#else
texture { T_Planete_B }
@@ -67,7 +67,7 @@ merge {
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
#local Dza = z * 0.25;
#local Dzb = z * 0.95;
#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> }
@@ -88,7 +88,7 @@ difference {
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
}
scale <1, 1, 4.4>
#if ( rand(Rng1) < 0.360)
#if ( rand(Rng1) < 0.390)
texture { Shadow_Clouds scale 0.56 }
#else
texture { Flashy }
@@ -110,7 +110,9 @@ rotate -z*clock*8
}
// -------------------------------------------
/*
* This part need more work
*/
#local Forme_Cockpit = object
{
difference {
@@ -118,11 +120,11 @@ difference {
sphere { 0, R_Tube*0.72 scale 0.99 }
#for (Foo, 0, 359, 36)
cylinder { x, 0, R_Tube*0.15
translate y*(R_Tube*0.32)
translate y*(R_Tube*0.34)
rotate y*Foo }
#end
}
scale <1, 0.87, 1>
scale <1, 0.92, 1>
translate z*L_Tube*1.18
}
@@ -135,9 +137,9 @@ difference {
cylinder { z*L_Tube*1.6, -z*L_Tube, R_Tube }
/* les deux bouts du cylindre creux */
#local R2 = (R_Tube + R_int) / 2;
torus { R2, E_tube scale <1, 4, 1>
torus { R2, E_tube scale <1, 5, 1>
rotate x*90 translate z*L_Tube*1.6 }
torus { R2, E_tube scale <1, 4, 1>
torus { R2, E_tube scale <1, 5, 1>
rotate x*90 translate -z*L_Tube }
/* cette sphere devrait devenir
@@ -150,6 +152,12 @@ difference {
texture { Soft_Silver scale 6.0 }
}
// ------------------------------------------------------
#warning "------> inserer ici antenne pour hexabenz"
// ------------------------------------------------------
#macro Benz_Tube ()
// #declare Benz_Tube = object
// {
@@ -167,7 +175,7 @@ union {
// #declare HexaBenz = object
// {
union {
#local Rk = (rand(Rng1)-0.5) * 1312;
#local Rk = (rand(Rng1)-0.54) * 1312;
object { Benz_Cones () rotate z*NormClock*Rk}
object { Benz_Tube () }
}