commits du dimanche soir, espoir

This commit is contained in:
Tonton Th 2026-01-04 23:01:37 +01:00
parent 90894f8008
commit 111a7519f1
27 changed files with 153 additions and 59 deletions

View File

@ -4,7 +4,7 @@ DIMS = -W1600 -H1200
POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=450 -d POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=450 -d
POVDEP = contexte.inc hexacone.inc hexabenz.inc \ POVDEP = contexte.inc hexacone.inc hexabenz.inc \
hexastar.inc all.inc \ all.inc hexastar.inc \
globals.inc hexawood.inc datas/hf.png \ globals.inc hexawood.inc datas/hf.png \
dynamic.inc trident.inc groundbase.inc \ dynamic.inc trident.inc groundbase.inc \
gadgets.inc xperiment.inc gadgets.inc xperiment.inc
@ -20,7 +20,7 @@ PNG: essai.png scene.png topview.png passage.png \
hexacone.png remote.png survol.png cutoff.png \ hexacone.png remote.png survol.png cutoff.png \
carto.png hexawood.png bubblecut.png \ carto.png hexawood.png bubblecut.png \
circular.png panoramic.png splined.png \ circular.png panoramic.png splined.png \
trident.png approche.png trident.png approche.png hexastar.png
echo "make PNG ck=$(CK) done" >> WS/log echo "make PNG ck=$(CK) done" >> WS/log
approche.png: approche.pov Makefile $(POVDEP) approche.png: approche.pov Makefile $(POVDEP)
@ -41,7 +41,7 @@ cutoff.png: cutoff.pov Makefile $(POVDEP)
bubblecut.png: bubblecut.pov Makefile $(POVDEP) bubblecut.png: bubblecut.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
essai.png: essai.pov Makefile $(POVDEP) essai.png: essai.pov Makefile $(POVDEP) hexastar.inc
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
noise.png: essai.png Makefile noise.png: essai.png Makefile
convert -verbose -noise 45x3 $< $@ convert -verbose -noise 45x3 $< $@
@ -55,6 +55,9 @@ hexacone.png: hexacone.pov Makefile $(POVDEP)
hexawood.png: hexawood.pov Makefile $(POVDEP) hexawood.png: hexawood.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
hexastar.png: hexastar.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
passage.png: passage.pov Makefile $(POVDEP) passage.png: passage.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@ povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@

View File

@ -12,6 +12,7 @@
#include "hexabenz.inc" #include "hexabenz.inc"
#include "hexawood.inc" #include "hexawood.inc"
#include "trident.inc" #include "trident.inc"
#include "hexastar.inc"
// les machins avec des bugs // les machins avec des bugs
// #include "hexastar.inc" // #include "hexastar.inc"
@ -23,6 +24,8 @@
#include "contexte.inc" #include "contexte.inc"
// les machins qui bougent // les machins qui bougent
#include "dynamic.inc" #if ( ! NO_DYNAMIC )
#include "dynamic.inc"
#end
#debug "+++++++++++++++++++++++++++ FIN ALL\n" #debug "+++++++++++++++++++++++++++ FIN ALL\n"

View File

@ -8,6 +8,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
object { Le_Decor } object { Le_Decor }
@ -16,7 +17,7 @@ object { Le_Decor }
#declare LocX = 0; #declare LocX = 0;
#declare LocY = 3.6 - NormClock; #declare LocY = 3.6 - NormClock;
#declare LocZ = -210 + (120 * NormClock); #declare LocZ = -220 + (120 * NormClock);
#declare LocCam = <LocX, LocY, LocZ>; #declare LocCam = <LocX, LocY, LocZ>;
#declare LatCam = <0, 1.2, 0>; #declare LatCam = <0, 1.2, 0>;

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 1;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================
@ -31,7 +32,7 @@ sphere { Position, 0.020 translate y*TY + POS_Cutoff
texture { T_WIP_alert } } texture { T_WIP_alert } }
*/ */
/* this one is for debugging */ /* those are for for debugging */
// object { OpenBox (1, 0.05) translate y*TY + POS_Cutoff } // object { OpenBox (1, 0.05) translate y*TY + POS_Cutoff }
// object { Repere translate y*2.8 + POS_Cutoff } // object { Repere translate y*2.8 + POS_Cutoff }

