This commit is contained in:
Tonton Th committed 2026-11-24 00:45:10 +01:00
1 parent 89856e784e
commit bb2f9bde7a
12 files changed
+49 -48

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ object { Le_Decor }
#declare LocX = -1.5 + (2.10*Cos_010(NormClock));
#declare LocY = 2.6 - NormClock;
#declare LocZ = -180 + (102 * NormClock);
#declare LocZ = -180 + (105 * NormClock);
#declare LatCam = <0, 0.92+NormClock, 0>;
+1 -1
View File
@@ -32,6 +32,6 @@ camera {
location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
angle 64
angle 66 + (5 * NormClock)
}
+3 -3
View File
@@ -27,11 +27,11 @@ union {
#macro Quatre_Portiques (Dist)
union {
object { Portique_A () rotate -y*9 }
object { Portique_A () rotate -y*7 }
object { Portique_A () scale <1, 1.2, 1> translate z*11 }
object { Portique_A () rotate y*9 translate z*22 }
object { Portique_A () rotate y*9 translate z*29 }
box { <-4.1, 0, -2>, <4.1, 0.02, 30> texture { LeGris } }
object { Portique_A () rotate -y*3 translate z*29 }
box { <-4.1, 0, -12>, <4.1, 0.02, 35> texture { LeGris } }
}
#end // macro quatre portiques
+10 -10
View File
@@ -20,14 +20,14 @@
#macro Un_Autre_Cube (Ratio)
difference {
#local D = 1.000000;
#local D = 1.091312;
box { <-D, -D, -D>, <D, D, D> }
#local V = Ratio * D;
#local M = D * 1.1;
box { <-M, -V, -V>, <M, V, V> }
box { <-V, -M, -V>, <V, M, V> }
box { <-V, -V, -M>, <V, V, M> }
texture { Flashy scale 0.4 }
texture { Flashy scale <0.4, 7, 2.5> }
}
#end
// =======================================================
@@ -146,7 +146,7 @@ difference {
}
texture {
#if (rand(Rng1) < 0.70) pigment { color Orange }
#else pigment { color Orange }
#else pigment { color Yellow }
#end
finish { emission 0.8 }
}
@@ -195,7 +195,7 @@ pigment {
[ 0.666 color Gray50 ]
[ 1.000 color Green ]
}
turbulence 1.24 // piturb :)
turbulence 1.04 // piturb :)
scale <1, 0.25, 1>
rotate <10, 0, 4>
}
@@ -208,7 +208,7 @@ finish { phong 0.25 }
{
#local TX = 2.45;
#local TZ = 2.95;
#local Kro = 32 + (NormClock * 666);
#local Kro = 34 + (NormClock * 666);
union {
object { Obj_BasicTexture texture { LeGris }
rotate y * (rand(Rng1)*Kro)
@@ -268,7 +268,7 @@ union {
#for (foo, 0, 359.999, 60)
#local Dx = 0.33 * sin(radians(foo));
#local Dz = 0.32 * cos(radians(foo));
torus { 0.025, 0.015 scale <1, 1.2, 4>
torus { 0.026, 0.014 scale <1, 1.2, 4>
rotate z*42 rotate y*(foo-90)
translate <Dx, 0, Dz>
} // torus
@@ -395,9 +395,9 @@ union {
#debug " !!! ACTION !!!\n"
/* FLASHING LIGHT !!! */
#local Rv = 0.5 + (0.1*sin(clock*0.113));
#local Rv = 0.5 + (0.1*sin(clock*1.113));
#local Gv = 0.21;
#local Bv = 0.25 * abs(sin(clock*0.019));
#local Bv = 0.25 * abs(sin(clock*0.819));
light_source {
<-32, 40, -7>
colour <Rv, Gv, Bv>
@@ -445,9 +445,9 @@ plane {
// =======================================================
#local CamX = -2.9 + (1.9*Cos_010(NormClock));
#local CamX = -2.9 + (0.9*Cos_010(NormClock));
#local CamY = 0.61 + (1.1*exp(NormClock));
#local CamZ = -5.777 + (1.3*Cos_010(NormClock));
#local CamZ = -5.777 + (0.3*Cos_010(NormClock));
#local K = 8.6;
#local CamX = CamX * K;
+2 -2
View File
@@ -2,7 +2,7 @@
*/
#local Rtube = R_basecone * 1.66;
#local Rtube = R_basecone * 1.71;
#local Stube = 0.80;
#declare Etube = 0.04;
@@ -21,7 +21,7 @@ difference {
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
}
texture { Flashy scale 18 }
texture { Flashy scale 19 }
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ object { Le_Decor }
#declare LOC = <-3.7, 5.84+NormClock, 34-(4*NormClock)>;
#declare LAT = <P_hexawood.x, 0.95+(NormClock*0.11), P_hexawood.z>;
#declare LAT = <P_hexawood.x, 0.96+(NormClock*0.12), P_hexawood.z>;
camera {
spherical
+4 -4
View File
@@ -16,13 +16,13 @@ object { Le_Decor }
// =======================================================
#declare CK = 1.97 + (2.42 * Cos_01(NormClock));
#declare CK = 1.97 + (2.92 * Cos_010(NormClock));
#declare CamX = 1.72;
#declare CamY = 7 + (4*Cos_01(NormClock));
#declare CamY = 7 + (7*Cos_01(NormClock));
#declare CamZ = -2.5;
#declare LatX = 20 * cos(CK*1.08);
#declare LatX = 20 * cos(CK*1.78);
#declare LatY = 3.0 - sqrt(NormClock);
#declare LatZ = 20 * sin(CK);
// object { Repere scale 2 translate <LatX, LatY, LatZ> }
@@ -32,5 +32,5 @@ camera {
location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
angle 65 + (NormClock * 10)
angle 65 + (NormClock * 16)
}
+7 -6
View File
@@ -2,7 +2,7 @@
The page for « Build system and utilities ».
## Make a sequence
## Make one sequence
Un argument pour construire la séquence entière ou deux pour démarrer au
milieu, c'est parfois pratique quand le disjoncteur fait un *beu-beu* en
@@ -17,7 +17,8 @@ Et pour générer plusieurs séquences dans la foulée, avec les
post-processings (ega-mp4 et ega-gif89a) en même temps,
vous avez le script [Mk Sex](make_all_seqs.sh) à votre service.
Make_one seq ajoute le nom de la séquence, le numéro de trame et le temps de
Après le rendu de chaque trame, make_one_seq ajoute le nom de la
séquence, le numéro de trame et le temps de
rendu au fichier `log/mp4.timing` permettant ainsi la création de
graphiques aussi jolis qu'inutiles.
@@ -26,8 +27,8 @@ graphiques aussi jolis qu'inutiles.
C'est le directeur de la production, le grand
[script](./linkfarmer.sh)
d'assemblage des séquences avec générique et intertitres.
Hélas, il n'est pas encore configurable. Mais c'est
en projet pour juin 2027 ?
Hélas, il n'est pas encore configurable, en particulier
sur la liste des séquences. *Patches are welcome !*
## Encoding
@@ -42,13 +43,13 @@ On peut visualiser le temps de calcul d'une séquence avec la
commande [plot-timing.sh](./plot-timing.sh) qui génère un fichier
PNG. C'est un script basé sur *Awk* et *Gnuplot*.
Ces graphiques sont utilisés comme fond pour les
intertitres.
intertitres des montages.
```
$ tools/plot-timing.sh essai && d timing.png
```
Cette commande utilise le fichier `log/mp4.timing`, lequel est généré
par le script de création de séquence vu plus haut.
par le script de création de séquence que nous avons vu plus haut.
+9 -9
View File
@@ -36,13 +36,13 @@ echo "linkfarm $SRC" # XXX | tee -a WS/log
local INTER="/dev/shm/tmp-intertitre.png"
tools/plot-timing.sh $1
local NBRE=58
local NBRE=40
convert "WS/negatif.png" \
-gravity center \
-font $FONTE \
-pointsize 139 \
-kerning 9 \
-pointsize 140 \
-kerning 15 \
-fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+0 "$1" \
@@ -107,21 +107,21 @@ echo
faire_la_fin ()
{
local NBRE=190
datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M")
datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M" | tr "01" "ol" )
echo " $datetime" | tee -a WS/log
local SRC="frames/around/00042.png"
local GRAY="/dev/shm/tmp-fin.png"
convert -dither none -colorspace gray -colors 60 $SRC $GRAY
convert -dither none -colorspace gray -colors 40 $SRC $GRAY
for foo in $(seq 0 $NBRE)
do
Ypos=$(( foo + 20 ))
Ypos=$(( foo + 28 ))
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 90 \
-kerning 6 \
-kerning 8 \
-fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+${Ypos} \
@@ -163,10 +163,10 @@ linkfarm around # new 26 jan 2026
# linkfarm passage
# linkfarm scene
# linkfarm carto
# linkfarm circular
linkfarm circular
# linkfarm bubblecut
# linkfarm orbite
# linkfarm essai
linkfarm essai
tools/plot-timing.sh
faire_la_fin
+5 -5
View File
@@ -48,19 +48,19 @@ do
fi
set -e
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
txt=$(printf "%4d" ${frame} | tr '01' 'Ol')
txt=$(printf "%4d" ${frame} | tr '01' 'ol')
# echo $frame $img $txt
convert ${TMPIMG} \
-alpha off \
-font Courier-Bold \
-pointsize 52 \
-kerning 8 \
-pointsize 48 \
-kerning 6 \
-strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \
-gravity south-west \
-annotate +25+5 "$sqn" \
-annotate +15+0 "$sqn" \
-gravity south-east \
-annotate +25+5 "$txt" \
-annotate +15+0 "$txt" \
${img}
fin=$(date +%s)
printf "%-12s %5d %5d\n" \
+3 -3
View File
@@ -41,8 +41,8 @@ union {
#end // for
#undef Tx
#undef Tz
torus { E*1.51, 0.012
scale <1, 3, 1> translate y*0.05
torus { E*1.52, 0.012
scale <1, 4.1, 1> translate y*0.05
texture { T_Chrome_3B } }
}
#end
@@ -52,7 +52,7 @@ union {
#local R = 0.095;
merge {
cylinder { <0, -L, 0>, <0, L, 0>, R }
sphere { 0, R scale <1, 6.66, 1> translate y*L }
sphere { 0, R scale <1, 6.78, 1> translate y*L }
sphere { 0, R scale <1, 0.45, 1> translate -y*L }
#local R = rand(Rng1);
#if ( R < 0.333) texture { T_Chrome_1C }
+3 -3
View File
@@ -36,7 +36,7 @@ difference {
union {
#local Ra = V * R_hole * 1.02;
#local Rb = 0.028;
#local KY = 0.21;
#local KY = 0.240;
torus { Ra, Rb texture { T_Beton_2 } translate y*KY }
torus { Ra, Rb texture { T_WIP_color } translate y*(KY*2) }
torus { Ra, Rb texture { T_WIP_dents } translate y*(KY*3) }
@@ -69,7 +69,7 @@ union {
object { HexaBenz() translate <-EX, 0, -EZ> }
object { HexaCone() translate < EX, -0.4, -EZ> }
object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> }
object { HexaTube translate < EX*2, 0.3, -EZ*2> }
object { HexaTube translate < EX*2, 0.1, -EZ*2> }
}
rotate y*90 // pour pointer vers X
}
@@ -159,7 +159,7 @@ sphere {
union {
#for (A, 0, 64, 1)
// please explain this formula !
#local CK = (NormClock*55.00) + (A*0.28);
#local CK = (NormClock*45.00) + (A*0.28);
object { Une_Boule ()
#local TX = 3.2 * sin(CK);
#local TY = 0.4 * cos(sin(CK));