From f0886b01f24c0c00d6ae6c46473ad7cf5cf3a600 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Mon, 16 Nov 2026 11:24:20 +0100 Subject: [PATCH] add the hexatube --- Makefile | 7 +++++-- all.inc | 3 +++ contexte.inc | 14 ++++++++++---- hexatube.inc | 40 ++++++++++++++++++++++++++++++++++++++++ hexatube.pov | 25 +++++++++++++++++++++++++ passage.pov | 2 +- tools/config.sh | 2 +- tools/linkfarmer.sh | 3 ++- tools/make_one_seq.sh | 2 +- 9 files changed, 88 insertions(+), 10 deletions(-) create mode 100644 hexatube.inc create mode 100644 hexatube.pov diff --git a/Makefile b/Makefile index fc8230c..5c1807f 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -DIMS = -W1600 -H1200 +DIMS = -W1600 -H1200 # POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=480 -d POVOPT = +q7 -a -WT2 Declare=NbFrames=480 -d POVDEP = contexte.inc hexacone.inc hexabenz.inc \ all.inc hexastar.inc \ - architecture.inc \ + architecture.inc hexatube.inc \ globals.inc hexawood.inc datas/hf.png \ dynamic.inc trident.inc groundbase.inc \ gadgets.inc xperiment.inc @@ -67,6 +67,9 @@ hexawood.png: hexawood.pov Makefile $(POVDEP) hexastar.png: hexastar.pov Makefile $(POVDEP) povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@ +hexatube.png: hexatube.pov Makefile $(POVDEP) + povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@ + passage.png: passage.pov Makefile $(POVDEP) povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ diff --git a/all.inc b/all.inc index e311c3d..eb214f6 100644 --- a/all.inc +++ b/all.inc @@ -14,6 +14,9 @@ #include "trident.inc" #include "hexastar.inc" +#include "hexatube.inc" + + // les machins avec des bugs #include "architecture.inc" diff --git a/contexte.inc b/contexte.inc index f5618fe..fb8c39b 100644 --- a/contexte.inc +++ b/contexte.inc @@ -36,9 +36,13 @@ union { /* ======================================================= */ /* - * essai du 12 mars 2025 + * + * DÉCLARER DES POSITIONS */ +#declare X_hexatube = 27; +#declare Z_hexatube = 32; + #declare RedB_0_X = 19; #declare RedB_0_Z = 29; #declare RedB_1_X = -34; #declare RedB_1_Z = 11; @@ -78,7 +82,7 @@ union { intersection { sphere { 0, R_gyro scale <1, 1.717, 1> } box { <-1, 0, -1>, <1, 1.94, 1> } - translate y*(H_gyro+H_gylampe+0.04) + translate y*(H_gyro+H_gylampe+0.04) } #local R = rand(Rng1); #if (R < 0.33) texture { T_Stone25 scale 1+rand(Rng1) } @@ -150,7 +154,7 @@ union { #local E = R_circular + De; #else #local E = R_circular - De; - #end + #end #local Ra = radians(Ang); #local Xp = E * cos(Ra); #local Zp = E * sin(Ra); @@ -349,7 +353,7 @@ sky_sphere { union { object { Underground } object { Les_Bordures } - + object { Les_Jalons } #include "groundbase.inc" @@ -364,6 +368,8 @@ union { object { RoundBase_0 (T_Planete_A) translate } + object { HexaTube translate } + // object { Les_Lumieres } object { QuadriLight } object { Les_GyroPhares () } diff --git a/hexatube.inc b/hexatube.inc new file mode 100644 index 0000000..7099f2c --- /dev/null +++ b/hexatube.inc @@ -0,0 +1,40 @@ +/* + + */ + +#local Rtube = R_basecone * 2.75; +#local Stube = 1.00; +#declare Etube = 0.02; + +#declare HexaTube_shape_0 = object +{ +difference { + merge { + cylinder { <-Stube, 0, 0>, , Rtube } + cylinder { <0, -Stube, 0>, <0, Stube, 0>, Rtube } + cylinder { <0, 0, -Stube>, <0, 0, Stube>, Rtube } + } + merge { + #local S2 = Stube + 1; + #local R2 = Rtube - Etube; + cylinder { <-S2, 0, 0>, , R2 } + cylinder { <0, -S2, 0>, <0, S2, 0>, R2 } + cylinder { <0, 0, -S2>, <0, 0, S2>, R2 } + } + texture { Flashy scale 3 } + } +} + +#declare HexaTube_base = object +{ +cylinder { 0, y, 3 } +pigment { color Cyan } +} + +#declare HexaTube = object +{ +union { + object { HexaTube_shape_0 rotate y*clock translate y*2.5 } + object { HexaTube_base } + } +} diff --git a/hexatube.pov b/hexatube.pov new file mode 100644 index 0000000..35e0859 --- /dev/null +++ b/hexatube.pov @@ -0,0 +1,25 @@ +/* + * H E X A C O N E - H E X A T U B E + */ + +#version 3.7; + +#include "globals.inc" + +#declare NO_DYNAMIC = 0; +#include "all.inc" + +object { Le_Decor } + +// ======================================================= + +#declare Loc_cam = <18+(5*NormClock), 22.7, 30>; + +camera { + location Loc_cam + #local H = 1.16 - (NormClock*0.44); + look_at + right + angle 59 - 25 * Cos_010(NormClock) + } + diff --git a/passage.pov b/passage.pov index 9ef2eb5..712af1d 100644 --- a/passage.pov +++ b/passage.pov @@ -52,6 +52,6 @@ camera { // focal_point <0, 1, 0> // aperture 0.046 // blur_samples 30 - angle 32 + angle 26 } diff --git a/tools/config.sh b/tools/config.sh index d91d241..3198702 100644 --- a/tools/config.sh +++ b/tools/config.sh @@ -7,6 +7,6 @@ Img_Height=720 TEXTCOL="Yellow3" STROKOL="Green" -NBFRAMES=640 +NBFRAMES=600 diff --git a/tools/linkfarmer.sh b/tools/linkfarmer.sh index f452021..78d8e0c 100755 --- a/tools/linkfarmer.sh +++ b/tools/linkfarmer.sh @@ -109,7 +109,7 @@ echo " $datetime" | tee -a WS/log local SRC="frames/patrouille/00165.png" local GRAY="/dev/shm/tmp-fin.png" -convert -colorspace gray -colors 90 $SRC $GRAY +convert -dither none -colorspace gray -colors 60 $SRC $GRAY for foo in $(seq 0 $NBRE) do @@ -150,6 +150,7 @@ linkfarm hexabenz linkfarm patrouille # new St Valentine 2026 linkfarm hexawood # linkfarm escadrille +linkfarm hexatube # linkfarm survol linkfarm around # new 26 jan 2026 # linkfarm cutoff diff --git a/tools/make_one_seq.sh b/tools/make_one_seq.sh index 2903165..4e68cf8 100755 --- a/tools/make_one_seq.sh +++ b/tools/make_one_seq.sh @@ -50,7 +50,7 @@ do # echo $frame $img $txt convert ${TMPIMG} \ -font Courier-Bold \ - -pointsize 64 \ + -pointsize 60 \ -kerning 8 \ -strokewidth 1 \ -fill ${STROKOL} -stroke ${TEXTCOL} \