Compare commits

...

6 Commits

Author SHA1 Message Date
Tonton Th
898828b49d a lot of cosmetic 2025-09-12 03:56:21 +02:00
Tonton Th
11717a4f6a use the new Define 2025-09-12 03:53:53 +02:00
Tonton Th
879dab3239 add a Define 2025-09-12 03:53:05 +02:00
Tonton Th
cf0bcb9cab enhance your tools 2025-09-12 03:52:23 +02:00
Tonton Th
32606a5a18 very small tuning 2025-09-09 22:05:29 +02:00
Tonton Th
abaa6437fd texturing is a mess 2025-09-06 20:38:46 +02:00
17 changed files with 57 additions and 38 deletions

View File

@ -1,7 +1,7 @@
DIMS = -W1600 -H1200
# POVOPT = +q9 +a0.02 -d
POVOPT = +q9 +A -d
POVOPT = +q9 +A Declare=NbFrames=400 -d
POVDEP = contexte.inc hexacone.inc hexabenz.inc \
globals.inc hexawood.inc datas/hf.png \
dynamic.inc trident.inc groundbase.inc \

View File

@ -36,7 +36,7 @@ sphere { Position, 0.020 translate y*TY + POS_Cutoff
texture { T_WIP_alert } }
/* this one is for debugging */
object { OpenBox translate y*TY + POS_Cutoff }
// object { OpenBox translate y*TY + POS_Cutoff }
// object { Repere translate y*2.8 + POS_Cutoff }
// =======================================================

View File

@ -21,8 +21,8 @@
// dessiner une grille
#for (Foo, -150, 150, 10)
cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.12 }
cylinder { <Foo, 0, -150>, <Foo, 0, 150>, 0.12 }
cylinder { <-150, 0, Foo>, <150, 0, Foo>, 0.10 }
cylinder { <Foo, 0, -150>, <Foo, 0, 150>, 0.10 }
#end
// ---------------------------------------------------------

View File

@ -320,7 +320,7 @@ sky_sphere {
[ 0.9 color rgb <.9, .6, .5> ]
[ 1.0 color Gray20 ]
}
turbulence 3.14159 + 0.74 * Cos_010(NormClock)
turbulence 3.14159 + 0.84 * Cos_010(NormClock)
scale 1.600
// translate -1
}

View File