View File

@ -9,6 +9,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// --------------------------------------------------------- // ---------------------------------------------------------

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================

View File

@ -19,12 +19,16 @@
#declare RedB_1_X = -24; #declare RedB_1_X = -24;
#declare RedB_1_Z = 8; #declare RedB_1_Z = 8;
#declare RedB_2_X = 39; #declare RedB_2_X = 36;
#declare RedB_2_Z = -14; #declare RedB_2_Z = -21;
#declare RedB_3_X = 42;
#declare RedB_3_Z = -5;
#declare Pos_RedB_0 = <RedB_0_X, 0, RedB_0_Z>; #declare Pos_RedB_0 = <RedB_0_X, 0, RedB_0_Z>;
#declare Pos_RedB_1 = <RedB_1_X, 0, RedB_1_Z>; #declare Pos_RedB_1 = <RedB_1_X, 0, RedB_1_Z>;
#declare Pos_RedB_2 = <RedB_2_X, 0, RedB_2_Z>; #declare Pos_RedB_2 = <RedB_2_X, 0, RedB_2_Z>;
#declare Pos_RedB_3 = <RedB_3_X, 0, RedB_3_Z>;
#macro RoundBase_0 ( T ) #macro RoundBase_0 ( T )
difference { difference {
@ -364,25 +368,28 @@ union {
translate <RedB_1_X, 0, RedB_1_Z> } translate <RedB_1_X, 0, RedB_1_Z> }
object { RoundBase_0 (T_Planete_B) object { RoundBase_0 (T_Planete_B)
translate <RedB_2_X, 0, RedB_2_Z> } translate <RedB_2_X, 0, RedB_2_Z> }
object { RoundBase_0 (T_Planete_A)
translate <RedB_3_X, 0, RedB_3_Z> }
// object { Les_Lumieres } // object { Les_Lumieres }
object { QuadriLight } object { QuadriLight }
object { Les_GyroPhares () } object { Les_GyroPhares () }
object { Les_HexaPoles } object { Les_HexaPoles }
object { Horloge rotate y*27 translate < 3, 0, -30> } object { Horloge rotate y*27 translate < 3, 0, -30> }
object { Les_Choses } object { Les_Choses }
object { Les_Arches (1.9) rotate y*152 translate <-34, 0, -26> } object { Les_Arches (1.9) rotate y*132 translate <-34, 0, -26> }
object { Les_Cahutes () rotate y*90 translate <24, 0, -10> } object { Les_Cahutes () translate <2, 0, -40> }
/* les trucs dans le Y négatif */ /* les trucs dans le Y négatif */
object { Trois_Arches (1.4) scale 2.7 translate <0, 0, -121> } object { Trois_Arches (1.4) scale 2.7 translate <0, 0, -131> }
object { OpenBox(1.5, 0.06) translate <-19, 1.49, -88> } object { OpenBox(1.5, 0.06) translate <-19, 1.49, -88> }
object { OpenBox(1.5, 0.06) translate <-18, 1.52, -104> } object { OpenBox(1.5, 0.06) translate <-19, 1.52, -104> }
object { OpenBox(1.5, 0.06) translate <-19, 1.52, -134> } object { OpenBox(1.5, 0.06) translate <-19, 1.52, -144> }
#for (Foo, 0, 5) #for (Foo, 0, 5)
object { Les_Cahutes () translate <29, 0, -(77+Foo*9)> } object { Les_Cahutes () translate <29, 0, -(77+Foo*11)> }
#end // for #end // for
} }
} }

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================

View File

