a lot of change, stay tuned

This commit is contained in:
Tonton Th
2025-02-19 02:49:16 +01:00
parent 532560518c
commit db5eedffe1
17 changed files with 285 additions and 205 deletions

View File

@@ -9,7 +9,7 @@ union {
#local RA = R_basecone;
#local RB = 0.001;
cone { 0, RA, y*0.89, 0.0001 }
sphere { 0, RA*1.098 scale <1, 0.62, 3.03> translate -0.02*y }
sphere { 0, RA*1.098 scale <1, 0.58, 3.03> translate -0.02*y }
}
// }
#end
@@ -18,7 +18,7 @@ union {
// {
union {
#for (foo, 0, 360, 60)
#local E = 0.35;
#local E = 0.31;
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
object {
@@ -46,14 +46,14 @@ union {
// ------------------------------------------------------
#declare R_Tube = 0.20;
#declare R_Tube = 0.18;
#local L_Tube = 0.54;
#macro Benz_Tubules ()
merge {
#local E = R_Tube * 0.75;
#local R = 0.01;
#for (foo, 0, 360, 20)
#local R = 0.009;
#for (foo, 0, 360, 30)
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
#local Dza = z * 0.20;
@@ -62,7 +62,7 @@ merge {
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
#end
#if ( rand(Rng1) < 0.333)
#if ( rand(Rng1) < 0.360)
texture { Orange_Glass }
#else
texture { Yellow_Glass }
@@ -70,8 +70,9 @@ merge {
}
#end
#declare Benz_Fuseau = object
{
// XXX #declare Benz_Fuseau = object
// XXX {
#macro Benz_Fuseau ()
difference {
sphere { 0, R_Tube*0.39 }
sphere { 0, R_Tube*0.37 }
@@ -79,13 +80,19 @@ difference {
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
}
scale <1, 1, 4.4>
texture { Shadow_Clouds scale 0.56 }
}
#if ( rand(Rng1) < 0.360)
texture { Shadow_Clouds scale 0.56 }
#else
texture { WIP_color }
#end
#end // end macro
// XXX }
#declare Benz_Fuseau_Flash = object
{
union {
object { Benz_Fuseau }
object { Benz_Fuseau () }
light_source { 0,
rgb <rand(Rng2), rand(Rng2), rand(Rng2)>
fade_distance 0.96
@@ -93,14 +100,20 @@ union {
}
}
rotate -z*clock*6
rotate -z*clock*8
}
#declare Benz_Cylindre = object
{
difference {
union {
cylinder { z*L_Tube*1.5, -z*L_Tube, R_Tube }
cylinder { z*L_Tube*1.6, -z*L_Tube, R_Tube }
/* les deux bouts du cylindre creux */
torus { R_Tube, 0.012
rotate x*90 translate z*L_Tube*1.6 }
torus { R_Tube, 0.012
rotate x*90 translate -z*L_Tube }
/* cette sphere devrait devenir
un vrai cockpit ? */
sphere { z*L_Tube*1.18, R_Tube*0.72
@@ -129,7 +142,7 @@ union {
// #declare HexaBenz = object
// {
union {
#local Rk = (rand(Rng1)-0.5) * 1024;
#local Rk = (rand(Rng1)-0.5) * 1312;
object { Benz_Cones () rotate z*NormClock*Rk}
object { Benz_Tube () }
}