Compare commits

..

No commits in common. "ff8ccfea55053f9b2c0d91dcd8858b41da582fb0" and "0eecce13befd9ae923682259ed8545b4956ad60d" have entirely different histories.

4 changed files with 11 additions and 70 deletions

2
.gitignore vendored
View File

@ -3,8 +3,6 @@ frames/*
datas/*.xcf
WS/timing
WS/*.timing
*.png
*.gif
*.mp4

View File

@ -2,16 +2,18 @@
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
*/
// plane { y, 0 pigment { color DarkGreen } }
height_field {
png "datas/hf.png"
smooth
texture {
pigment { DarkGreen }
normal { bumps 1 scale 4.2 }
finish { phong 0.333 }
}
translate <-.5, 0, -.5>
scale <18, 0.85, 18>
texture {
pigment { color DarkGreen }
normal { bumps 0.035 scale 0.186 }
finish { phong 0.111 }
}
}
@ -20,35 +22,21 @@ cylinder { 0, <1, 0, 0>, 0.005 pigment { color Red } }
cylinder { 0, <0, 0, 1>, 0.005 pigment { color Blue } }
#end
#if (1)
light_source {
<3, 3.50, 2> color Gray90
spotlight
radius 12
falloff 10
falloff 20
tightness 10
point_at <0, 0.95, 0.22222222>
}
#end
#if (1)
light_source {
<4, 0.30, -2> color Gray90
spotlight
radius 12
falloff 20
tightness 10
point_at <0, 0.80, 0.22222>
}
#end
#if (1)
light_source {
<-5, 5.50, 8> color White
spotlight
radius 8
falloff 10
falloff 20
tightness 5
point_at <0, 0.95, -0.22>
}
#end

View File

@ -17,7 +17,7 @@ mp_encodage()
{
mencoder 'mf://frames/*.png' \
-mf \
fps=24 \
fps=30 \
-ovc lavc \
-lavcopts vcodec=mpeg4 \
-o output.avi

View File

@ -1,45 +0,0 @@
#!/bin/bash
set -ue
TMPFILE="/dev/shm/plot-timing.tmp"
IMAGE="timing.png"
tail -3600 WS/timing.mp4 | awk ' \
BEGIN { \
for (foo=0; foo<180; foo++) { \
mini[foo] = 666; \
maxi[foo] = -42; \
} \
maxidx = 0; \
} \
{ \
accu[$1] += $2; \
count[$1]++; \
if (mini[$1] > $2) mini[$1] = $2; \
if (maxi[$1] < $2) maxi[$1] = $2; \
last[$1] = $2; \
maxidx = $1; \
} \
END { \
for (foo=0; foo<180; foo++) { \
mean = accu[foo] / count[foo]; \
printf "%4d %4f %4d %4d %4d\n", foo, mean, \
mini[foo], maxi[foo], last[foo]; \
} \
} \
' > $TMPFILE
gnuplot << __EOC__
set term png size 800,480
set output "timing.png"
set grid
set yrange [:200]
set title "HexaCone : temps de tracé vs. numéro de séquence"
set xlabel "numéro de la trame"
set ylabel "temps en secondes"
plot "/dev/shm/plot-timing.tmp" u 1:2 w l t "moyenne", \
"/dev/shm/plot-timing.tmp" u 1:3 w l t "minimum", \
"/dev/shm/plot-timing.tmp" u 1:4 w l t "maximum", \
"/dev/shm/plot-timing.tmp" u 1:5 w l t "dernier"
__EOC__