@ -22,7 +22,7 @@ object {
#end #end
rotate y*degrees(CK) rotate y*degrees(CK)
translate <Xp, 36, Zp> translate <Xp, 46, Zp>
translate <-30, 0, 0> translate <-30, 0, 0>
} }
@ -56,7 +56,7 @@ object { Les_Machins rotate -y*clock translate UnderHoles[3] }
{ {
#local K = 1.39; #local K = 1.39;
union { union {
object { HexaBenz () rotate y*90 translate <-K, 1.79, 0> } object { HexaBenz () rotate y*90 translate <-K, 1.83, 0> }
object { HexaBenz () translate < K, 1.66, 0> } object { HexaBenz () translate < K, 1.66, 0> }
} }
} }
@ -88,6 +88,13 @@ object { BiTrident
translate Pos_RedB_2 + (y*2) translate Pos_RedB_2 + (y*2)
} }
/* l'hexastar est une nouvelle venue du 4 janvier 2026 */
// elle est ici présentée sur son estrade.
object { HexaStar rotate z*5
rotate y*(670*sin(NormClock))
translate Pos_RedB_3 + (y*2)
}
/* /*
* on fait passer un hexatruc dans le ciel * on fait passer un hexatruc dans le ciel
*/ */

View File

@ -8,6 +8,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================
@ -32,9 +33,13 @@
#if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position #if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position
#local Y_mean = Y_mean + posY; #local Y_mean = Y_mean + posY;
#local Y_count = Y_count + 1; #local Y_count = Y_count + 1;
#if (rand(Rng1) < 0.555) #local R = rand(Rng1);
#if (Rng1 < 0.30)
object { HexaCone () rotate <Rx, Ry, Rz> object { HexaCone () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#elseif (R < 0.60)
object { HexaStar () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#else #else
object { HexaBenz () rotate <Rx, Ry, Rz> object { HexaBenz () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
@ -50,10 +55,10 @@ object { Le_Decor }
// object { Repere scale 5 translate y } // object { Repere scale 5 translate y }
#local CamX = -8.7 + ( 6.9 * Cos_01(NormClock)); #local CamX = -8.7 + ( 6.9 * Cos_01(NormClock));
#local CamY = 0.42 + (17.06 * Cos_01(NormClock)); #local CamY = 0.42 + (17.36 * Cos_01(NormClock));
#local CamZ = 122 - (21.9 * Cos_01(NormClock)); #local CamZ = 122 - (21.9 * Cos_01(NormClock));
#local LatY = (Y_mean / Y_count) - NormClock; #local LatY = (Y_mean / Y_count) - (0.5*NormClock);
#debug concat("Lat Y ", str(LatY, 7, 3),"\n") #debug concat("Lat Y ", str(LatY, 7, 3),"\n")
camera { camera {

View File

@ -12,7 +12,6 @@
// ======================================================= // =======================================================
// nouveau du dernier jour 2025 // nouveau du dernier jour 2025
#include "hexastar.inc"
#declare Une_HexaStar = object #declare Une_HexaStar = object
{ {
@ -286,7 +285,7 @@ object { Gyros }
object { Le_ConeStack () translate y*0.20 } object { Le_ConeStack () translate y*0.20 }
#break #break
#case (3) #case (3)
object { HorlogeDouble /* rotate -y*(5*clock) */ } object { HorlogeDouble rotate -y*(5*clock) }
object { Repere translate y*1 } object { Repere translate y*1 }
#break #break
#case (4) #case (4)
@ -299,7 +298,7 @@ object { Gyros }
object { Les_Boules translate y*0.8 } object { Les_Boules translate y*0.8 }
#break #break
#case (6) #case (6)
object { Une_HexaStar rotate y*(clock) } object { Une_HexaStar /* rotate y*(clock) */ }
#break #break
#case (7) #case (7)
#local Pos = <0.5-NormClock, 0, 0>; #local Pos = <0.5-NormClock, 0, 0>;

View File

@ -6,6 +6,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================

View File

@ -6,6 +6,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
object { Le_Decor } object { Le_Decor }

View File

@ -8,44 +8,47 @@
/* ============================================================ */ /* ============================================================ */
/* Un des six éléments de base */ /* Un des six éléments de base */
#declare HS_element_a = object #declare HS_radius = 0.496;
{
union { #macro HS_element_a ()
cone { <-4, 0, 0>, 0.05, <-1, 0, 0>, 1.00 } union {
cone { < 4, 0, 0>, 0.05, < 1, 0, 0>, 1.00 } #local R_a = 0.18;
#local Small = 0.00001;
cone { <-1.5, 0, 0>, Small, <-0.6, 0, 0>, R_a }
sphere { 0, R_a scale <0.3, 1, 1> translate <-0.6, 0, 0> }
cone { < 1.5, 0, 0>, Small, < 0.6, 0, 0>, R_a }
sphere { 0, R_a scale <0.3, 1, 1> translate < 0.6, 0, 0> }
#local R = rand(Rng1);
#if ( R < 0.50 ) texture { GoldDark }
#else texture { T_Gold_3C }
#end
} }
} #end // macro
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
#declare HS_element_b = object /*
* element central
*/
#declare HS_element_central = object
{ {
difference { torus { HS_radius, 0.019 scale <1, 15.92, 1> rotate z*90 }
cylinder { <-1, 0, 0>, <1, 0, 0>, 0.70 } texture { Gold_Nugget }
box { 0, <1, 1, 1> }
}
}
/* ------------------------------------------------------------ */
#declare HS_element = object
{
union {
object { HS_element_a texture { GoldDark } }
object { HS_element_b texture { G_Texture } }
}
} }
/* ============================================================ */ /* ============================================================ */
/* On regroupe les six élements */ /* On regroupe les six élements */
#declare HS_les_elements = object #declare HS_les_elements = object
{ {
union { union {
#for (Foo, 0, 360, 60) #for (Foo, 0, 360, 60)
#local E = 0.31; #local E = HS_radius;
#local Tx = E * sin(radians(Foo));
#local Ty = E * cos(radians(Foo)); #local Ty = E * cos(radians(Foo));
#local Tz = E * sin(radians(Foo));
object { object {
HS_element HS_element_a ()
rotate -z*foo translate <0, Ty, Tz>
translate <Tx, Ty, 0>
} }
#end // end for #end // end for
object { HS_element_central }
} }
} }
/* ============================================================ */ /* ============================================================ */
@ -54,4 +57,6 @@ union {
{ {
object { HS_les_elements } object { HS_les_elements }
} }
// #debug "++++++++++ hexastar loaded !\n"
/* ============================================================ */ /* ============================================================ */

33
hexastar.pov Normal file
View File

@ -0,0 +1,33 @@
/*
* H E X A C O N E - HE X A S T A R
* nouveau du 3 janvier 2026
*/
#version 3.7;
#include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc"
// =======================================================
object { Le_Decor }
#declare CK = 2.03 - (NormClock * 2.72);
#declare DX_cam = 6.1 * cos(CK);
#declare DZ_cam = 5.2 * sin(CK);
#declare Loc_cam = <DX_cam, 1.10, DZ_cam> + Pos_RedB_3;
camera {
location Loc_cam
look_at Pos_RedB_3 + <0, 1.95+NormClock, 0>
right <image_width/image_height, 0, 0>
/* quand j'aurais la bonne machine... */
// focal_point <0.37, 0.0, 0>
// aperture 0.046
// blur_samples 30
angle 70 - 7 * Cos_01(NormClock)
}

View File

@ -8,6 +8,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================
@ -24,6 +25,6 @@ camera {
location LOC location LOC
look_at LAT look_at LAT
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 16 + 2.51*NormClock angle 16 + 2.71*NormClock
} }

View File

@ -6,6 +6,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 1;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================
@ -66,6 +67,13 @@ object { HexaCone ()
rotate y*CK*99.22 translate <PosX, PosY, PosZ> rotate y*CK*99.22 translate <PosX, PosY, PosZ>
} }
#declare PosX = RO * sin(CK+3.12);
#declare PosY = 0;
#declare PosZ = RO * cos(CK+3.23);
object { HexaStar ()
rotate y*CK*99.22 translate <PosX, PosY, PosZ>
}
object { Planete rotate (-clock*0.21)*y } object { Planete rotate (-clock*0.21)*y }
light_source { <23, 6, 15>, rgb <0.77, 0.79, 0.80> } light_source { <23, 6, 15>, rgb <0.77, 0.79, 0.80> }

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
#declare PosX = 3.95; #declare PosX = 3.95;

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
#declare A = <-SzSol, 16, -8>; #declare A = <-SzSol, 16, -8>;

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// --------------------------------------------------------- // ---------------------------------------------------------

View File

@ -9,6 +9,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
object { Le_Decor } object { Le_Decor }
@ -73,10 +74,12 @@ union {
finish { ambient 0.15 diffuse 0.65 phong 0.4 } finish { ambient 0.15 diffuse 0.65 phong 0.4 }
} }
#if (0)
#fopen KP "WS/spline.log" append #fopen KP "WS/spline.log" append
#write (KP, clock, " / ", NbFrames, " -> ") #write (KP, clock, " ", NbFrames, " ")
#write (KP, NormClock, " ", K1, " ", K2, " = ", V1, " ", V2, "\n") #write (KP, NormClock, " ", K1, " ", K2, " ", V1, " ", V2, "\n")
#fclose KP #fclose KP
#end
} }
// ======================================================= // =======================================================

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
object { Le_Decor } object { Le_Decor }
@ -15,20 +16,20 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare Debut = <-3, 89, 188> ; #declare Debut = <-3, 89, 188> ;
#declare Fin = < 2, 91, -15> ; #declare Fin = < 2, 91, -25> ;
#declare Pos = sqrt(NormClock+0.02); #declare Pos = sqrt(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos); #declare PosCam = Interpolate(Debut, Fin, Pos);
#declare LatX = 0.414 * sin(NormClock*6.1); #declare LatX = 0.414 * sin(NormClock*6.1);
#declare LatZ = -9 + (NormClock+11); #declare LatZ = -(150 + (7*NormClock));
#declare LatCam = PosCam + <LatX, 1, LatZ>; #declare LatCam = PosCam + <LatX, -95, LatZ>;
//
object { Repere scale 2 translate LatCam } // object { Repere scale 40 translate LatCam + y*5 }
camera { camera {
location PosCam location PosCam
look_at 0 look_at LatCam
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 80 angle 72
} }

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
source tools/config.sh
source tools/fonctions.sh
for foo in $* for foo in $*
do do
@ -9,7 +12,10 @@ do
tools/build-gif89a.sh $foo tools/build-gif89a.sh $foo
else else
echo "+++ Beurking on $foo" | tee -a WS/log echo "+++ Beurking on $foo" | tee -a WS/log
sleep 10
fi fi
visual_sleep "next render is comming" 30
done done

View File

@ -7,6 +7,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"

View File

@ -6,6 +6,7 @@
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
// ======================================================= // =======================================================

View File

@ -16,7 +16,7 @@ union {
object { Trident_A () rotate x*87 } object { Trident_A () rotate x*87 }
object { HexaBenz () translate <-EX, 0, -EZ> } object { HexaBenz () translate <-EX, 0, -EZ> }
object { HexaCone () translate < EX, -0.2, -EZ> } object { HexaCone () translate < EX, -0.2, -EZ> }
object { HexaBenz () translate <-EX*2, 0, -EZ*2> } object { HexaStar translate <-EX*2, 0, -EZ*2> }
object { HexaCone () translate < EX*2, -0.2, -EZ*2> } object { HexaCone () translate < EX*2, -0.2, -EZ*2> }
} }
} }