Compare commits

..

No commits in common. "d30036415abf09de40241baa2c02d81d259dff3c" and "71cce4f60c72e1d27d73b67da1b38b270a0056c9" have entirely different histories.

10 changed files with 47 additions and 61 deletions

View File

@ -31,7 +31,7 @@ object { Repere scale 10 translate y*7 }
object { Le_Decor } object { Le_Decor }
camera { camera {
location <45, 136+(19*NormClock), 18-(42*NormClock)> location <45, 126+(9*NormClock), 18>
look_at <0, 1.18, 0.17 + (2.9*NormClock)> look_at <0, 1.18, 0.17 + (2.9*NormClock)>
angle 49 angle 49
} }

View File

@ -21,18 +21,19 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare R_circ = R_circular; #declare R_circ = R_circular + 2;
#declare CK = NormClock * 3.141592654; #declare CK = NormClock * 2 * 3.141592654;
#declare CamX = R_circ * cos(CK); #declare CamX = R_circ * cos(CK);
#declare CamY = 3.08 + abs(sin(CK/4.00)); #declare CamY = 3.08;
#declare CamZ = R_circ * sin(CK); #declare CamZ = R_circ * sin(CK);
#declare LatX = R_circ * 0.93 * cos(CK + 0.09); #declare LatX = R_circ * 0.92 * cos(CK + 0.09);
#declare LatY = 3; #declare LatY = 3;
#declare LatZ = R_circ * 0.93 * sin(CK + 0.09); #declare LatZ = R_circ * 0.91 * sin(CK + 0.09);
camera { camera {
// orthographic
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
angle 66 angle 66

View File

@ -102,7 +102,7 @@ union {
union { union {
#local E = SzSol * 0.431; #local E = SzSol * 0.431;
#for (Idx, 0, 359, 60) #for (Idx, 0, 359, 60)
#local Ang = radians(Idx+9.33); #local Ang = radians(Idx+7.33);
#local Dx = E * sin(Ang); #local Dx = E * sin(Ang);
#local Dz = E * cos(Ang); #local Dz = E * cos(Ang);
object { GyroPhare () translate <Dx, H_sol, Dz> } object { GyroPhare () translate <Dx, H_sol, Dz> }
@ -117,13 +117,8 @@ union {
{ {
union { union {
#for (Ang, 0, 359, 8) #for (Ang, 0, 359, 15)
#local De = 3.6 + (0.5*rand(Rng1)); #local E = R_circular + (8*rand(Rng1));
#if (rand(Rng1) < 0.50)
#local E = R_circular + De;
#else
#local E = R_circular - De;
#end
#local Ra = radians(Ang); #local Ra = radians(Ang);
#local Xp = E * cos(Ra); #local Xp = E * cos(Ra);
#local Zp = E * sin(Ra); #local Zp = E * sin(Ra);
@ -161,7 +156,7 @@ union {
object { HexaBalls object { HexaBalls
texture { Lightning2 scale 0.56 } texture { Lightning2 scale 0.56 }
rotate <-clock, clock*0.33333, clock*3> rotate <-clock, clock*0.33333, clock>
translate <4, 1.11*Cos_010(NormClock), -3> translate <4, 1.11*Cos_010(NormClock), -3>
} }
} }
@ -217,7 +212,7 @@ difference {
cylinder { -y*5, y*5, 3.4 translate UnderHoles[Foo] } cylinder { -y*5, y*5, 3.4 translate UnderHoles[Foo] }
#end #end
} }
texture { T_Planete_B scale 0.42 } texture { T_Planete_A scale 0.42 }
/* /*
texture { texture {
pigment { color Gray20 } pigment { color Gray20 }
@ -296,14 +291,13 @@ union {
} }
#end #end
#if (0)
light_source { light_source {
<-4, 54, -7> <-4, 54, -7>
colour Gray50 colour Gray50
parallel parallel
point_at 0 point_at 0
} }
#end
} }
} }

View File

@ -70,16 +70,17 @@ object { Gyros }
#debug " Hexapole !!!\n" #debug " Hexapole !!!\n"
#break #break
#case (2) #case (2)
object { HexaWood translate y*2 } object { Tridents translate y*2 }
#debug " HexaWood !!!\n" object { Cabane_Compteur scale 2 rotate y*clock }
#debug " Deux Tridents !!!\n"
#break #break
#case (3) #case (3)
object { Chose } object { Les_Bibelots translate y }
#debug " Chose\n" #debug " Bibelots !!!\n"
#break #break
#case (4) #case (4)
object { Tridents scale 1.7 translate -y*0.1 } object { Les_Machins }
#debug " Tridents !!!\n" #debug " Machins !!!\n"
#break #break
#case (5) #case (5)
object { Horloge } object { Horloge }

View File

@ -3,11 +3,6 @@
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/ */
/* ======================================================= */
/* new 30 aout 2025
*/
/* ======================================================= */ /* ======================================================= */
#declare Horloge = object #declare Horloge = object
{ {
@ -57,11 +52,11 @@ union {
sphere { 0, R*2 scale <1, 0.666, 1> } sphere { 0, R*2 scale <1, 0.666, 1> }
sphere { 0, R*2 scale <1, 0.555, 1> translate y*H2 } sphere { 0, R*2 scale <1, 0.555, 1> translate y*H2 }
#local Ra = rand(Rng1); #local Ra = rand(Rng1);
#if (Ra < 0.25) #if (Ra < 0.30)
texture { T_Chrome_1A } texture { T_Chrome_1A }
#elseif (Ra < 0.50) #elseif (Ra < 0.60)
texture { T_Chrome_4D } texture { T_Chrome_4D }
#elseif (Ra < 0.75) #elseif (Ra < 0.90)
texture { T_Brass_2C } texture { T_Brass_2C }
#else #else
texture { Soft_Silver } texture { Soft_Silver }
@ -78,15 +73,14 @@ union {
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
/* /*
* l'assemblage en grand cercle de ces trucs est * l'assemblage de ces trucs est dans "contexte.inc"
* dans le fichier "contexte.inc"
*/ */
#macro HexaPole () #macro HexaPole ()
union { union {
object { Base_hexapole () scale <0.27, 0.2, 0.27> } object { Base_hexapole () scale <0.33, 0.2, 0.33> }
object { HexaPole_tubes () translate y*0.2 } object { HexaPole_tubes () translate y*0.2 }
rotate y*(53*rand(Rng1)) rotate y*(33*rand(Rng1))
} }
#end // macro #end // macro

View File

@ -11,7 +11,7 @@ global_settings {
#include "stones.inc" #include "stones.inc"
#include "woods.inc" #include "woods.inc"
#declare Rng1 = seed(1337); #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);
@ -32,14 +32,14 @@ global_settings {
#declare R_basecone = 0.117; #declare R_basecone = 0.117;
#declare H_cone = 0.97; #declare H_cone = 0.97;
#declare R_gyro = 0.14; #declare R_gyro = 0.08;
#declare H_gyro = 1.80; #declare H_gyro = 1.80;
#declare H_gylampe = 0.25; #declare H_gylampe = 0.25;
#declare H_QuadriLight = 37; #declare H_QuadriLight = 34;
#declare E_QuadriLight = SzSol * 1.35; #declare E_QuadriLight = SzSol * 1.35;
#declare R_circular = (SzSol * 1.60); #declare R_circular = (SzSol * 1.40);
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
@ -49,7 +49,7 @@ global_settings {
#declare WIP_color = texture #declare WIP_color = texture
{ {
pigment { color Cyan*0.60 } pigment { color Cyan*0.60 }
finish { phong 0.21 } finish { phong 0.01 }
} }
#declare T_WIP_alert = texture #declare T_WIP_alert = texture
@ -67,7 +67,7 @@ finish { phong 0.70 reflection 0.05 }
#declare T_Planete_B = texture #declare T_Planete_B = texture
{ {
pigment { rgb <0.40, 0.50, 0.70> } pigment { rgb <0.40, 0.50, 0.70> }
finish { metallic 0.55 reflection 0.55 } finish { metallic 0.50 reflection 0.55 }
} }
/* /*
@ -83,7 +83,7 @@ finish { roughness 1.00 }
#declare T_Beton_2 = texture #declare T_Beton_2 = texture
{ {
pigment { color <0.7, 0.6, 0.5> } pigment { color <0.7, 0.6, 0.5> }
normal { dents 0.25 scale 3 } normal { dents 0.25 scale 2 }
finish { roughness 1.00 } finish { roughness 1.00 }
} }

View File

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

View File

@ -36,13 +36,13 @@ echo "linkfarm $SRC" | 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=42 local NBRE=33
convert "WS/negatif.png" \ convert "WS/negatif.png" \
-gravity north \ -gravity north \
-font $FONTE \ -font $FONTE \
-pointsize 106 \ -pointsize 96 \
-kerning 9 \ -kerning 10 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \ -strokewidth 2 -stroke $STROKOL \
-annotate +0+530 "$1" \ -annotate +0+530 "$1" \
@ -122,7 +122,7 @@ do
-annotate +0+${Ypos} \ -annotate +0+${Ypos} \
"un film de\ntTh des Bourtoulots" \ "un film de\ntTh des Bourtoulots" \
-pointsize 52 \ -pointsize 52 \
-strokewidth 1 \ -strokewidth 2 \
-gravity south \ -gravity south \
-annotate +0+110 "${datetime}" \ -annotate +0+110 "${datetime}" \
${TMP} ${TMP}

View File

@ -40,8 +40,8 @@ do
# echo $frame $img $txt # echo $frame $img $txt
convert ${TMPIMG} \ convert ${TMPIMG} \
-font Courier-Bold \ -font Courier-Bold \
-pointsize 11 \ -pointsize 12 \
-kerning 4 \ -kerning 8 \
-fill ${TEXTCOL} \ -fill ${TEXTCOL} \
-gravity north \ -gravity north \
-annotate +12+5 "$txt" \ -annotate +12+5 "$txt" \

View File

@ -28,25 +28,21 @@ difference {
#macro Trid_A_head () #macro Trid_A_head ()
union { union {
#for (A, 0, 360, 120) #for (A, 0, 360, 120)
#local E = 0.26; #local E = 0.23;
#local Tx = E * sin(radians(A)); #local Tx = E * sin(radians(A));
#local Tz = E * cos(radians(A)); #local Tz = E * cos(radians(A));
object { Trid_A_cone () translate <Tx*2, 0, Tz> } object { Trid_A_cone () translate <Tx*2, 0, Tz> }
#end // for #end // for
#undef Tx #undef Tx
#undef Tz #undef Tz
torus { E*1.80, 0.02
scale <1, 4, 1> translate -y*0.12
texture { T_Chrome_3B } }
} }
#end #end
// ------------------------------------------------------ // ------------------------------------------------------
#macro Trid_A_body () #macro Trid_A_body ()
#local L = Trid_length / 2; #local L = Trid_length / 2;
#local R = 0.095;
merge { merge {
cylinder { <0, -L, 0>, <0, L, 0>, R } cylinder { <0, -L, 0>, <0, L, 0>, 0.065 }
sphere { 0, R scale <1, 6, 1> translate y*L } sphere { 0, 0.065 scale <1, 6, 1> translate y*L }
#if (rand(Rng1) < 0.50) #if (rand(Rng1) < 0.50)
texture { T_Chrome_1C } texture { T_Chrome_1C }
#else #else
@ -59,10 +55,10 @@ merge {
#macro Trid_A_ailette () #macro Trid_A_ailette ()
union { union {
#local E = 0.49; #local E = 0.49;
object { Trid_A_cone () scale 0.85 object { Trid_A_cone () scale 0.7
translate <E, -0.05, 0> } translate <E, -0.05, 0> }
cylinder { 0, x*E, 0.011 cylinder { 0, x*E, 0.012
scale <1, 5, 1> texture { T_Silver_3A } } scale <1, 4, 1> texture { T_Silver_3A } }
#undef E #undef E
} }
#end #end