Compare commits

...

5 Commits

Author SHA1 Message Date
Tonton Th
27891b70dc cosmetic 2025-01-22 19:30:23 +01:00
Tonton Th
05f40fae75 add intertitres 2025-01-22 19:29:20 +01:00
Tonton Th
070679ec5b add a new sequence 2025-01-19 21:45:56 +01:00
Tonton Th
1eac9d4cfc increase video size 2025-01-16 15:07:06 +01:00
Tonton Th
cf899967ce moving the gyrophare to the right file 2025-01-16 13:01:46 +01:00
7 changed files with 102 additions and 47 deletions

View File

@ -1,6 +1,7 @@
DIMS = -W1600 -H1200
POVOPT = +q9 +a0.02 -d
# POVOPT = +q9 +a0.02 -d
POVOPT = +q9 +A -d
POVDEP = contexte.inc elements.inc hexabenz.inc \
globals.inc datas/hf.png
@ -9,7 +10,7 @@ CK=180
PNG: essai.png scene.png topview.png passage.png \
orbite.png hexabenz.png escadrille.png \
hexacone.png
hexacone.png remote.png
topview.png: topview.pov Makefile $(POVDEP)
@ -36,4 +37,6 @@ scene.png: scene.pov Makefile $(POVDEP)
escadrille.png: escadrille.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
remote.png: remote.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@

View File

@ -6,6 +6,44 @@
/* ------------------------------------------------------------ */
#macro GyroPhare_mat ()
cylinder {
0, y*H_gyro, R_gyro
#if (rand(Rng1) < 0.5)
texture { T_Stone25 scale 1+rand(Rng1) }
#else
texture { T_Stone6 }
#end
}
#end // macro
#macro GyroPhare_lampe ()
union {
difference {
cylinder { 0, y*0.20, R_gyro }
cylinder { y*0.01, y*0.19, R_gyro*0.97 }
#local WB = 0.015;
box { <-1, 0.03, -WB>, <1, 0.18, WB> }
box { <-WB, 0.03, -1>, <WB, 0.18, 1> }
#undef WB
pigment { color White }
rotate y*(0.5-rand(Rng1))*clock
}
light_source { y*0.10 rgb <0.8, 0.9, 0.999999999> }
}
#end // macro
#macro GyroPhare ()
union {
object { GyroPhare_mat () }
object { GyroPhare_lampe ()
// rotate y*rand(Rng1)*clock
translate y*(H_gyro+0.02) }
}
#end // macro
/* ------------------------------------------------------------ */
#declare Rhxba = 0.30;
#declare R2hxba = Rhxba * 0.48;

View File

@ -12,42 +12,6 @@
#include "hexabenz.inc"
// =======================================================
#macro GyroPhare_mat ()
cylinder {
0, y*H_gyro, R_gyro
#if (rand(Rng1) < 0.5)
texture { T_Stone25 scale 1+rand(Rng1) }
#else
texture { T_Stone6 }
#end
}
#end // macro
#macro GyroPhare_lampe ()
union {
difference {
cylinder { 0, y*0.20, R_gyro }
cylinder { y*0.01, y*0.19, R_gyro*0.97 }
#local WB = 0.015;
box { <-1, 0.03, -WB>, <1, 0.18, WB> }
box { <-WB, 0.03, -1>, <WB, 0.18, 1> }
#undef WB
pigment { color White }
rotate y*(0.5-rand(Rng1))*clock
}
light_source { y*0.10 rgb <0.8, 0.9, 0.999999999> }
}
#end // macro
#macro GyroPhare ()
union {
object { GyroPhare_mat () }
object { GyroPhare_lampe ()
// rotate y*rand(Rng1)*clock
translate y*(H_gyro+0.02) }
}
#end // macro
// =======================================================
#macro Bubble ()

39
remote.pov Normal file
View File

@ -0,0 +1,39 @@
/*
* H E X A C O N E - R E M O T E
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/
#version 3.7;
#include "globals.inc"
#include "colors.inc"
#include "metals.inc"
#include "textures.inc"
#include "contexte.inc"
#include "elements.inc"
#include "hexabenz.inc"
object { Le_Decor }
// object { HexaCone () rotate z*9.1 translate <5, 3, -8> }
object { HexaBenz () translate <-4, 2, -5> }
// light_source { <-16, 17, -24>, rgb <0.51, 0.65, 0.40> }
// object { Repere scale 2 }
#local DistCam = 147;
#local CK = 0.78 * NormClock;
#declare CamX = DistCam * sin(CK);
#declare CamY = 23;
#declare CamZ = DistCam * cos(CK);
camera {
location <CamX, CamY, CamZ>
look_at <0, 0, 0>
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 10
}

View File

@ -32,13 +32,24 @@ linkfarm ()
{
SRC="frames/$1"
echo "linkfarm $SRC" | tee -a WS/log
local INTER="/dev/shm/tmp-intertitre.png"
tools/plot-timing.sh $1
local NBRE=60
local NBRE=90
convert "WS/negatif.png" \
-gravity north \
-font $FONTE \
-pointsize 96 \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+390 "$1" \
${INTER}
for foo in $(seq 0 $NBRE)
do
copy_a_file "WS/negatif.png"
copy_a_file $INTER
done
for foo in $(seq 0 $NBRE)
@ -62,7 +73,7 @@ faire_le_titre ()
echo "faire le titre"
local NBRE=180
local SRC="frames/passage/00059.png"
local SRC="frames/passage/00099.png"
local GRAY="/dev/shm/tmp-titre.png"
convert -colorspace gray -colors 27 $SRC $GRAY
@ -70,14 +81,14 @@ convert -colorspace gray -colors 27 $SRC $GRAY
for foo in $(seq 0 $NBRE)
do
Ypos=$(( -175 + foo ))
convert ${GRAY} \
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 172 \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
-annotate +0+${Ypos} "HexaCone" \
-annotate +0+${Ypos} "HexaCones" \
${TMP}
# identify ${TMP}
copy_a_file ${TMP}
@ -131,7 +142,7 @@ linkfarm topview
linkfarm passage
linkfarm scene
linkfarm orbite
linkfarm remote
linkfarm essai
tools/plot-timing.sh

View File

@ -9,7 +9,7 @@ NBFRAMES=360
echo "Running $0 $SEQNAME" >> WS/log
DIMS="-W1024 -H768"
DIMS="-W1280 -H1024"
POVOPT="+q9 +A -d ${DIMS} -WT6"
echo $POVOPT ; echo ; sleep 2
@ -25,7 +25,7 @@ do
err=$?
if [ $err != 0 ] ; then
echo "$SEQNAME fail $frame" >> WS/log
mogrify -colorspace gray $img
mogrify -colorspace gray -blur 5x5 $img
visual_sleep 12
continue
fi

View File

@ -46,7 +46,7 @@ END { \
# cat -n $TMPFILE | tail # ; exit
gnuplot << __EOC__
set term png size 1024,768
set term png size 1280,1024
set output "timing.png"
set grid
set xrange [:360]