le commit en chocolat
This commit is contained in:
25
dynamic.inc
25
dynamic.inc
@@ -24,8 +24,8 @@ object { BiBenz rotate -y*(clock*0.19) translate Pos_RedB_0 }
|
||||
{
|
||||
#local K = 1.27;
|
||||
union {
|
||||
object { HexaCone () rotate y*90 translate <-K, 1.7, 1> }
|
||||
object { HexaCone () translate < K, 1.9, 1> }
|
||||
object { HexaCone () rotate y*90 translate <-K, 1.7, 0> }
|
||||
object { HexaCone () translate < K, 1.9, 0> }
|
||||
}
|
||||
}
|
||||
object { BiCone rotate -y*(Cos_010(NormClock)*777) translate Pos_RedB_1 }
|
||||
@@ -43,17 +43,16 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
||||
* le vaisseau "trident" passe a travers les
|
||||
* trous de l'underground
|
||||
*/
|
||||
|
||||
// #fopen Trid "WS/tridents.log" write
|
||||
#fopen Trid "WS/tridents.log" write
|
||||
#for (Foo, 0, 5)
|
||||
#declare Dy = -3+(11*NormClock);
|
||||
#declare Dy = rand(Rng1)-3+(11*NormClock);
|
||||
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
|
||||
// #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
|
||||
// UnderHoles[Foo], " ", Tr, "\n")
|
||||
object { Trident_A () rotate y*((rand(Rng1)-NormClock)*77)
|
||||
translate Tr }
|
||||
#declare Ry = ((rand(Rng1)-NormClock)*77);
|
||||
#write (Trid, Foo, " ", NormClock, " ", Dy, " ",
|
||||
Ry, " ", Tr, "\n")
|
||||
object { Trident_A () rotate y*Ry translate Tr }
|
||||
#end
|
||||
// #fclose Trid
|
||||
#fclose Trid
|
||||
|
||||
/*
|
||||
* echange hexacone et hexabenz
|
||||
@@ -78,12 +77,12 @@ object { HexaBenz ()
|
||||
/*
|
||||
* passage d'un hexawood près de la base
|
||||
*/
|
||||
#declare A = <-21, 0.4, (SzSol/2)+4>;
|
||||
#declare B = < 24, 0.5, (SzSol/2)+1>;
|
||||
#declare A = <-25, 0.4, (SzSol/2)+4>;
|
||||
#declare B = < 29, 0.5, (SzSol/2)+1>;
|
||||
#declare P = Interpolate(A, B, NormClock);
|
||||
#local K = NormClock*36;
|
||||
#local R = 16.64 * cos(K);
|
||||
#local H = 0.48 * pow(sin(K), 3);
|
||||
#local H = 0.52 * pow(sin(K), 3);
|
||||
#declare P_hexawood = P + <0, 0.26+H, 0>;
|
||||
object { HexaWood rotate z*R translate P_hexawood }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user