@ -31,7 +31,7 @@ difference {
// object { Repere scale 2 translate y*2.6 + POS_Cutoff }
/* this one is for debugging */
object { OpenBox translate y*TY + POS_Cutoff }
// object { OpenBox translate y*TY + POS_Cutoff }
// =======================================================
light_source {
@ -45,9 +45,9 @@ object { Le_Decor }
// =======================================================
#local CamX = -25.4 + (2.19*Cos_01(NormClock));
#local CamX = -25.4 + (2.39*Cos_01(NormClock));
#local CamY = 1.6 - (0.24*sqrt(NormClock));
#local CamZ = -0.85 + (2.02*NormClock);
#local CamZ = -1.85 + (4.02*NormClock);
camera {
location <CamX, CamY, CamZ>

View File

@ -25,10 +25,10 @@ object { BiBenz rotate -y*(clock*0.19) translate Pos_RedB_0 }
#local K = 1.27;
union {
object { HexaCone () rotate y*90 translate <-K, 1.7, 0> }
object { HexaCone () translate < K, 1.9, 0> }
object { HexaCone () rotate <4, 1, 6> translate < K, 1.9, 0> }
}
}
object { BiCone rotate -y*(Cos_010(NormClock)*777) translate Pos_RedB_1 }
object { BiCone rotate -y*(Cos_010(NormClock)*666) translate Pos_RedB_1 }
/*
* on fait passer un hexatruc dans le ciel
@ -90,7 +90,7 @@ object { HexaWood rotate z*R translate P_hexawood }
* survol par un trident
*/
#declare A = < 2, 49, -20>;
#declare B = <-3, 47, 22>;
#declare B = <-3, 37, 22>;
#declare P = Interpolate(A, B, NormClock);
object { Trident_A () rotate y*(clock*2.7)
rotate z*80

View File

@ -54,8 +54,8 @@ object { Le_Decor }
// object { Repere scale 5 translate y }
#local CamX = -8.7 + ( 6.6 * Cos_01(NormClock));
#local CamY = 0.95 + (22.64 * Cos_01(NormClock));
#local CamX = -8.7 + ( 6.9 * Cos_01(NormClock));
#local CamY = 0.95 + (24.64 * Cos_01(NormClock));
#local CamZ = 16.86 + (12.9 * Cos_01(NormClock));
camera {

View File

@ -57,7 +57,7 @@ union {
object { Gyros }
#declare Selector = mod(int(clock/14), 6);
#declare Selector = mod(int(clock/17), 6);
#debug concat("Selector = ", str(Selector, 6, 0), "\n")
#switch (Selector)
@ -74,12 +74,12 @@ object { Gyros }
#debug " HexaWood !!!\n"
#break
#case (3)
object { Chose }
object { Chose rotate y*clock }
#debug " Chose\n"
#break
#case (4)
object { Tridents scale 1.7 translate -y*0.1 }
#debug " Tridents !!!\n"
object { Chose rotate -y*clock }
#debug " Chose\n"
#break
#case (5)
object { Horloge }

View File

@ -5,17 +5,25 @@
/* ======================================================= */
/* new 30 aout 2025
*
* une idée à creuser davantage...
*/
#declare Chose = object
{
merge {
cylinder { 2*z, 0.5, 1.32 }
cylinder { 1*x, 4.5*y, 0.20+(0.5*Cos_010(NormClock)) }
cone { 1.2*z, 0.91, 0.5, 1.22 }
#local C2X = 8 * sin(NormClock) * sin(NormClock*3);
#local C2Z = 5 * (sin(-NormClock) * cos(NormClock*5));
cylinder { 1*x, <C2X, 4.5, C2Z>, 0.20+(0.2*Cos_010(NormClock)) }
#local P2 = (clock/51)+1;
cylinder { 0, P2, 0.04 }
sphere { P2, 0.09 }
}
texture { tPlasticOrange }
scale <0.8, 0.6, 0.9>
translate y*1.6666
scale <0.6, 0.5, 0.7>
rotate -y*clock
translate y*1.6666666
}
/* ======================================================= */
@ -27,11 +35,11 @@ translate y*1.6666
text {
// ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
texture { T_WIP_alert }
texture { tPlasticGreen }
}
scale 3.00
rotate 90*x
translate <-4.5, 0.04, 0>
translate <-4.5, 0.044, 0>
}
// =======================================================

View File

@ -16,7 +16,7 @@ global_settings {
#declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2);
#declare NormClock = clock / 360.0;
#declare NormClock = clock / NbFrames;
/* ------------------------------------------------------------ */
/*
@ -55,7 +55,7 @@ finish { phong 0.23 }
#declare T_WIP_alert = texture
{
pigment { color Red }
finish { ambient 1 specular 0.90 }
finish { ambient 1 specular 0.80 }
}
#declare T_Planete_A = texture
@ -97,6 +97,15 @@ finish { roughness 1.00 }
}
}
#declare tPlasticGreen = texture
{
pigment{rgb <0.50, 2.000, 0.0>}
finish {
ambient 0.1
diffuse 0.6
specular 0.3
}
}
#declare Flashy = texture {
pigment {

View File

@ -24,7 +24,7 @@ object { Le_Decor }
// object { Repere scale 2 }
#declare Loc_cam = <2, 2.5, 1> + (Pos_RedB_1 * 1.363);
#declare Loc_cam = <2, 2.5, 1> + (Pos_RedB_1 * 1.383);
camera {
location Loc_cam

View File

@ -23,7 +23,7 @@ object { Le_Decor }
// object { Repere translate <10, 1, 10> }
camera {
location <39, 2, 14>
location <39, 2+NormClock, 14>
look_at <-20, 1.7, 25.6>
angle 26 + 2*NormClock
}

View File

@ -23,8 +23,8 @@ object { Le_Decor }
// =======================================================
#declare Debut = <-3, 87, 131> ;
#declare Fin = < 2, 91, 31> ;
#declare Debut = <-3, 87, 151> ;
#declare Fin = < 2, 91, 41> ;
#declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos);
@ -33,6 +33,6 @@ object { Le_Decor }
camera {
location PosCam
look_at LatCam
angle 58
angle 56
}

View File

@ -3,7 +3,7 @@
Img_Width=1024
Img_Height=720
TEXTCOL="Orange"
TEXTCOL="White"
STROKOL="OliveDrab"
NBFRAMES=360
NBFRAMES=400

View File

@ -41,8 +41,8 @@ local NBRE=42
convert "WS/negatif.png" \
-gravity north \
-font $FONTE \
-pointsize 106 \
-kerning 9 \
-pointsize 100 \
-kerning 8 \
-fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+530 "$1" \
@ -74,8 +74,8 @@ faire_le_titre ()
{
echo "faire le titre"
local NBRE=320
local SRC="frames/passage/00099.png"
local NBRE=300
local SRC="frames/hexawood/00199.png"
local GRAY="/dev/shm/tmp-titre.png"
convert -colorspace gray -colors 27 $SRC $GRAY

View File

@ -16,7 +16,9 @@ fi
echo "$0 $SEQNAME from $START" >> WS/log
DIMS="-W$Img_Width -H$Img_Height"
POVOPT="+q9 +A0.02 -d ${DIMS} -WT7"
NBFR=" Declare=NbFrames=$NBFRAMES "
echo $NBFR
POVOPT="+q9 +A0.02 -d ${DIMS} ${NBFR} -WT7"
echo $POVOPT ; echo ; sleep 2
TMPIMG=/dev/shm/${SEQNAME}-tmp.png

View File

@ -56,7 +56,7 @@ gnuplot << __EOC__
set term png size $Img_Width,$Img_Height
set output "timing.png"
set grid
set xrange [:360]
set xrange [:400]
set yrange [0:]
set title "Séquence '${sequence}'"
set xlabel "numéro de la trame"