big commit, a lot of small adjustemnst
This commit is contained in:
@@ -27,7 +27,7 @@ object {
|
||||
/* le corps */
|
||||
merge {
|
||||
#local L2 = Longueur / 2;
|
||||
#local R = 0.25;
|
||||
#local R = 0.27;
|
||||
cylinder { <L2, 0, 0>, <-L2, 0, 0>, R }
|
||||
sphere { <0, 0, 0>, R
|
||||
scale <3, 1, 1>
|
||||
@@ -45,15 +45,10 @@ object {
|
||||
scale <2.5, 1, 1> translate x*L2*0.75
|
||||
}
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.333)
|
||||
texture { T_Brass_2C }
|
||||
#elseif (R < 0.25)
|
||||
texture { GoldDark }
|
||||
#elseif (R < 0.50)
|
||||
texture { T_Chrome_5A }
|
||||
#else
|
||||
// texture { Lightning1 rotate z*90 scale 0.09 }
|
||||
texture { T_Gold_3C }
|
||||
#if (R < 0.333) texture { T_Brass_2C }
|
||||
#elseif (R < 0.25) texture { GoldDark }
|
||||
#elseif (R < 0.50) texture { T_Chrome_5A }
|
||||
#else texture { T_Gold_3C }
|
||||
#end
|
||||
}
|
||||
}
|
||||
@@ -63,12 +58,12 @@ object {
|
||||
union {
|
||||
object { Corps_Wagonnet_0 (Longueur) }
|
||||
#for (Foo, 0, 5)
|
||||
#local DX = (-1.5+Foo*0.35);
|
||||
#local DX = 0.35 - (Foo*0.24);
|
||||
#local RP = -30 + (60 * rand(Rng1));
|
||||
object { Pointe_Wagonnet_0 ()
|
||||
translate <DX, 0.28, 0> rotate x*RP }
|
||||
translate <DX, 0.31, 0> rotate x*RP }
|
||||
#end
|
||||
object { Repere scale 0.75 translate <0.6, 0.55, 0.25> }
|
||||
// object { Repere scale 0.75 translate <0.06, 0.55, 0.25> }
|
||||
}
|
||||
#end // macro
|
||||
/* =============================================================== */
|
||||
@@ -83,7 +78,7 @@ merge {
|
||||
// mettre une base de la colonne
|
||||
cylinder { <-1, 0, 0>, <-1, 0.20, 0> Val*1.49 }
|
||||
cylinder { < 1, 0, 0>, < 1, 0.20, 0> Val*1.41 }
|
||||
|
||||
sphere { < 1, 0.20, 0> Val*1.41 }
|
||||
cylinder { <-1, 0, 0>, <-1, Ha, 0>, Val }
|
||||
cylinder { < 1, 0, 0>, < 1, Ha, 0>, Val }
|
||||
#if (rand(Rng1) < 0.50)
|
||||
@@ -99,14 +94,11 @@ merge {
|
||||
rotate <90, 0, 0> translate Ha*y
|
||||
}
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.25)
|
||||
texture { T_Stone40 scale 5+rand(Rng1) }
|
||||
#elseif (R < 0.50)
|
||||
texture { T_Stone44 scale 4+rand(Rng1) }
|
||||
#elseif (R < 0.75)
|
||||
texture { T_Stone32 scale 5+rand(Rng1) }
|
||||
#else
|
||||
texture { T_Stone36 scale 3+rand(Rng1) }
|
||||
#if (R < 0.20) texture { T_Stone40 scale 5+rand(Rng1) }
|
||||
#elseif (R < 0.40) texture { T_Stone44 scale 4+rand(Rng1) }
|
||||
#elseif (R < 0.60) texture { T_Stone32 scale 6+3*rand(Rng1) }
|
||||
#elseif (R < 0.80) texture { T_Stone24 scale 5+rand(Rng1) }
|
||||
#else texture { T_Stone36 scale 3+rand(Rng1) }
|
||||
#end
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user