Compare commits

...

3 Commits

Author SHA1 Message Date
Tonton Th
ef23006b9b bla 2024-12-28 14:45:01 +01:00
Tonton Th
b40680cb62 ajust context 2024-12-28 14:44:26 +01:00
Tonton Th
47b0d005c8 tweaking... 2024-12-28 14:42:12 +01:00
4 changed files with 23 additions and 16 deletions

View File

@ -10,8 +10,8 @@ PNG: essai.png scene.png
essai.png: essai.pov Makefile $(POVDEP) essai.png: essai.pov Makefile $(POVDEP)
povray $(POVOPT) -W800 -H600 -i$< -o$@ povray $(POVOPT) -W800 -H600 -i$< -o$@
CK=130 CK=306
scene.png: scene.pov Makefile $(POVDEP) scene.png: scene.pov Makefile $(POVDEP)
povray $(POVOPT) -W1920 -H1080 +K${CK} -i$< -o$@ povray $(POVOPT) -W3200 -H2400 +K${CK} -i$< -o$@

View File

@ -6,11 +6,11 @@ height_field {
png "datas/hf.png" png "datas/hf.png"
smooth smooth
translate <-.5, 0, -.5> translate <-.5, 0, -.5>
scale <18, 0.85, 18> scale <21, 0.88, 21>
texture { texture {
pigment { color DarkGreen } pigment { color DarkGreen }
normal { bumps 0.035 scale 0.186 } normal { bumps 0.035 scale 0.186 }
finish { phong 0.111 } finish { phong 0.125 }
} }
} }
@ -22,29 +22,35 @@ cylinder { 0, <0, 0, 1>, 0.005 pigment { color Blue } }
#if (1) #if (1)
light_source { light_source {
<3, 3.50, 2> color Gray90 <0.3, 2.50, 2.8> color Gray90
spotlight spotlight
radius 12 radius 14
falloff 10 falloff 10
tightness 10 tightness 10
point_at <0, 0.95, 0.22222222> point_at <0, 0.95, 0.22222222>
} }
#end #end
#if (1) #if ( (clock>166) & (clock<213) )
light_source { light_source {
<4, 0.30, -2> color Gray90 <2, 0.30, -2> color Orange
spotlight spotlight
radius 12 radius 12
falloff 20 falloff 20
tightness 10 tightness 10
point_at <0, 0.80, 0.22222> point_at <-0.08, 0.80, 0.17>
} }
#end #end
#if (1) #if (1)
light_source { light_source {
<-5, 5.50, 8> color White <-5, 5.50, 8>
#if ( (clock > 290) & (clock<344) )
#local Couleur = rgb <0.20, 0.20, 0.80>;
#else
#local Couleur = rgb <0.80, 0.80, 0.70>;
#end
color Couleur
spotlight spotlight
radius 8 radius 8
falloff 10 falloff 10

View File

@ -34,11 +34,11 @@ union {
cylinder {-z, z, 0.10 } cylinder {-z, z, 0.10 }
} }
// clignotement de la lumiere \o/ // clignotement de la lumiere \o/
#local kR = 0.111; #local kR = 0.083;
#local xR = (rand(R2)-0.5000) * kR; #local xR = (rand(R2)-0.5000) * kR;
#local yR = (rand(R2)-0.5000) * kR; #local yR = (rand(R2)-0.5000) * kR;
#local zR = (rand(R2)-0.5000) * kR; #local zR = (rand(R2)-0.5000) * kR;
#local Red = abs(sin(NormClock * 77.88)); #local Red = abs(sin(NormClock * 65.536));
#local Red = Red * rand(R2); #local Red = Red * rand(R2);
light_source { <xR, yR, xR>, rgb <Red, 0.03, 0.03> light_source { <xR, yR, xR>, rgb <Red, 0.03, 0.03>
fade_distance 0.99 fade_distance 0.99
@ -149,6 +149,7 @@ union {
#for (foo, -9, 9) #for (foo, -9, 9)
object { Une_Ailettte object { Une_Ailettte
translate -0.004*z translate -0.004*z
rotate z*19
rotate (foo*35)*x rotate (foo*35)*x
translate (foo*0.013)*x } translate (foo*0.013)*x }
#end #end
@ -186,7 +187,7 @@ merge {
} }
#end #end
cylinder { y*Rtuy, y*(Rtuy+0.08), 0.010 scale <2.95, 1, 1> } cylinder { y*Rtuy, y*(Rtuy+0.08), 0.011 scale <2.95, 1, 1> }
sphere { 0, 0.017 scale <4.5, 1, 0.717> sphere { 0, 0.017 scale <4.5, 1, 0.717>
translate z*(Rtuy+Etuy/3) } translate z*(Rtuy+Etuy/3) }
} }
@ -197,7 +198,7 @@ texture { T_Brass_1C }
{ {
union { union {
object { Tuyere } object { Tuyere }
object { Le_rotor rotate x*(clock*2) translate -0.08*x } object { Le_rotor rotate x*(clock*3) translate -0.08*x }
} }
} }

View File

@ -5,7 +5,7 @@ set -ue
TMPFILE="/dev/shm/plot-timing.tmp" TMPFILE="/dev/shm/plot-timing.tmp"
IMAGE="timing.png" IMAGE="timing.png"
tail -3600 WS/mp4.timing | awk ' \ tail -1800 WS/mp4.timing | awk ' \
BEGIN { \ BEGIN { \
nbrames=360; nbrames=360;
for (foo=0; foo<nbrames; foo++) { \ for (foo=0; foo<nbrames; foo++) { \
@ -36,7 +36,7 @@ gnuplot << __EOC__
set output "timing.png" set output "timing.png"
set grid set grid
set xrange [:360] set xrange [:360]
set yrange [:300] set yrange [:240]
set title "HexaCone : temps de tracé vs. numéro de séquence" set title "HexaCone : temps de tracé vs. numéro de séquence"
set xlabel "numéro de la trame" set xlabel "numéro de la trame"
set ylabel "temps en secondes" set ylabel "temps en secondes"