time to sleep...

This commit is contained in:
Tonton Th committed 2026-11-23 00:48:48 +01:00
1 parent 7331ddee2d
commit 74e5af43fe
11 files changed
+54 -48

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
#macro Jalon_0 (Rad, Hei, Ttu) #macro Jalon_0 (Rad, Hei, Ttu)
merge { merge {
cylinder { 0, Hei*y, Rad } cylinder { 0, Hei*y, Rad }
sphere { 0, Rad*2.75 scale <1, 0.451, 1> translate Hei*y } sphere { 0, Rad*2.55 scale <1, 0.451, 1> translate Hei*y }
texture { Ttu } texture { Ttu }
} }
#end #end
+1 -1
View File
@@ -30,7 +30,7 @@ union {
object { Le_Decor } object { Le_Decor }
camera { camera {
location <46, 249+(250*NormClock), 8-(3*NormClock)> location <46, 249+(290*NormClock), 8-(3*NormClock)>
look_at <0, 1.18, -7 + (42*NormClock)> look_at <0, 1.18, -7 + (42*NormClock)>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 25 angle 25
+14 -13
View File
@@ -23,8 +23,8 @@ union {
// ------------------------------------------------------ // ------------------------------------------------------
/* nouveau Fri Oct 17 05:54:38 PM UTC 2025 */ /* nouveau Fri Oct 17 05:54:38 PM UTC 2025 */
#macro Benz_attache_cones (Ec) #macro Benz_attache_cones (Ec)
torus { Ec, Ec*0.06 torus { Ec, Ec*0.053
scale <1, 2.4, 1> rotate x*90 scale <1, 2.44, 1> rotate x*90
#if ( rand(Rng1) < 0.55 ) #if ( rand(Rng1) < 0.55 )
texture { GoldDark } texture { GoldDark }
#else #else
@@ -38,7 +38,7 @@ torus { Ec, Ec*0.06
#macro Benz_Cones () // = object #macro Benz_Cones () // = object
// { // {
union { union {
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local E = 0.31; #local E = 0.31;
#local Tx = E * sin(radians(foo)); #local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo)); #local Ty = E * cos(radians(foo));
@@ -74,8 +74,8 @@ merge {
#for (foo, 0, 360, 30) #for (foo, 0, 360, 30)
#local Tx = E * sin(radians(foo)); #local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo)); #local Ty = E * cos(radians(foo));
#local Dza = z * 0.27; #local Dza = z * 0.34;
#local Dzb = z * 0.97; #local Dzb = z * 0.99;
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> } cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> } sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> } sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
@@ -91,9 +91,9 @@ merge {
#macro Benz_Fuseau () #macro Benz_Fuseau ()
difference { difference {
sphere { 0, R_Tube*0.39 } sphere { 0, R_Tube*0.39 }
sphere { 0, R_Tube*0.37 } sphere { 0, R_Tube*0.39 }
cylinder { <-1, 0, -1>, < 1, 0, 1>, R_Tube*0.21 } cylinder { <-1, 0, -1>, < 1, 0, 1>, R_Tube*0.22 }
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 } cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.22 }
} }
scale <1, 1, 4.4> scale <1, 1, 4.4>
#if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 } #if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 }
@@ -122,15 +122,15 @@ rotate -z*clock*8
#local Forme_Cockpit = object #local Forme_Cockpit = object
{ {
difference { difference {
sphere { 0, R_Tube*0.72 } sphere { 0, R_Tube*0.77 }
sphere { 0, R_Tube*0.72 scale 0.99 } sphere { 0, R_Tube*0.75 }
#for (Foo, 0, 359, 36) #for (Foo, 0, 359, 36)
cylinder { x, 0, R_Tube*0.15 cylinder { x, 0, R_Tube*0.15
translate y*(R_Tube*0.34) translate y*(R_Tube*0.34)
rotate y*Foo } rotate y*Foo }
#end #end
} }
scale <1, 0.92, 1> scale <1, 0.90, 1>
translate z*L_Tube*1.18 translate z*L_Tube*1.18
} }
@@ -172,10 +172,11 @@ union {
cylinder { -E*z, <0, 0.20, -E>, RBA2 } cylinder { -E*z, <0, 0.20, -E>, RBA2 }
scale <1, 1.5, 5.555> scale <1, 1.5, 5.555>
} }
/* please explain this formula */
#if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) ) #if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) )
texture { tPlasticBlue } texture { tPlasticBlue }
#else texture { tPlasticGreen } #else texture { tPlasticPrune }
#end #end
} }
#end #end
+1 -1
View File
@@ -13,7 +13,7 @@
object { Le_Decor } object { Le_Decor }
#declare Loc_cam = <0.63, 20, 3*NormClock> + (Pos_RedB_0 * 1.32); #declare Loc_cam = <0.63, 22, 3*NormClock> + (Pos_RedB_0 * 1.32);
#declare Lat_Y = 1.21 + 0.19*NormClock; #declare Lat_Y = 1.21 + 0.19*NormClock;
+4 -2
View File
@@ -16,6 +16,7 @@ union {
#local Small = 0.00001; #local Small = 0.00001;
cone { <-1.34, 0, 0>, Small, <-0.6, 0, 0>, R_a } cone { <-1.34, 0, 0>, Small, <-0.6, 0, 0>, R_a }
sphere { 0, R_a scale <0.42, 1, 1> translate <-0.6, 0, 0> } sphere { 0, R_a scale <0.42, 1, 1> translate <-0.6, 0, 0> }
// XXX cylinder { <-0.6, 0, 0>, <-1, -1, 0>, R_a*0.1 }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.45 ) texture { GoldDark } #if ( R < 0.45 ) texture { GoldDark }
#elseif ( R < 0.60 ) texture { Aluminum } #elseif ( R < 0.60 ) texture { Aluminum }
@@ -25,7 +26,7 @@ union {
#end // macro #end // macro
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
* element central --- À REFAIRE EN MACRO ! * element central ---
*/ */
#macro HS_element_central () #macro HS_element_central ()
union { union {
@@ -83,7 +84,8 @@ union {
#local Ty = E * cos(radians(Foo)); #local Ty = E * cos(radians(Foo));
#local Tz = E * sin(radians(Foo)); #local Tz = E * sin(radians(Foo));
union { union {
object { HS_element_pointe () object { HS_element_pointe ()
rotate x*Foo*60
translate <0, Ty*1.16, Tz*1.16> } translate <0, Ty*1.16, Tz*1.16> }
object { HS_element_queue () object { HS_element_queue ()
translate <0, Ty*0.80, Tz> } translate <0, Ty*0.80, Tz> }
+2 -2
View File
@@ -15,9 +15,9 @@
object { Le_Decor } object { Le_Decor }
#declare CK = 2.03 - (NormClock * 2.77); #declare CK = 2.03 - (NormClock * 2.77);
#declare DX_cam = 6.11 * cos(CK); #declare DX_cam = 4.01 * cos(CK);
#declare DY_cam = 2.00 + sin(CK+1.111); #declare DY_cam = 2.00 + sin(CK+1.111);
#declare DZ_cam = 5.19 * sin(CK); #declare DZ_cam = 4.39 * sin(CK);
#declare Loc_cam = <DX_cam, DY_cam, DZ_cam> + Pos_RedB_3; #declare Loc_cam = <DX_cam, DY_cam, DZ_cam> + Pos_RedB_3;
#declare Lat_cam = <0, 1.95, -0.5 + NormClock> + Pos_RedB_3; #declare Lat_cam = <0, 1.95, -0.5 + NormClock> + Pos_RedB_3;
+1 -1
View File
@@ -2,7 +2,7 @@
*/ */
#local Rtube = R_basecone * 1.60; #local Rtube = R_basecone * 1.66;
#local Stube = 0.80; #local Stube = 0.80;
#declare Etube = 0.04; #declare Etube = 0.04;
+1 -1
View File
@@ -52,6 +52,6 @@ camera {
// focal_point <0, 1, 0> // focal_point <0, 1, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 21 angle 18
} }
+1 -1
View File
@@ -27,7 +27,7 @@ camera {
location <CamX, 2.10, CamZ> location <CamX, 2.10, CamZ>
look_at <0.03, LatY, 0.17> look_at <0.03, LatY, 0.17>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
normal { bumps 0.95 scale 3 } normal { bumps 0.77 scale 1.333 }
// focal_point Lat // focal_point Lat
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
+20 -17
View File
@@ -36,13 +36,13 @@ echo "linkfarm $SRC" # XXX | tee -a WS/log
local INTER="/dev/shm/tmp-intertitre.png" local INTER="/dev/shm/tmp-intertitre.png"
tools/plot-timing.sh $1 tools/plot-timing.sh $1
local NBRE=51 local NBRE=58
convert "WS/negatif.png" \ convert "WS/negatif.png" \
-gravity center \ -gravity center \
-font $FONTE \ -font $FONTE \
-pointsize 139 \ -pointsize 139 \
-kerning 8 \ -kerning 9 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \ -strokewidth 2 -stroke $STROKOL \
-annotate +0+0 "$1" \ -annotate +0+0 "$1" \
@@ -76,26 +76,29 @@ faire_le_titre ()
{ {
echo "faire le titre" echo "faire le titre"
local NBRE=300 local NBRE=320
local SRC="frames/hexacone/00199.png" local SRC="frames/hexatube/00199.png"
local GRAY="/dev/shm/tmp-titre.png" local GRAY="/dev/shm/tmp-titre.png"
convert -colorspace gray -colors 90 $SRC $GRAY convert -colorspace gray -colors 42 $SRC $GRAY
Ypos=-20
Psiz=100
for foo in $(seq 0 $NBRE) for foo in $(seq 0 $NBRE)
do do
Ypos=$(( -175 + foo ))
convert ${GRAY} \ convert ${GRAY} \
-gravity South \ -gravity South \
-font $FONTE \ -font $FONTE \
-pointsize 144 \ -pointsize $Psiz \
-kerning 5 \ -kerning 6 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \ -strokewidth 3 -stroke $STROKOL \
-annotate +0+${Ypos} "La famille\nHexaCone" \ -annotate +0+${Ypos} "La famille\nHexaCone" \
${TMP} ${TMP}
# identify ${TMP}
copy_a_file ${TMP} copy_a_file ${TMP}
Ypos=$(( Ypos + 2 ))
Psiz=$(( Psiz + 1 ))
printf "." printf "."
done done
echo echo
@@ -103,11 +106,11 @@ echo
# ------------------------------------------------------- # -------------------------------------------------------
faire_la_fin () faire_la_fin ()
{ {
local NBRE=180 local NBRE=190
datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M") datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M")
echo " $datetime" | tee -a WS/log echo " $datetime" | tee -a WS/log
local SRC="frames/patrouille/00165.png" local SRC="frames/around/00042.png"
local GRAY="/dev/shm/tmp-fin.png" local GRAY="/dev/shm/tmp-fin.png"
convert -dither none -colorspace gray -colors 60 $SRC $GRAY convert -dither none -colorspace gray -colors 60 $SRC $GRAY
@@ -117,8 +120,8 @@ do
convert ${GRAY} \ convert ${GRAY} \
-gravity north \ -gravity north \
-font $FONTE \ -font $FONTE \
-pointsize 92 \ -pointsize 90 \
-kerning 5 \ -kerning 6 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \ -strokewidth 2 -stroke $STROKOL \
-annotate +0+${Ypos} \ -annotate +0+${Ypos} \
@@ -146,10 +149,10 @@ faire_le_titre
linkfarm approche linkfarm approche
linkfarm hexacone linkfarm hexacone
# linkfarm remote # linkfarm remote
# linkfarm hexabenz linkfarm hexabenz
linkfarm patrouille # new St Valentine 2026 # linkfarm patrouille # new St Valentine 2026
linkfarm hexawood linkfarm hexawood
linkfarm escadrille # linkfarm escadrille
linkfarm hexatube linkfarm hexatube
# linkfarm survol # linkfarm survol
linkfarm around # new 26 jan 2026 linkfarm around # new 26 jan 2026
@@ -163,7 +166,7 @@ linkfarm around # new 26 jan 2026
# linkfarm circular # linkfarm circular
# linkfarm bubblecut # linkfarm bubblecut
# linkfarm orbite # linkfarm orbite
linkfarm essai # linkfarm essai
tools/plot-timing.sh tools/plot-timing.sh
faire_la_fin faire_la_fin
+8 -8
View File
@@ -12,8 +12,8 @@
#declare Trid_cone = object #declare Trid_cone = object
{ {
merge { merge {
cone { 0, R_basecone, y*0.84, 0.0001 } cone { 0, R_basecone, y*0.84, 0.0001 }
sphere { 0, R_basecone } sphere { 0, R_basecone*1.11 }
} }
} }
@@ -23,7 +23,7 @@ difference {
object { Trid_cone translate -y*0.08 } object { Trid_cone translate -y*0.08 }
#local Foo = rand(Rng1); #local Foo = rand(Rng1);
#if (Foo < 0.25) texture { T_Brass_2C } #if (Foo < 0.25) texture { T_Brass_2C }
#elseif (Foo < 0.50) texture { tPlasticOrange } #elseif (Foo < 0.50) texture { tPlasticBlue }
#elseif (Foo < 0.75) texture { T_Chrome_3A } #elseif (Foo < 0.75) texture { T_Chrome_3A }
#else texture { GoldDark } #else texture { GoldDark }
#end // else #end // else
@@ -33,7 +33,7 @@ difference {
// ------------------------------------------------------ // ------------------------------------------------------
#macro Trid_A_head () #macro Trid_A_head ()
union { union {
#for (A, 0, 360, 120) #for (A, 0, 359, 120)
#local E = 0.29; #local E = 0.29;
#local Tx = E * sin(radians(A)); #local Tx = E * sin(radians(A));
#local Tz = E * cos(radians(A)); #local Tz = E * cos(radians(A));
@@ -57,7 +57,7 @@ merge {
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.333) texture { T_Chrome_1C } #if ( R < 0.333) texture { T_Chrome_1C }
#elseif ( R < 0.666) texture { T_Silver_1C } #elseif ( R < 0.666) texture { T_Silver_1C }
#else texture { Flashy scale 3 } #else texture { Flashy scale 2 }
#end #end
} }
#undef L #undef L
@@ -67,9 +67,9 @@ merge {
union { union {
#local E = 0.49; #local E = 0.49;
object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> } object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> }
cylinder { 0, x*E, 0.008 scale <1, 5, 1> } cylinder { 0, x*E, 0.008 scale <1, 5.5, 1> }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.86 ) texture { T_Silver_3A } #if ( R < 0.88 ) texture { T_Silver_3A }
#else texture { T_WIP_rasta } #else texture { T_WIP_rasta }
#end #end
#undef E #undef E
@@ -79,7 +79,7 @@ union {
#macro Trid_A_tail () #macro Trid_A_tail ()
union { union {
#for (A, 0, 359, 120) #for (A, 0, 359, 120)
#local RY = A + 27*rand(Rng1); #local RY = A + 29*rand(Rng1);
object { Trid_A_ailette () rotate RY*y } object { Trid_A_ailette () rotate RY*y }
#end // for #end // for
} }