Compare commits

...
4 Commits
Author SHA1 Message Date
Tonton Th 4f6d099479 cosmetic 2026-11-18 21:05:50 +01:00
Tonton Th 59b8852ea4 move the hexatube 2026-11-18 21:04:19 +01:00
Tonton Th 23be7c2590 this is now a better tool 2026-11-18 21:02:19 +01:00
Tonton Th f5929e8ee7 gold cones go high 2026-11-18 21:00:57 +01:00
4 changed files with 16 additions and 13 deletions

No files matched your search

+2 -2
View File
@@ -40,8 +40,8 @@ union {
* DÉCLARER DES POSITIONS * DÉCLARER DES POSITIONS
*/ */
#declare X_hexatube = 27; #declare X_hexatube = 31.5;
#declare Z_hexatube = 32; #declare Z_hexatube = 30.6;
#declare RedB_0_X = 19; #declare RedB_0_Z = 29; #declare RedB_0_X = 19; #declare RedB_0_Z = 29;
+3 -3
View File
@@ -11,7 +11,7 @@ global_settings {
#include "stones.inc" #include "stones.inc"
#include "woods.inc" #include "woods.inc"
#declare Rng1 = seed(3615); #declare Rng1 = seed(1789);
#declare foo = rand(Rng1); #declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60); #declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2); #declare bar = rand(Rng2);
@@ -48,7 +48,7 @@ global_settings {
* Some textures... * Some textures...
*/ */
#declare LeGris = texture #declare LeGris = texture
{ {
/* moi j'dis qu'il est temps de définir un "gris de base" */ /* moi j'dis qu'il est temps de définir un "gris de base" */
pigment { color Gray70 } pigment { color Gray70 }
@@ -154,7 +154,7 @@ pigment {
scale 0.50 scale 0.50
} }
finish { finish {
emission 0 ambient 0.717 diffuse 0.209 specular 0 ambient 0.717 diffuse 0.209 specular 0
} }
} }
+5 -5
View File
@@ -9,7 +9,7 @@
// ------------------------------------------------------- // -------------------------------------------------------
#macro HW_Un_Cone () #macro HW_Un_Cone ()
merge { merge {
#local RA = R_basecone * 0.92; #local RA = R_basecone * 0.92;
cone { 0, RA, y*0.91, 0.000001 } cone { 0, RA, y*0.91, 0.000001 }
@@ -109,7 +109,7 @@ union {
} }
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
#declare HW_Anneau_0 = object #declare HW_Anneau_0 = object
{ {
merge { merge {
torus { Hc_rad*0.31, 0.0666 scale <1, 0.55, 1> } torus { Hc_rad*0.31, 0.0666 scale <1, 0.55, 1> }
@@ -117,13 +117,13 @@ merge {
#local DX = Hc_rad*0.31 * sin(radians(Foo)); #local DX = Hc_rad*0.31 * sin(radians(Foo));
#local DZ = Hc_rad*0.31 * cos(radians(Foo)); #local DZ = Hc_rad*0.31 * cos(radians(Foo));
#local HC = 0.30 + (0.03*rand(Rng2)); #local HC = 0.30 + (0.03*rand(Rng2));
cone { 0, 0.037, y*HC*1.2, 0.0001 translate <DX, 0, DZ> } cone { 0, 0.037, y*HC*1.42, 0.0001 translate <DX, 0, DZ> }
#end // FOR #end // FOR
} }
texture { GoldDark } texture { GoldDark }
} }
#declare HW_Anneau_1 = object #declare HW_Anneau_1 = object
{ {
merge { merge {
#for (Foo, 0, 359, 60) #for (Foo, 0, 359, 60)
@@ -133,7 +133,7 @@ merge {
cylinder { 0, 0.05*y, 0.006 } cylinder { 0, 0.05*y, 0.006 }
cone { 0.03*y, 0.006, 0.08*y, 0.012 } cone { 0.03*y, 0.006, 0.08*y, 0.012 }
sphere { 0.08*y, 0.013 } sphere { 0.08*y, 0.013 }
translate <DX, 0, DZ> translate <DX, 0, DZ>
} }
#end #end
} }
+6 -3
View File
@@ -6,6 +6,8 @@ source tools/config.sh
source tools/fonctions.sh source tools/fonctions.sh
SEQNAME="$1" SEQNAME="$1"
echo ; banner $SEQNAME ; sleep 15
LAST="WS/$SEQNAME.last" LAST="WS/$SEQNAME.last"
if [ ! -r $LAST ] if [ ! -r $LAST ]
@@ -15,12 +17,12 @@ fi
NEXT=$(head -1 $LAST) NEXT=$(head -1 $LAST)
count=$(( ($RANDOM % 42) + 60 )) count=$(( ($RANDOM % 42) + 80 ))
printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log
DIMS="-W$Img_Width -H$Img_Height" DIMS="-W$Img_Width -H$Img_Height"
NBFR=" Declare=NbFrames=$NBFRAMES " NBFR=" Declare=NbFrames=$NBFRAMES "
POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT4" POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT3"
# echo $NBFR # echo $NBFR
# echo $POVOPT ; echo ; sleep 2 # echo $POVOPT ; echo ; sleep 2
@@ -50,7 +52,7 @@ do
# echo $frame $img $txt # echo $frame $img $txt
convert ${TMPIMG} \ convert ${TMPIMG} \
-font Courier-Bold \ -font Courier-Bold \
-pointsize 60 \ -pointsize 58 \
-kerning 8 \ -kerning 8 \
-strokewidth 1 \ -strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \ -fill ${STROKOL} -stroke ${TEXTCOL} \
@@ -71,6 +73,7 @@ done
date --utc > WS/$SEQNAME.done date --utc > WS/$SEQNAME.done
echo echo
sleep 10
ff_encodage $SEQNAME wip-${SEQNAME}.mp4 ff_encodage $SEQNAME wip-${SEQNAME}.mp4
echo "build '$SEQNAME' done" | tee -a WS/log echo "build '$SEQNAME' done" | tee -a WS/log