cosmetic
This commit is contained in:
parent
11c8461d38
commit
636e019e97
@ -134,7 +134,7 @@ union {
|
|||||||
|
|
||||||
#macro Cahute_0 ()
|
#macro Cahute_0 ()
|
||||||
difference {
|
difference {
|
||||||
#local KX = 0.60;
|
#local KX = 0.55;
|
||||||
#local KH = 1.80 + rand(Rng1) ;
|
#local KH = 1.80 + rand(Rng1) ;
|
||||||
// #debug concat(" Cahute_0, KH = ", str(KH, 6, 4), "\n")
|
// #debug concat(" Cahute_0, KH = ", str(KH, 6, 4), "\n")
|
||||||
#local KZ = KX + (0.24*rand(Rng1));
|
#local KZ = KX + (0.24*rand(Rng1));
|
||||||
@ -150,7 +150,7 @@ difference {
|
|||||||
|
|
||||||
#local R = rand(Rng1);
|
#local R = rand(Rng1);
|
||||||
// #debug concat("Random = ", str(R, 6, 4), "\n")
|
// #debug concat("Random = ", str(R, 6, 4), "\n")
|
||||||
#if ( R < 0.13 )
|
#if ( R < 0.19 )
|
||||||
texture { T_Planete_A }
|
texture { T_Planete_A }
|
||||||
#elseif ( R < 0.56 )
|
#elseif ( R < 0.56 )
|
||||||
texture { T_Beton_1 }
|
texture { T_Beton_1 }
|
||||||
@ -167,16 +167,17 @@ difference {
|
|||||||
|
|
||||||
#macro Les_Cahutes ()
|
#macro Les_Cahutes ()
|
||||||
union {
|
union {
|
||||||
|
#local H = 0.80;
|
||||||
#local K = 2.75;
|
#local K = 2.75;
|
||||||
union {
|
union {
|
||||||
object { Cahute_0 () translate -x * K }
|
object { Cahute_0 () translate -x * K }
|
||||||
object { Cahute_0 () translate x * K }
|
object { Cahute_0 () translate x * K }
|
||||||
object { Cahute_0 () translate -z * K }
|
object { Cahute_0 () translate -z * K }
|
||||||
object { Cahute_0 () translate z * K }
|
object { Cahute_0 () translate z * K }
|
||||||
translate y
|
translate y*H
|
||||||
}
|
}
|
||||||
#local K2 = K + 1.35;
|
#local K2 = K + 1.35;
|
||||||
box { <-K2, 0, -K2>, <K2, 1, K2> pigment { Gray30 } }
|
box { <-K2, 0, -K2>, <K2, H, K2> pigment { Gray30 } }
|
||||||
}
|
}
|
||||||
scale 0.5
|
scale 0.5
|
||||||
// rotate -y * (clock*0.33)
|
// rotate -y * (clock*0.33)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user