Compare commits

..

No commits in common. "5d34aac50cce288a4ab9efb8ce4ebf2ad53974ea" and "e62a531a8201cdc55b30a1e4fa1d9b242a331fec" have entirely different histories.

2 changed files with 8 additions and 20 deletions

View File

@ -7,9 +7,6 @@ Avant tout, il faut créer ces répertoires :
├── orbite ├── orbite
├── passage ├── passage
├── scene ├── scene
├── scene ├── Spool
├── orbite
├── escadrille
└── topview └── topview
```

View File

@ -8,14 +8,7 @@ IMAGE="timing.png"
echo ; figlet "plot timing" ; echo echo ; figlet "plot timing" ; echo
wc WS/mp4.timing | tee -a WS/log wc WS/mp4.timing | tee -a WS/log
if [ $# == 1 ] grep "passage" WS/mp4.timing | awk ' \
then
sequence=$1
else
sequence="escadrille"
fi
grep $sequence WS/mp4.timing | tail -3600 | awk ' \
BEGIN { \ BEGIN { \
nbrames=360; \ nbrames=360; \
for (foo=0; foo<nbrames; foo++) { \ for (foo=0; foo<nbrames; foo++) { \
@ -45,21 +38,19 @@ END { \
# cat -n $TMPFILE | tail # ; exit # cat -n $TMPFILE | tail # ; exit
gnuplot << __EOC__ gnuplot << __EOC__
set term png size 1024,768 set term png size 1024,768
set output "timing.png" set output "timing.png"
set grid set grid
set xrange [:360] set xrange [:360]
set yrange [0:] set yrange [0:]
set title "Séquence '${sequence}'" set title "HexaCone : temps de rendu"
set xlabel "numéro de la trame" set xlabel "numéro de la trame"
set ylabel "temps en secondes" set ylabel "temps en secondes"
plot "/dev/shm/plot-timing.tmp" u 1:4 w l lc "#ff0000" t "maximum", \ plot "/dev/shm/plot-timing.tmp" u 1:4 w l t "maximum", \
"/dev/shm/plot-timing.tmp" u 1:3 w l lc "#0000ff" t "minimum", \ "/dev/shm/plot-timing.tmp" u 1:3 w l t "minimum", \
"/dev/shm/plot-timing.tmp" u 1:2 w l lc "#000000" t "moyenne", "/dev/shm/plot-timing.tmp" u 1:2 w l t "moyenne",
__EOC__ __EOC__
convert -negate -colorspace gray -level -33% $IMAGE WS/negatif.png convert -negate $IMAGE WS/negatif.png