Compare commits
4 Commits
d19c46c25e
...
5f69f2f286
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f69f2f286 | ||
|
|
674654cc62 | ||
|
|
ef1737006d | ||
|
|
ada61cc4fb |
11
carto.pov
11
carto.pov
@ -20,18 +20,19 @@
|
|||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// dessiner une grille
|
// dessiner une grille
|
||||||
|
|
||||||
#for (Foo, -150, 150, 10)
|
#for (Foo, -140, 140, 10)
|
||||||
cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.11 }
|
#local H = 0.17;
|
||||||
cylinder { <Foo, 0, -150>, <Foo, 0, 150>, 0.11 }
|
cylinder { <-150, H, Foo>, <150, H, Foo>, 0.06 }
|
||||||
|
cylinder { <Foo, H, -150>, <Foo, H, 150>, 0.06 }
|
||||||
#end
|
#end
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
object { Repere scale 10 translate y*7 }
|
object { Repere scale 10 translate y*10 }
|
||||||
object { Le_Decor }
|
object { Le_Decor }
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <45, 179+(56*NormClock), 18-(17*NormClock)>
|
location <45, 179+(61*NormClock), 18-(17*NormClock)>
|
||||||
look_at <0, 1.18, 0.17 + (2.4*NormClock)>
|
look_at <0, 1.18, 0.17 + (2.4*NormClock)>
|
||||||
right <image_width/image_height, 0, 0>
|
right <image_width/image_height, 0, 0>
|
||||||
angle 50
|
angle 50
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
#declare RedB_1_X = -24;
|
#declare RedB_1_X = -24;
|
||||||
#declare RedB_1_Z = 8;
|
#declare RedB_1_Z = 8;
|
||||||
|
|
||||||
#declare RedB_2_X = 41;
|
#declare RedB_2_X = 39;
|
||||||
#declare RedB_2_Z = -14;
|
#declare RedB_2_Z = -14;
|
||||||
|
|
||||||
#declare Pos_RedB_0 = <RedB_0_X, 0, RedB_0_Z>;
|
#declare Pos_RedB_0 = <RedB_0_X, 0, RedB_0_Z>;
|
||||||
|
|||||||
10
dynamic.inc
10
dynamic.inc
@ -52,7 +52,8 @@ union {
|
|||||||
}
|
}
|
||||||
object { BiCone rotate -y*(Cos_010(NormClock)*55.38) translate Pos_RedB_1 }
|
object { BiCone rotate -y*(Cos_010(NormClock)*55.38) translate Pos_RedB_1 }
|
||||||
|
|
||||||
object { Trident_A() rotate z * (3*NormClock)
|
/* le trident posé sur son estrade */
|
||||||
|
object { Trident_A() rotate z * (3.5*NormClock)
|
||||||
translate x*0.80
|
translate x*0.80
|
||||||
rotate y*(520*Cos_01(NormClock))
|
rotate y*(520*Cos_01(NormClock))
|
||||||
translate Pos_RedB_2 + (y*2) }
|
translate Pos_RedB_2 + (y*2) }
|
||||||
@ -65,7 +66,7 @@ object { Trident_A() rotate z * (3*NormClock)
|
|||||||
#declare P = Interpolate(A, B, NormClock);
|
#declare P = Interpolate(A, B, NormClock);
|
||||||
object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
||||||
|
|
||||||
/*
|
/* -----------------------------------------------
|
||||||
* le vaisseau "trident" passe a travers les
|
* le vaisseau "trident" passe a travers les
|
||||||
* trous de l'underground
|
* trous de l'underground
|
||||||
*/
|
*/
|
||||||
@ -73,10 +74,11 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
|||||||
#for (Foo, 0, 5)
|
#for (Foo, 0, 5)
|
||||||
#declare Dy = rand(Rng1)-3+(11*NormClock);
|
#declare Dy = rand(Rng1)-3+(11*NormClock);
|
||||||
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
|
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
|
||||||
#declare Ry = ((rand(Rng1)-NormClock)*87);
|
#declare Ry = ((rand(Rng1)-NormClock)*97);
|
||||||
// #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
|
// #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
|
||||||
// Ry, " ", Tr, "\n")
|
// Ry, " ", Tr, "\n")
|
||||||
object { Trident_A () translate y*rand(Rng1) rotate y*Ry translate Tr }
|
object { Trident_A () translate y+( (3*rand(Rng1)) - 1.5)
|
||||||
|
rotate y*Ry translate Tr }
|
||||||
#end
|
#end
|
||||||
// #fclose Trid
|
// #fclose Trid
|
||||||
|
|
||||||
|
|||||||
@ -23,10 +23,10 @@ global_settings {
|
|||||||
* Some constants...
|
* Some constants...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#declare SzSol = 34;
|
#declare SzSol = 36;
|
||||||
#declare H_sol = 0.000; // c'est quoi exactement ?
|
#declare H_sol = 0.000; // c'est quoi exactement ?
|
||||||
|
|
||||||
#declare SzBase = 2.90;
|
#declare SzBase = 2.97;
|
||||||
#declare H_base = 0.23;
|
#declare H_base = 0.23;
|
||||||
|
|
||||||
#declare R_basecone = 0.117;
|
#declare R_basecone = 0.117;
|
||||||
|
|||||||
@ -34,7 +34,7 @@ do
|
|||||||
err=$?
|
err=$?
|
||||||
if [ $err != 0 ] ; then
|
if [ $err != 0 ] ; then
|
||||||
echo "$SEQNAME fail $frame" >> WS/log
|
echo "$SEQNAME fail $frame" >> WS/log
|
||||||
mogrify -colorspace gray -blur 5x5 -colors 16 $img
|
mogrify -colorspace gray -blur 5x5 -colors 8 $img
|
||||||
visual_sleep "render fail" 12
|
visual_sleep "render fail" 12
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
@ -43,7 +43,7 @@ do
|
|||||||
# echo $frame $img $txt
|
# echo $frame $img $txt
|
||||||
convert ${TMPIMG} \
|
convert ${TMPIMG} \
|
||||||
-font Courier-Bold \
|
-font Courier-Bold \
|
||||||
-pointsize 18 \
|
-pointsize 20 \
|
||||||
-kerning 3 \
|
-kerning 3 \
|
||||||
-fill ${TEXTCOL} \
|
-fill ${TEXTCOL} \
|
||||||
-gravity north \
|
-gravity north \
|
||||||
|
|||||||
@ -147,18 +147,18 @@ difference {
|
|||||||
#local KX = KX * Mult;
|
#local KX = KX * Mult;
|
||||||
#local KH = KH * Mult;
|
#local KH = KH * Mult;
|
||||||
#local KZ = KZ * Mult;
|
#local KZ = KZ * Mult;
|
||||||
box { <-KX, 0, -KZ>, <KX, KH, KZ> }
|
box { <-KX, 0.0001, -KZ>, <KX, KH, KZ> }
|
||||||
|
|
||||||
cylinder { <-10, KH*0.70, 0>, <10, KH*0.72, 0>, KX * 0.666 }
|
cylinder { <-10, KH*0.70, 0>, <10, KH*0.72, 0>, KX * 0.823 }
|
||||||
|
|
||||||
#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.19 ) texture { T_Planete_A }
|
#if ( R < 0.23 ) texture { T_Planete_A }
|
||||||
#elseif ( R < 0.56 ) texture { T_Beton_1 }
|
#elseif ( R < 0.56 ) texture { T_Beton_1 }
|
||||||
#else texture { T_Beton_2 }
|
#else texture { T_Beton_2 }
|
||||||
#end // if
|
#end // if
|
||||||
|
|
||||||
rotate y * (277 * rand(Rng1))
|
rotate y * (207 * rand(Rng1))
|
||||||
}
|
}
|
||||||
|
|
||||||
#end // macro
|
#end // macro
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user