Compare commits

...
33 Commits
Author SHA1 Message Date
Tonton Th 61335559a0 break things & move fast 2026-12-01 10:23:44 +01:00
Tonton Th 8cd3a3f439 nice improvments 2026-12-01 10:22:26 +01:00
Tonton Th 98b4d69855 more doc 2026-12-01 10:20:04 +01:00
Tonton Th 5b121c4c92 ACAB 2026-11-29 22:39:37 +01:00
Tonton Th 808505fac5 debug + cosmetic 2026-11-29 21:57:10 +01:00
Tonton Th c80dbff8a4 fine tuning 2026-11-26 15:47:29 +01:00
Tonton Th 251ed5ed5e les anneaux 2026-11-26 15:46:36 +01:00
Tonton Th 7a67011ccf update textures 2026-11-26 01:00:46 +01:00
Tonton Th 4fb406f841 clean 2026-11-26 00:59:47 +01:00
Tonton Th 461814b392 update creation of the "fail" picture 2026-11-26 00:58:09 +01:00
Tonton Th 9e82ed8696 update the patrol 2026-11-26 00:57:01 +01:00
Tonton Th 0a95c654c7 oups... 2026-11-26 00:45:56 +01:00
Tonton Th 0858f73ee9 cleanup 2026-11-25 23:37:46 +01:00
Tonton Th 56ebdcb71d camera tuning 2026-11-25 23:04:24 +01:00
Tonton Th e488e5f6e1 better box for the janus clock 2026-11-25 23:03:41 +01:00
Tonton Th 0dd201fa5d techno-solutionnisme 2026-11-25 23:02:29 +01:00
Tonton Th 4868a52033 debug the cam move 2026-11-25 22:26:10 +01:00
Tonton Th 131ae86a7f add a named color 2026-11-25 22:25:17 +01:00
Tonton Th 737b35538c cosmetic 2026-11-24 19:00:54 +01:00
Tonton Th bb2f9bde7a YOLO 2026-11-24 00:45:10 +01:00
Tonton Th 89856e784e to much data is useless 2026-11-23 11:46:59 +01:00
Tonton Th 82121c2d0f type resize 2026-11-23 11:07:42 +01:00
Tonton Th d37389f082 fix a lot of-by-one errors 2026-11-23 08:14:21 +01:00
Tonton Th 97c155d6e1 MORE SWING ! 2026-11-23 01:10:09 +01:00
Tonton Th 74e5af43fe time to sleep... 2026-11-23 00:48:48 +01:00
Tonton Th 7331ddee2d hexacone is swinging 2026-11-23 00:48:08 +01:00
Tonton Th f3ad3b4cc9 cosmetic 2026-11-22 21:00:07 +01:00
Tonton Th 7635bd0099 ajouter un portique ne peut nuire 2026-11-22 20:59:05 +01:00
Tonton Th f0626712bc make the hexatube movable 2026-11-22 20:57:37 +01:00
Tonton Th 98e4e8cb93 cosmetic on the doc 2026-11-21 17:53:22 +01:00
Tonton Th 2ea7bc58aa technical change 2026-11-21 12:58:57 +01:00
Tonton Th 24e0f0f75f enhance "LeGris" 2026-11-21 12:56:39 +01:00
Tonton Th ea83a212ed infinitesimal change 2026-11-21 12:55:27 +01:00
40 changed files with 371 additions and 248 deletions

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@ les images fixes, qui sont traitées
par un classique [`Makefile`](./Makefile) et les séquences animées par un classique [`Makefile`](./Makefile) et les séquences animées
produites par un [script shell](./make_one_seq.sh). Celui-ci produites par un [script shell](./make_one_seq.sh). Celui-ci
fonctionne sur un mode incrémental. À chaque fois qu'il est fonctionne sur un mode incrémental. À chaque fois qu'il est
lancé il va calculer entre 50 et 80 images en démarrant là où lancé il va calculer entre 50 et 111 images en démarrant là où
il s'est arreté à la précédente passe. il s'est arreté à la précédente passe.
Avant toute chose, vous devrez vérifier la présence de plusieurs Avant toute chose, vous devrez vérifier la présence de plusieurs
@@ -52,7 +52,7 @@ et de l'autre coté le repértoire `./WS/` pour ranger les
[fichiers de travail](./WS/README.md). [fichiers de travail](./WS/README.md).
Ensuite, il faut assembler toutes ces images calculées en une vidéo Ensuite, il faut assembler toutes ces images calculées en une vidéo
de qualité (ce que je fait très empiriquement). Tout d'abord, on encode de *qualitay* (ce que je fait très empiriquement). Tout d'abord, on encode
(avec ce [script](./tools/encode.sh)) chaque séquence individuelle (avec ce [script](./tools/encode.sh)) chaque séquence individuelle
pour les mettre dans le grand Ternet mondial à partir de mon pour les mettre dans le grand Ternet mondial à partir de mon
[ADSL](http://maison.tth.netlib.re/pov/hexacone.html) de campagne. [ADSL](http://maison.tth.netlib.re/pov/hexacone.html) de campagne.
+1 -1
View File
@@ -1,4 +1,4 @@
# Workspace # Workspace
This space is for intermediate files, fuzzy garbage, timing log, This space is for intermediate files, fuzzy garbage, timing log,
and a lot of weird datas. sequence status, and a lot of weird datas.
+4 -4
View File
@@ -15,9 +15,9 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare LocX = -1.5 + (2.10*Cos_010(NormClock)); #declare LocX = -1.5 + (2.70*Cos_010(NormClock));
#declare LocY = 2.6 - NormClock; #declare LocY = 2.9 - NormClock;
#declare LocZ = -180 + (102 * NormClock); #declare LocZ = -180 + (109 * NormClock);
#declare LatCam = <0, 0.92+NormClock, 0>; #declare LatCam = <0, 0.92+NormClock, 0>;
@@ -25,7 +25,7 @@ object { Le_Decor }
camera { camera {
cylinder 2 cylinder 2
angle 42 + (32 * NormClock) angle 44 + (34 * NormClock)
location <LocX, LocY, LocZ> location <LocX, LocY, LocZ>
look_at LatCam look_at LatCam
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
+6 -4
View File
@@ -10,7 +10,7 @@
#macro Jalon_0 (Rad, Hei, Ttu) #macro Jalon_0 (Rad, Hei, Ttu)
merge { merge {
cylinder { 0, Hei*y, Rad } cylinder { 0, Hei*y, Rad }
sphere { 0, Rad*2.75 scale <1, 0.333, 1> translate Hei*y } sphere { 0, Rad*2.55 scale <1, 0.451, 1> translate Hei*y }
texture { Ttu } texture { Ttu }
} }
#end #end
@@ -73,7 +73,7 @@ union {
#macro Linteau_A (Lg, Epp) #macro Linteau_A (Lg, Epp)
merge { merge {
#local L = Lg + 0.82; #local L = Lg + 0.82;
#local K = 0.30; #local K = 0.31;
box { <-L, 0, -K>, <L, Epp, K> } box { <-L, 0, -K>, <L, Epp, K> }
cylinder { <0, Epp, -K*0.9>, <0, Epp, K*0.9>, K } cylinder { <0, Epp, -K*0.9>, <0, Epp, K*0.9>, K }
#local R = rand(Rng1); #local R = rand(Rng1);
@@ -89,8 +89,10 @@ merge {
merge { merge {
#local L = Lg + 0.60; #local L = Lg + 0.60;
#local K = 0.36; #local K = 0.36;
#local E = L * 0.333333;
box { <-L, 0, -K>, <L, Epp, K> } box { <-L, 0, -K>, <L, Epp, K> }
cylinder { <0, Epp, -K*0.9>, <0, Epp, K*0.9>, K } cylinder { < E, Epp, -K*0.9>, < E, Epp, K*0.9>, K }
cylinder { <-E, Epp, -K*0.9>, <-E, Epp, K*0.9>, K }
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.63) texture { T_Crack3 } // XXX #if (R < 0.63) texture { T_Crack3 } // XXX
#else texture { T_Grnt19a } #else texture { T_Grnt19a }
@@ -106,7 +108,7 @@ union {
object { Colonne_A (Haut) translate -x*Larg } object { Colonne_A (Haut) translate -x*Larg }
object { Colonne_A (Haut) translate x*Larg } object { Colonne_A (Haut) translate x*Larg }
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.80) #if (R < 0.60)
object { Linteau_A (Larg,0.26) translate y*(Haut+0.20) } object { Linteau_A (Larg,0.26) translate y*(Haut+0.20) }
#else #else
object { Linteau_B (Larg,0.28) translate y*(Haut+0.20) } object { Linteau_B (Larg,0.28) translate y*(Haut+0.20) }
+1 -1
View File
@@ -27,6 +27,6 @@ camera {
spherical spherical
angle 144 angle 144
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0, -21, -4+(6*NormClock)> look_at <0, -26, -4+(6*NormClock)>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
} }
+1 -1
View File
@@ -30,7 +30,7 @@ union {
object { Le_Decor } object { Le_Decor }
camera { camera {
location <46, 249+(250*NormClock), 8-(3*NormClock)> location <46, 249+(290*NormClock), 8-(3*NormClock)>
look_at <0, 1.18, -7 + (42*NormClock)> look_at <0, 1.18, -7 + (42*NormClock)>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 25 angle 25
+3 -3
View File
@@ -1,5 +1,5 @@
/* /*
* H E X A C O N E - E S S A I * H E X A C O N E - C I R C U L A R
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/ */
@@ -17,7 +17,7 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare R_circ = R_circular + 0.17; #declare R_circ = R_circular + 0.17;
#declare CK = 2.9 + (1.51 * Cos_01(NormClock)); #declare CK = 2.9 + (2.56 * Cos_01(NormClock));
#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 + abs(sin(CK/4.00));
@@ -32,6 +32,6 @@ camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 64 angle 66 + (24 * NormClock)
} }
+14 -12
View File
@@ -25,14 +25,15 @@ union {
} }
/* ======================================================= */ /* ======================================================= */
#macro Trois_Portiques (Dist) #macro Quatre_Portiques (Dist)
union { union {
object { Portique_A () rotate -y*9 } object { Portique_A () rotate -y*1 }
object { Portique_A () scale <1, 1.2, 1> translate z*11 } object { Portique_A () scale <1, 1.25, 1> translate z*10 }
object { Portique_A () rotate y*9 translate z*22 } object { Portique_A () rotate y*1 translate z*20 }
box { <-4.1, 0, -2>, <4.1, 0.03, 24> texture { LeGris } } object { Portique_A () rotate -y*3 translate z*30 }
box { <-4.1, 0, -2>, <4.1, 0.03, 32> texture { LeGris }}
} }
#end // macro trois portiques #end // macro quatre portiques
/* ======================================================= */ /* ======================================================= */
/* /*
@@ -40,8 +41,8 @@ union {
* DÉCLARER DES POSITIONS * DÉCLARER DES POSITIONS
*/ */
#declare X_hexatube = 31.5; #declare X_hexatube = -2.5;
#declare Z_hexatube = 30.6; #declare Z_hexatube = 35.6;
#declare RedB_0_X = 19; #declare RedB_0_Z = 29; #declare RedB_0_X = 19; #declare RedB_0_Z = 29;
@@ -374,24 +375,25 @@ union {
object { QuadriLight } object { QuadriLight }
object { Les_GyroPhares () } object { Les_GyroPhares () }
object { Les_HexaPoles } object { Les_HexaPoles }
object { HorlogeDouble rotate y*(154*NormClock) object { HorlogeDouble rotate y*(194*NormClock)
translate < 8, 0, -30> } translate < 8, 0, -30> }
object { Les_Choses } object { Les_Choses }
object { Les_Arches (1.9) rotate y*112 translate <-34, 0, -26> } object { Les_Arches (1.9) rotate y*112 translate <-34, 0, -26> }
// XXX object { Les_Cahutes () rotate y*17 translate <2, 0, -40> }
object { Les_Cahutes () rotate y*17 translate <39, 0, -20> } object { Les_Cahutes () rotate y*17 translate <39, 0, -20> }
/* --------- les trucs dans le Y négatif */ /* --------- les trucs dans le Y négatif */
// object { Trois_Arches (1.4) scale 2.4 translate <0, 0, -131> } // object { Trois_Arches (1.4) scale 2.4 translate <0, 0, -131> }
object { Trois_Portiques (1.4) translate <0, 0, -111> } object { Quatre_Portiques (1.4) translate <0, 0, -111> }
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 <-21, 1.52, -104> } object { OpenBox(1.5, 0.06) translate <-21, 1.52, -104> }
object { OpenBox(1.5, 0.06) translate <-20, 1.52, -144> } object { OpenBox(1.5, 0.06) translate <-20, 1.52, -144> }
#for (Foo, 0, 5) #for (Foo, 0, 5)
object { Les_Cahutes () translate <27, 0, -(77+Foo*11)> } #local Xp = 27 + (1.414*rand(Rng1));
#local Zp = -150 + (Foo * 12);
object { Les_Cahutes () translate <Xp, 0, Zp> }
#end // for #end // for
/* --------- les trucs dans le Y positif */ /* --------- les trucs dans le Y positif */
+2
View File
@@ -12,3 +12,5 @@ free to experiment with ugly files *:)*
You can also see the colors for the EGA conversion : You can also see the colors for the EGA conversion :
![16 colors](ega-16colors.png), used by this ![16 colors](ega-16colors.png), used by this
[script](tools/build-ega-mp4.sh). [script](tools/build-ega-mp4.sh).
There was also in this place a few truetype files.
+6 -5
View File
@@ -66,10 +66,11 @@ object { BiBenz rotate -y*(clock*0.28) translate Pos_RedB_0 }
{ {
#local K = 1.29; #local K = 1.29;
union { union {
object { HexaCone () rotate y*90 translate <-K, 1.7, 0> } #local Ky = 1.7 + (abs(sin(NormClock*13.37)) * 0.333);
#local Krx = 27 * (sin(NormClock*1.17) * sin(NormClock*3.99)); object { HexaCone () rotate y*90 translate <-K, Ky, 0> }
#local Krx = 18 * (cos(NormClock*1.17) + cos(NormClock*3.99)); #local Krx = 27 * (sin(NormClock*8.17) * sin(NormClock*12.99));
object { HexaCone () rotate <Krx, 1, 7> translate < K, 1.9, 0> } #local Krz = 18 * (cos(NormClock*14.97) + cos(NormClock*8.99));
object { HexaCone () rotate <Krx, 1, Krz> translate < K, 1.9, 0> }
} }
} }
object { BiCone rotate -y*(Cos_010(NormClock)*158) translate Pos_RedB_1 } object { BiCone rotate -y*(Cos_010(NormClock)*158) translate Pos_RedB_1 }
@@ -91,7 +92,7 @@ object { BiTrident
// elle est ici présentée sur son estrade. // elle est ici présentée sur son estrade.
object { HexaStar rotate -z*5 object { HexaStar rotate -z*5
rotate y*(670*sin(NormClock)) rotate y*(670*sin(NormClock))
translate Pos_RedB_3 + (y*2) translate Pos_RedB_3 + y*(2+NormClock)
} }
/* /*
+4 -4
View File
@@ -29,22 +29,22 @@
// #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n") // #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n")
// #debug concat("position Z ", str(posZ,7,3),"\n") // #debug concat("position Z ", str(posZ,7,3),"\n")
#declare Limit = 1.370; #declare Limit = 1.350;
#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;
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.33) #if (R < 0.25)
object { HexaCone () rotate <Rx, Ry, Rz> object { HexaCone () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#elseif (R < 0.50) #elseif (R < 0.50)
object { HexaStar rotate y*90 rotate <Rx, Ry, Rz> object { HexaStar rotate y*90 rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#elseif (R < 0.85) #elseif (R < 0.75)
object { HexaBenz () rotate <Rx, Ry, Rz> object { HexaBenz () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#else #else
object { Un_HexaTube rotate <Rx, Ry, Rz> object { HexaTube rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#end #end
#end // if position... #end // if position...
+14 -14
View File
@@ -20,14 +20,14 @@
#macro Un_Autre_Cube (Ratio) #macro Un_Autre_Cube (Ratio)
difference { difference {
#local D = 1.000000; #local D = 1.091312;
box { <-D, -D, -D>, <D, D, D> } box { <-D, -D, -D>, <D, D, D> }
#local V = Ratio * D; #local V = Ratio * D;
#local M = D * 1.1; #local M = D * 1.1;
box { <-M, -V, -V>, <M, V, V> } box { <-M, -V, -V>, <M, V, V> }
box { <-V, -M, -V>, <V, M, V> } box { <-V, -M, -V>, <V, M, V> }
box { <-V, -V, -M>, <V, V, M> } box { <-V, -V, -M>, <V, V, M> }
texture { Flashy scale 0.4 } texture { Flashy scale <0.4, 7, 2.5> }
} }
#end #end
// ======================================================= // =======================================================
@@ -146,7 +146,7 @@ difference {
} }
texture { texture {
#if (rand(Rng1) < 0.70) pigment { color Orange } #if (rand(Rng1) < 0.70) pigment { color Orange }
#else pigment { color Orange } #else pigment { color Yellow }
#end #end
finish { emission 0.8 } finish { emission 0.8 }
} }
@@ -195,7 +195,7 @@ pigment {
[ 0.666 color Gray50 ] [ 0.666 color Gray50 ]
[ 1.000 color Green ] [ 1.000 color Green ]
} }
turbulence 1.24 // piturb :) turbulence 1.04 // piturb :)
scale <1, 0.25, 1> scale <1, 0.25, 1>
rotate <10, 0, 4> rotate <10, 0, 4>
} }
@@ -208,7 +208,7 @@ finish { phong 0.25 }
{ {
#local TX = 2.45; #local TX = 2.45;
#local TZ = 2.95; #local TZ = 2.95;
#local Kro = 32 + (NormClock * 666); #local Kro = 34 + (NormClock * 666);
union { union {
object { Obj_BasicTexture texture { LeGris } object { Obj_BasicTexture texture { LeGris }
rotate y * (rand(Rng1)*Kro) rotate y * (rand(Rng1)*Kro)
@@ -250,7 +250,7 @@ intersection {
scale <1, 1.60, 1> scale <1, 1.60, 1>
} }
#local R = rand(Rng1); #local R = rand(Rng1);
#if (R < 0.65) #if (R < 0.75)
texture { Texture_du_Vase rotate y*(clock*3) } texture { Texture_du_Vase rotate y*(clock*3) }
#else #else
texture { T_WIP_redwave scale 0.10 + 0.07*rand(Rng1) texture { T_WIP_redwave scale 0.10 + 0.07*rand(Rng1)
@@ -268,7 +268,7 @@ union {
#for (foo, 0, 359.999, 60) #for (foo, 0, 359.999, 60)
#local Dx = 0.33 * sin(radians(foo)); #local Dx = 0.33 * sin(radians(foo));
#local Dz = 0.32 * cos(radians(foo)); #local Dz = 0.32 * cos(radians(foo));
torus { 0.025, 0.015 scale <1, 1.2, 4> torus { 0.026, 0.014 scale <1, 1.2, 4>
rotate z*42 rotate y*(foo-90) rotate z*42 rotate y*(foo-90)
translate <Dx, 0, Dz> translate <Dx, 0, Dz>
} // torus } // torus
@@ -395,9 +395,9 @@ union {
#debug " !!! ACTION !!!\n" #debug " !!! ACTION !!!\n"
/* FLASHING LIGHT !!! */ /* FLASHING LIGHT !!! */
#local Rv = 0.5 + (0.1*sin(clock*0.113)); #local Rv = 0.5 + (0.1*sin(clock*1.113));
#local Gv = 0.21; #local Gv = 0.21;
#local Bv = 0.25 * abs(sin(clock*0.019)); #local Bv = 0.25 * abs(sin(clock*0.819));
light_source { light_source {
<-32, 40, -7> <-32, 40, -7>
colour <Rv, Gv, Bv> colour <Rv, Gv, Bv>
@@ -410,11 +410,11 @@ union {
#declare Selector = int(clock/120); #declare Selector = int(clock/120);
#debug concat("Selector = ", str(Selector, 6, 0), "\n") #debug concat("Selector = ", str(Selector, 6, 0), "\n")
#declare AngleCam = 29 - 3*Cos_01(NormClock); #declare AngleCam = 28 - 3*Cos_01(NormClock);
#switch (Selector) #switch (Selector)
#case (0) #case (0)
object { Des_Choses } object { Architecture }
#local AngleCam = 17; #local AngleCam = 17;
#break #break
#case (1) #case (1)
@@ -431,7 +431,7 @@ union {
// object { Repere translate y*1 } // object { Repere translate y*1 }
#break #break
#case (4) #case (4)
object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 1.8, 3> } object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 2.6, 3> }
object { HorlogeDouble scale 2.12 object { HorlogeDouble scale 2.12
rotate y*(214*NormClock) translate <-3, 0, -3> } rotate y*(214*NormClock) translate <-3, 0, -3> }
#break #break
@@ -445,9 +445,9 @@ plane {
// ======================================================= // =======================================================
#local CamX = -2.9 + (1.9*Cos_010(NormClock)); #local CamX = -2.9 + (0.9*Cos_010(NormClock));
#local CamY = 0.61 + (1.1*exp(NormClock)); #local CamY = 0.61 + (1.1*exp(NormClock));
#local CamZ = -5.777 + (1.3*Cos_010(NormClock)); #local CamZ = -5.777 + (0.3*Cos_010(NormClock));
#local K = 8.6; #local K = 8.6;
#local CamX = CamX * K; #local CamX = CamX * K;
+9 -7
View File
@@ -1,19 +1,21 @@
# Le silo des frames # Le silo des frames
Avant tout, il faut créer ces répertoires : Avant tout, il faut créer ce genre de répertoire :
``` ```
frames/ frames/
+--- essai +--- hexatube
+--- orbite
+--- passage +--- passage
+--- scene +--- scene
+--- scene +--- scene
+--- orbite +--- orbite
+--- survol +--- ...
+--- escadrille
+--- topview
+--- Spool
``` ```
C'est simple, une répertoire par séquence. À une époque, j'ai songé
à automatiser la création de ces *dirz*, mais la pratique m'a montré
que ce n'était pas une bonne idée. Un doigt qui dérape, c'est le
*brotch* assuré...
+11 -9
View File
@@ -159,18 +159,20 @@ translate <-4.3, 0.046, 0>
#local Horloge2 = object #local Horloge2 = object
{ {
object { Horloge scale <1, 0.28, 1> rotate -x*90 object { Horloge scale <1, 0.28, 1> rotate -x*90
translate <0.912, 0.23, 0> } translate <0.912, 0.32, 0> }
} }
#declare HorlogeDouble = object #declare HorlogeDouble = object
{ {
union { union {
/* C'est une horloge a deux faces !!! */
difference { difference {
box { <-3.10, 0.00, -0.16>, <3.10, 1.74, 0.16> } box { <-3.10, 0.00, -0.16>, <3.10, 1.92, 0.16> }
box { <-3.06, 0.04, -0.04>, <3.06, 1.70, -1.00> } box { <-3.06, 0.04, -0.04>, <3.06, 1.88, -1.00> }
box { <-3.06, 0.04, 0.04>, <3.06, 1.70, 1.00> } box { <-3.06, 0.04, 0.04>, <3.06, 1.88, 1.00> }
texture { LeGris } texture { T_WIP_color }
} }
#local EC = 0.18; /* C'est une horloge a deux faces !!! */
#local EC = 0.20;
object { Horloge2 rotate y*180 translate z*EC } object { Horloge2 rotate y*180 translate z*EC }
object { Horloge2 translate -z*EC } object { Horloge2 translate -z*EC }
} }
@@ -208,13 +210,13 @@ prism {
#macro HexaPole_abatjour (Quux) #macro HexaPole_abatjour (Quux)
union { union {
#local Raj = 0.333; #local Raj = 0.333;
torus { Raj, 0.011 translate -y*Quux } torus { Raj, 0.008 translate -y*Quux }
torus { Raj, 0.008 translate y*Quux }
#for (Foo, 0, 359, 18) #for (Foo, 0, 359, 18)
#local DX = Raj * sin(radians(Foo)); #local DX = Raj * sin(radians(Foo));
#local DZ = Raj * cos(radians(Foo)); #local DZ = Raj * cos(radians(Foo));
cylinder { -y*Quux, y*Quux, 0.009 translate <DX, 0, DZ> } cylinder { -y*Quux, y*Quux, 0.006 translate <DX, 0, DZ> }
#end // for #end // for
torus { Raj, 0.02 translate y*Quux }
rotate y*(clock*1.86*(rand(Rng1)-0.52)) rotate y*(clock*1.86*(rand(Rng1)-0.52))
texture { Aluminum } texture { Aluminum }
} }
+5 -5
View File
@@ -11,7 +11,7 @@ global_settings {
#include "stones.inc" #include "stones.inc"
#include "woods.inc" #include "woods.inc"
#declare Rng1 = seed(1789); #declare Rng1 = seed(1312);
#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);
@@ -52,12 +52,12 @@ global_settings {
{ {
/* 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 }
finish { phong 0.22 ambient 0.22 diffuse 0.22 } finish { phong 0.33 ambient 0.22 diffuse 0.22 }
} }
#declare T_WIP_color = texture #declare T_WIP_color = texture
{ {
#local V = (sin(clock*0.142) / 2) + 0.5; #local V = (sin(clock*0.182) / 2) + 0.5;
pigment { color Orange * V } pigment { color Orange * V }
finish { phong 0.23 ambient 0.30 } finish { phong 0.23 ambient 0.30 }
} }
@@ -103,7 +103,7 @@ finish { roughness 1.00 }
*/ */
#declare tPlasticOrange = texture #declare tPlasticOrange = texture
{ {
pigment{rgb <2.000, 0.50, 0.0>} pigment{rgb <1.600, 0.50, 0.0>}
finish { finish {
ambient 0.1 ambient 0.1
diffuse 0.6 diffuse 0.6
@@ -132,7 +132,7 @@ finish { roughness 1.00 }
} }
#declare tPlasticPrune = texture #declare tPlasticPrune = texture
{ {
pigment{rgb <1.50, 0.30, 1.50>} pigment{rgb <1.50, 0.30, 1.40>}
finish { finish {
ambient 0.1 ambient 0.1
diffuse 0.6 diffuse 0.6
+14 -13
View File
@@ -23,8 +23,8 @@ union {
// ------------------------------------------------------ // ------------------------------------------------------
/* nouveau Fri Oct 17 05:54:38 PM UTC 2025 */ /* nouveau Fri Oct 17 05:54:38 PM UTC 2025 */
#macro Benz_attache_cones (Ec) #macro Benz_attache_cones (Ec)
torus { Ec, Ec*0.06 torus { Ec, Ec*0.053
scale <1, 2.4, 1> rotate x*90 scale <1, 2.44, 1> rotate x*90
#if ( rand(Rng1) < 0.55 ) #if ( rand(Rng1) < 0.55 )
texture { GoldDark } texture { GoldDark }
#else #else
@@ -38,7 +38,7 @@ torus { Ec, Ec*0.06
#macro Benz_Cones () // = object #macro Benz_Cones () // = object
// { // {
union { union {
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local E = 0.31; #local E = 0.31;
#local Tx = E * sin(radians(foo)); #local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo)); #local Ty = E * cos(radians(foo));
@@ -71,11 +71,11 @@ union {
merge { merge {
#local E = R_Tube * 0.75; #local E = R_Tube * 0.75;
#local R = 0.009; #local R = 0.009;
#for (foo, 0, 360, 30) #for (foo, 0, 359, 30)
#local Tx = E * sin(radians(foo)); #local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo)); #local Ty = E * cos(radians(foo));
#local Dza = z * 0.27; #local Dza = z * 0.34;
#local Dzb = z * 0.97; #local Dzb = z * 0.99;
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> } cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> } sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> } sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
@@ -91,9 +91,9 @@ merge {
#macro Benz_Fuseau () #macro Benz_Fuseau ()
difference { difference {
sphere { 0, R_Tube*0.39 } sphere { 0, R_Tube*0.39 }
sphere { 0, R_Tube*0.37 } sphere { 0, R_Tube*0.39 }
cylinder { <-1, 0, -1>, < 1, 0, 1>, R_Tube*0.21 } cylinder { <-1, 0, -1>, < 1, 0, 1>, R_Tube*0.22 }
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 } cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.22 }
} }
scale <1, 1, 4.4> scale <1, 1, 4.4>
#if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 } #if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 }
@@ -122,15 +122,15 @@ rotate -z*clock*8
#local Forme_Cockpit = object #local Forme_Cockpit = object
{ {
difference { difference {
sphere { 0, R_Tube*0.72 } sphere { 0, R_Tube*0.77 }
sphere { 0, R_Tube*0.72 scale 0.99 } sphere { 0, R_Tube*0.75 }
#for (Foo, 0, 359, 36) #for (Foo, 0, 359, 36)
cylinder { x, 0, R_Tube*0.15 cylinder { x, 0, R_Tube*0.15
translate y*(R_Tube*0.34) translate y*(R_Tube*0.34)
rotate y*Foo } rotate y*Foo }
#end #end
} }
scale <1, 0.92, 1> scale <1, 0.90, 1>
translate z*L_Tube*1.18 translate z*L_Tube*1.18
} }
@@ -173,9 +173,10 @@ union {
scale <1, 1.5, 5.555> scale <1, 1.5, 5.555>
} }
/* please explain this formula */
#if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) ) #if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) )
texture { tPlasticBlue } texture { tPlasticBlue }
#else texture { tPlasticGreen } #else texture { tPlasticPrune }
#end #end
} }
#end #end
+1 -1
View File
@@ -13,7 +13,7 @@
object { Le_Decor } object { Le_Decor }
#declare Loc_cam = <0.63, 20, 3*NormClock> + (Pos_RedB_0 * 1.32); #declare Loc_cam = <0.63, 22, 3*NormClock> + (Pos_RedB_0 * 1.32);
#declare Lat_Y = 1.21 + 0.19*NormClock; #declare Lat_Y = 1.21 + 0.19*NormClock;
+2 -2
View File
@@ -94,7 +94,7 @@ merge {
#declare HexaCone_radar_A = object #declare HexaCone_radar_A = object
{ {
union { union {
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local RR = 0.12; #local RR = 0.12;
#local PX = RR * sin(radians(foo)); #local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo)); #local PZ = RR * cos(radians(foo));
@@ -111,7 +111,7 @@ texture { Soft_Silver scale 6.50 }
#declare HexaCone_radar_B = object #declare HexaCone_radar_B = object
{ {
union { union {
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local RR = 0.12; #local RR = 0.12;
#local PX = RR * sin(radians(foo)); #local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo)); #local PZ = RR * cos(radians(foo));
+4 -2
View File
@@ -16,6 +16,7 @@ union {
#local Small = 0.00001; #local Small = 0.00001;
cone { <-1.34, 0, 0>, Small, <-0.6, 0, 0>, R_a } cone { <-1.34, 0, 0>, Small, <-0.6, 0, 0>, R_a }
sphere { 0, R_a scale <0.42, 1, 1> translate <-0.6, 0, 0> } sphere { 0, R_a scale <0.42, 1, 1> translate <-0.6, 0, 0> }
// XXX cylinder { <-0.6, 0, 0>, <-1, -1, 0>, R_a*0.1 }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.45 ) texture { GoldDark } #if ( R < 0.45 ) texture { GoldDark }
#elseif ( R < 0.60 ) texture { Aluminum } #elseif ( R < 0.60 ) texture { Aluminum }
@@ -25,7 +26,7 @@ union {
#end // macro #end // macro
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
* element central --- À REFAIRE EN MACRO ! * element central ---
*/ */
#macro HS_element_central () #macro HS_element_central ()
union { union {
@@ -78,12 +79,13 @@ union {
#declare HS_les_elements = object #declare HS_les_elements = object
{ {
union { union {
#for (Foo, 0, 360, 60) #for (Foo, 0, 359, 60)
#local E = HS_radius; #local E = HS_radius;
#local Ty = E * cos(radians(Foo)); #local Ty = E * cos(radians(Foo));
#local Tz = E * sin(radians(Foo)); #local Tz = E * sin(radians(Foo));
union { union {
object { HS_element_pointe () object { HS_element_pointe ()
rotate x*Foo*60
translate <0, Ty*1.16, Tz*1.16> } translate <0, Ty*1.16, Tz*1.16> }
object { HS_element_queue () object { HS_element_queue ()
translate <0, Ty*0.80, Tz> } translate <0, Ty*0.80, Tz> }
+4 -4
View File
@@ -15,12 +15,12 @@
object { Le_Decor } object { Le_Decor }
#declare CK = 2.03 - (NormClock * 2.77); #declare CK = 2.03 - (NormClock * 2.77);
#declare DX_cam = 6.11 * cos(CK); #declare DX_cam = 3.87 * cos(CK);
#declare DY_cam = 2.00 + sin(CK+1.111); #declare DY_cam = 2.30 + sin(CK+1.111);
#declare DZ_cam = 5.19 * sin(CK); #declare DZ_cam = 4.39 * sin(CK);
#declare Loc_cam = <DX_cam, DY_cam, DZ_cam> + Pos_RedB_3; #declare Loc_cam = <DX_cam, DY_cam, DZ_cam> + Pos_RedB_3;
#declare Lat_cam = <0, 1.95, -0.5 + NormClock> + Pos_RedB_3; #declare Lat_cam = <0, 1.52, -0.5 + NormClock> + Pos_RedB_3;
camera { camera {
omnimax omnimax
+61 -17
View File
@@ -1,10 +1,13 @@
/* /*
* H E X A T U B E --- De la famille hexaconique.
* création de l'automne 2026, aux Bourtoulots.
*/ */
#local Rtube = R_basecone * 1.60; #local Rtube = R_basecone * 1.23;
#local Stube = 0.80; #local Stube = 0.61;
#declare Etube = 0.04; #declare Etube = 0.03;
// ---------------------------------------------------------
#declare HexaTube_shape_0 = object #declare HexaTube_shape_0 = object
{ {
@@ -21,18 +24,20 @@ difference {
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 } cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 } cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
} }
texture { Flashy scale 18 } texture { Flashy scale 22 }
} }
} }
// ---------------------------------------------------------
#local HT_tube_int = object #local HT_tube_int = object
{ {
merge { merge {
#local S2 = Stube + 0.23; #local S2 = Stube + 0.17;
#local R2 = Rtube * 0.23; #local R2 = Rtube * 0.21;
sphere { 0, R2 scale <3.57, 1, 1> translate <-S2, 0, 0> } sphere { 0, R2 scale <4.51, 1, 1> translate <-S2, 0, 0> }
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 } cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
sphere { 0, R2 scale <3.57, 1, 1> translate < S2, 0, 0> } sphere { 0, R2 scale <4.51, 1, 1> translate < S2, 0, 0> }
} }
} }
@@ -48,6 +53,38 @@ merge {
texture { T_WIP_dents } texture { T_WIP_dents }
} }
// ---------------------------------------------------------
// new Wed Nov 25 04:40:47 PM UTC 2026
#macro HT_un_anneau (Taille, Teinte)
torus {
#local R1 = Rtube * Taille;
#local R2 = R1 * 0.06;
R1, R2
texture { Teinte }
}
#end // macro
#macro HT_deux_anneaux (Ecart)
union {
#local DY = Stube * Ecart;
#local SA = 1.07 + (0.14 * cos(clock));
object { HT_un_anneau (SA, T_Silver_1C)
translate -y*DY }
object { HT_un_anneau (SA, T_Brass_2C)
translate y*DY }
}
#end // macro
#macro HT_les_anneaux (Ec)
union {
object { HT_deux_anneaux (Ec) rotate x*90 }
object { HT_deux_anneaux (Ec) }
object { HT_deux_anneaux (Ec) rotate z*90 }
}
#end // macro
// ---------------------------------------------------------
/* MUST BE A MACRO !!! */ /* MUST BE A MACRO !!! */
#declare HexaTube = object #declare HexaTube = object
@@ -55,26 +92,31 @@ texture { T_WIP_dents }
union { union {
object { HexaTube_shape_0 } object { HexaTube_shape_0 }
object { HexaTube_interieur } object { HexaTube_interieur }
object { HT_les_anneaux (1.09) }
} }
rotate <15, 0, -18+(42*NormClock)> rotate <11, 0, -18+(36*NormClock)>
} }
/* =============================================================== */ /* =============================================================== */
#declare HexaTube_base = object #declare HexaTube_base = object
{ {
#local H_bt = 1.00; #local H_bt = 0.70;
#local R_bt = 2.40;
difference { difference {
cylinder { 0, y*H_bt, 2.60 } cylinder { 0, y*H_bt, R_bt }
#for (Foo, 0, 359, 30) #for (Foo, 0, 359, 30)
#local Px = 2.40 * sin(radians(Foo)); #local Rb = R_bt - 0.23;
#local Pz = 2.40 * cos(radians(Foo)); #local Px = Rb * sin(radians(Foo));
#local Pz = Rb * cos(radians(Foo));
merge { merge {
cylinder { -y, y*10, 0.42 translate <Px, 0, Pz> } cylinder { -y, y*10, 0.42 translate <Px, 0, Pz> }
torus { 0.42, 0.14 translate <Px, H_bt*1.05, Pz> } torus { 0.40, 0.17 scale <1, 0.4, 1>
translate <Px, H_bt*1.07, Pz> }
} }
#end #end
cylinder { 0, y, 0.75 } cylinder { 0, y*3, 0.75 }
torus { 0.7, 0.3 scale <1, 0.5, 1> translate y*(H_bt*1.05) }
} }
texture { LeGris scale 5 } texture { LeGris scale 5 }
} }
@@ -84,7 +126,9 @@ texture { LeGris scale 5 }
#declare Un_HexaTube = object #declare Un_HexaTube = object
{ {
union { union {
object { HexaTube rotate y*clock translate y*2.65 } #local Dxa = 1.5 * abs(sin(NormClock*8));
#local Dza = 1.5 * abs(sin(NormClock*9));
object { HexaTube rotate y*clock translate <Dxa, 2.65, Dza> }
object { HexaTube_base } object { HexaTube_base }
} }
} }
+18 -4
View File
@@ -13,13 +13,27 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare Loc_cam = <18+(11*NormClock), 4.7, 42+NormClock>; #local CK = 2 * Cos_010(NormClock);
#local EC = 10 - (3*NormClock);
#local LocX = X_hexatube + (EC * sin(CK));
#local LocY = 4.0 + (1.7 * NormClock);
#local LocZ = Z_hexatube + (EC * cos(CK));
#declare Loc_cam = <LocX, LocY, LocZ>;
#local H = 2.19 - (NormClock*0.74);
#declare Lat_cam = <X_hexatube, H, Z_hexatube>;
#declare Rpos = Interpolate(Loc_cam, Lat_cam, 0.5);
// object { Repere scale 0.15 translate Rpos }
camera { camera {
location Loc_cam location Loc_cam
#local H = 1.16 - (NormClock*0.74); look_at Lat_cam
look_at <X_hexatube, 1+H, Z_hexatube>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 59 - 25 * Cos_010(NormClock) angle 59 - 17 * Cos_010(NormClock)
} }
/*
* OK il faut faire mieux sur cette sequence !
*/
+3 -3
View File
@@ -22,7 +22,7 @@ merge {
#macro HW_Cones () #macro HW_Cones ()
union { union {
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local E = Hc_rad * 0.85; #local E = Hc_rad * 0.85;
#local Tx = Hc_elo * E * sin(radians(foo)); #local Tx = Hc_elo * E * sin(radians(foo));
#local Tz = E * cos(radians(foo)); #local Tz = E * cos(radians(foo));
@@ -57,7 +57,7 @@ difference {
torus { Hc_rad*0.30, 0.18 scale <1, 1.45, 1> torus { Hc_rad*0.30, 0.18 scale <1, 1.45, 1>
translate y*0.39 } translate y*0.39 }
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local E = Hc_rad * 0.85; #local E = Hc_rad * 0.85;
#local Tx = El * E * sin(radians(foo)); #local Tx = El * E * sin(radians(foo));
#local Tz = E * cos(radians(foo)); #local Tz = E * cos(radians(foo));
@@ -100,7 +100,7 @@ merge {
union { union {
#local E = Hc_rad * 1.14; #local E = Hc_rad * 1.14;
#local El = Hc_elo; #local El = Hc_elo;
#for (foo, 0, 360, 60) #for (foo, 0, 359, 60)
#local Tx = El * E * sin(radians(foo+30)); #local Tx = El * E * sin(radians(foo+30));
#local Tz = E * cos(radians(foo+30)); #local Tz = E * cos(radians(foo+30));
object { HW_une_patte () translate <Tx, 0, Tz> } object { HW_une_patte () translate <Tx, 0, Tz> }
+3 -5
View File
@@ -15,15 +15,13 @@
object { Le_Decor } object { Le_Decor }
// object { Repere translate <10, 1, 10> } #declare LOC = <-5.7, 5.84+NormClock, 34-(6*NormClock)>;
#declare LOC = <-3.7, 5.84+NormClock, 34-(4*NormClock)>; #declare LAT = <P_hexawood.x, 0.96+(NormClock*0.12), P_hexawood.z>;
#declare LAT = <P_hexawood.x, 0.95+(NormClock*0.11), P_hexawood.z>;
camera { camera {
spherical spherical
angle 20 + 2.87*NormClock angle 20 + 2.87*Cos_010(NormClock)
location LOC location LOC
look_at LAT look_at LAT
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
+4 -4
View File
@@ -16,13 +16,13 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare CK = 1.97 + (2.42 * Cos_01(NormClock)); #declare CK = 1.97 + (2.92 * Cos_010(NormClock));
#declare CamX = 1.72; #declare CamX = 1.72;
#declare CamY = 7 + (4*Cos_01(NormClock)); #declare CamY = 7 + (7*Cos_01(NormClock));
#declare CamZ = -2.5; #declare CamZ = -2.5;
#declare LatX = 20 * cos(CK*1.08); #declare LatX = 20 * cos(CK*1.78);
#declare LatY = 3.0 - sqrt(NormClock); #declare LatY = 3.0 - sqrt(NormClock);
#declare LatZ = 20 * sin(CK); #declare LatZ = 20 * sin(CK);
// object { Repere scale 2 translate <LatX, LatY, LatZ> } // object { Repere scale 2 translate <LatX, LatY, LatZ> }
@@ -32,5 +32,5 @@ camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 65 + (NormClock * 10) angle 65 + (NormClock * 16)
} }
+1 -1
View File
@@ -52,6 +52,6 @@ camera {
// focal_point <0, 1, 0> // focal_point <0, 1, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 21 angle 18
} }
+7 -4
View File
@@ -2,7 +2,7 @@
* H E X A C O N E - P A T R O U I L L E * H E X A C O N E - P A T R O U I L L E
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
* *
* this sequence was created on Fri Feb 13 01:20:24 PM UTC 2026 * created on Fri Feb 13 01:20:24 PM UTC 2026
*/ */
#version 3.7; #version 3.7;
@@ -18,15 +18,18 @@ object { Le_Decor }
/* =============================================================== */ /* =============================================================== */
#declare CamX = 90 - (4 * NormClock); #declare CamX = 90 - (4 * NormClock);
#declare CamY = 188; #declare CamY = 173 + (33 * NormClock);
#declare CamZ = 170 - (33 * NormClock); #declare CamZ = 170 - (30 * NormClock);
// **** La patrouille est dans 'xperiment.inc'
// **** 'Loc_Patrouille' dans 'dynamic.inc'
camera { camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at Loc_Patrouille look_at Loc_Patrouille
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 8 - (3*NormClock) angle 9 - (4*NormClock)
} }
/* =============================================================== */ /* =============================================================== */
+8 -26
View File
@@ -10,42 +10,24 @@
#declare NO_DYNAMIC = 0; #declare NO_DYNAMIC = 0;
#include "all.inc" #include "all.inc"
#declare A = <-SzSol, 16, -8>;
#declare B = <SzSol+4, 18, -11>;
#declare P = Interpolate(A, B, NormClock);
object { HexaCone () rotate y*((6*NormClock)+80) translate P }
object { HexaBenz () rotate y*(clock/9) translate <-9, 3, 7> }
// ---------------------------------------------------------
// WTF is that ??? XXX
#if (0)
#declare A = <-15, -1.9, SzSol>;
#declare B = < 23, -0.7, SzSol>;
#declare P = Interpolate(A, B, NormClock);
object { HexaWood scale 10 translate P }
#end
// ---------------------------------------------------------
object { Le_Decor } object { Le_Decor }
// object { Repere scale 3 translate <SzSol, 2, SzSol> } object { Repere scale 22 translate <SzSol, 12, SzSol> }
#local DistCam = 460 + (16 * NormClock); #local DistCam = 76 - (16 * NormClock);
#local CK = -1.71 - (0.039 * NormClock); #local CK = -1.71 - (0.039 * NormClock);
#declare CamX = DistCam * sin(CK); #declare CamX = DistCam * sin(CK);
#declare CamY = 28 + NormClock; #declare CamY = 28 + NormClock;
#declare CamZ = DistCam * cos(CK); #declare CamZ = DistCam * cos(CK);
#declare LatX = -8 + (16 * NormClock);
#declare LatY = -8 + (16 * NormClock);
#declare LatZ = -8 + (16 * NormClock);
camera { camera {
cylinder 1 cylinder 1
angle 11.5
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0, 0.35, 0> look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 3.1
} }
+1 -1
View File
@@ -27,7 +27,7 @@ camera {
location <CamX, 2.10, CamZ> location <CamX, 2.10, CamZ>
look_at <0.03, LatY, 0.17> look_at <0.03, LatY, 0.17>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
normal { bumps 0.95 scale 3 } normal { bumps 0.66 scale 1.11 }
// focal_point Lat // focal_point Lat
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
+3 -3
View File
@@ -15,8 +15,8 @@ object { Le_Decor }
// XXX instrumenter la caméra serait un GROS plus !!! // XXX instrumenter la caméra serait un GROS plus !!!
// ======================================================= // =======================================================
#declare Debut = <-33, 92, 296> ; #declare Debut = <-42, 92, 296> ;
#declare Fin = < 36, 83, -4> ; #declare Fin = < 42, 83, -4> ;
#declare Pos = Cos_01(NormClock); #declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos); #declare PosCam = Interpolate(Debut, Fin, Pos);
@@ -24,7 +24,7 @@ object { Le_Decor }
#declare LatZ = -(150 + (7*NormClock)); #declare LatZ = -(150 + (7*NormClock));
#declare LatCam = PosCam + <LatX, -95, LatZ>; #declare LatCam = PosCam + <LatX, -95, LatZ>;
// object { Repere scale 20 translate LatCam + y*5 } object { Repere scale 10 translate LatCam + y*105 }
camera { camera {
location PosCam location PosCam
+8 -8
View File
@@ -2,7 +2,7 @@
The page for « Build system and utilities ». The page for « Build system and utilities ».
## Make a sequence ## Make one sequence
Un argument pour construire la séquence entière ou deux pour démarrer au Un argument pour construire la séquence entière ou deux pour démarrer au
milieu, c'est parfois pratique quand le disjoncteur fait un *beu-beu* en milieu, c'est parfois pratique quand le disjoncteur fait un *beu-beu* en
@@ -17,8 +17,9 @@ Et pour générer plusieurs séquences dans la foulée, avec les
post-processings (ega-mp4 et ega-gif89a) en même temps, post-processings (ega-mp4 et ega-gif89a) en même temps,
vous avez le script [Mk Sex](make_all_seqs.sh) à votre service. vous avez le script [Mk Sex](make_all_seqs.sh) à votre service.
Make_one seq ajoute le nom de la séquence, le numéro de trame et le temps de Après le rendu de chaque trame, make_one_seq ajoute le nom de la
rendu au fichier `log/mp4.timing` permettant ainsi la création de séquence, le numéro de trame et le temps de
rendu au fichier `WS/mp4.timing` permettant ainsi la création de
graphiques aussi jolis qu'inutiles. graphiques aussi jolis qu'inutiles.
## Linkfarming ## Linkfarming
@@ -26,8 +27,8 @@ graphiques aussi jolis qu'inutiles.
C'est le directeur de la production, le grand C'est le directeur de la production, le grand
[script](./linkfarmer.sh) [script](./linkfarmer.sh)
d'assemblage des séquences avec générique et intertitres. d'assemblage des séquences avec générique et intertitres.
Hélas, il n'est pas encore configurable. Mais c'est Hélas, il n'est pas encore configurable, en particulier
en projet pour juin 2027 ? sur la liste des séquences. *Patches are welcome !*
## Encoding ## Encoding
@@ -35,7 +36,6 @@ Le [script](./encode.sh) n'est qu'un wrapper autour de
la fonction `ff_encodage()` de la lib des tools : la fonction `ff_encodage()` de la lib des tools :
[fonctions.sh](fonctions.sh). Par défaut, il encode [fonctions.sh](fonctions.sh). Par défaut, il encode
la séquence *essai*. la séquence *essai*.
Le fichier de sortie s'appelle *wip.mp4* dans tous les cas.
## Plot the timing ## Plot the timing
@@ -43,13 +43,13 @@ On peut visualiser le temps de calcul d'une séquence avec la
commande [plot-timing.sh](./plot-timing.sh) qui génère un fichier commande [plot-timing.sh](./plot-timing.sh) qui génère un fichier
PNG. C'est un script basé sur *Awk* et *Gnuplot*. PNG. C'est un script basé sur *Awk* et *Gnuplot*.
Ces graphiques sont utilisés comme fond pour les Ces graphiques sont utilisés comme fond pour les
intertitres. intertitres des montages.
``` ```
$ tools/plot-timing.sh essai && d timing.png $ tools/plot-timing.sh essai && d timing.png
``` ```
Cette commande utilise le fichier `log/mp4.timing`, lequel est généré Cette commande utilise le fichier `log/mp4.timing`, lequel est généré
par le script de création de séquence vu plus haut. par le script de création de séquence que nous avons vu plus haut.
+2 -3
View File
@@ -21,13 +21,12 @@ for source in $(ls -1 frames/$SEQ/*.png)
do do
bname=$( basename $source ) bname=$( basename $source )
destname="frames/EGA/$bname" destname="frames/EGA/$bname"
# echo $source "==>" $destname echo $source " -> " $destname
convert $source \ convert $source \
-equalize \
-dither none \ -dither none \
-resize '640x350!' \ -resize '640x350!' \
-remap datas/ega-16colors.png \ -colors 16 \
$destname $destname
done done
+1
View File
@@ -6,6 +6,7 @@ Img_Height=720
# for imagemagick # for imagemagick
TEXTCOL="Yellow3" TEXTCOL="Yellow3"
STROKOL="Green" STROKOL="Green"
INFOCOL="Orange"
NBFRAMES=600 NBFRAMES=600
+99 -36
View File
@@ -7,12 +7,13 @@ source tools/config.sh
IDX=0 IDX=0
SPOOL="frames/Spool" SPOOL="frames/Spool"
SEQNAME="none" SEQNAME="none"
TMP="WS/tmp.png" TMP="WS/lf-tmp.png"
FONTE="FreeSerif-Bold" FONTE="FreeSerif-Bold"
BSLVL=0 # bullshit level
source tools/fonctions.sh source tools/fonctions.sh
# ------------------------------------------------------- # =======================================================
# /!\ this function just copy the # /!\ this function just copy the
# file to the spool dir, so # file to the spool dir, so
# you can use it for tmp pics. # you can use it for tmp pics.
@@ -26,8 +27,43 @@ dstname=$(printf "%s/%05d.png" $SPOOL $IDX)
cp -f $src $dstname cp -f $src $dstname
IDX=$(( IDX + 1 )) IDX=$(( IDX + 1 ))
} }
# ------------------------------------------------------- # =======================================================
intersequence ()
{
local nombre=$1
local blabla=$2
echo "Inter Sequence : $nombre [$blabla]"
# --- preparation du fond
local TGA="/dev/shm/lnkfrm-hexa-inter-A.tga"
local IMG="/dev/shm/lnkfrm-hexa-inter-B.png
"
tga_tools mk_hgrad $TGA $Img_Width $Img_Height
tga_effects $TGA noise $TGA 60
tga_television $TGA gruud $TGA 0
for foo in $(seq 0 $nombre)
do
local txt=$( printf "bslvl: 0x%06x" $accu )
convert $TGA \
-font Courier-Regular \
-pointsize 64 \
-fill $INFOCOL \
-annotate +50+160 "$txt" \
-annotate +50+300 "$blabla" \
$IMG
copy_a_file ${IMG}
copy_a_file ${IMG}
copy_a_file ${IMG}
BSLVL=$(( BSLVL + $RANDOM + $RANDOM ))
done
}
# =======================================================
#
# c'est ici qu'on insère une séquence dans le film
#
linkfarm () linkfarm ()
{ {
SRC="frames/$1" SRC="frames/$1"
@@ -35,20 +71,19 @@ echo "linkfarm $SRC" # XXX | 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=51
convert "WS/negatif.png" \ convert "WS/negatif.png" \
-gravity center \ -gravity center \
-font $FONTE \ -font $FONTE \
-pointsize 139 \ -pointsize 110 \
-kerning 8 \ -kerning 15 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \ -strokewidth 2 -stroke $STROKOL \
-annotate +0+0 "$1" \ -annotate +0+0 "$1" \
${INTER} ${INTER}
for foo in $(seq 0 $NBRE) for foo in $(seq 0 $(( $NBRE * 2)) )
do do
copy_a_file $INTER copy_a_file $INTER
# : # :
@@ -59,6 +94,8 @@ do
copy_a_file "$SRC/00000.png" copy_a_file "$SRC/00000.png"
done done
sleep 15
for src in "$SRC"/* for src in "$SRC"/*
do do
copy_a_file $src copy_a_file $src
@@ -71,59 +108,78 @@ do
copy_a_file "$PIC" copy_a_file "$PIC"
done done
} }
# ------------------------------------------------------- # =======================================================
faire_le_titre () faire_le_titre ()
{ {
echo "faire le titre" echo "faire le titre"
local NBRE=300 local NBRE=320
local SRC="frames/hexacone/00199.png" local SRC="frames/hexatube/00451.png"
local GRAY="/dev/shm/tmp-titre.png" local GRAY="/dev/shm/tmp-titre.png"
convert -colorspace gray -colors 90 $SRC $GRAY intersequence 33 "loading..."
intersequence 8 "LOADED !!!"
for foo in $(seq 1 15)
do
K=$(( foo * 3 ))
convert -colorspace gray -colors 8 \
-blur ${K}x${K} $SRC $GRAY
copy_a_file "$GRAY"
done
# --- le titre du flim (at 11 ?)
convert -colorspace gray -colors 42 $SRC $GRAY
Ypos=-25
Psiz=65
txt="La vie\nde la\nfamille\nHexaCone"
for foo in $(seq 0 $NBRE) for foo in $(seq 0 $NBRE)
do do
Ypos=$(( -175 + foo ))
convert ${GRAY} \ convert ${GRAY} \
-gravity South \ -gravity South \
-font $FONTE \ -font $FONTE \
-pointsize 144 \ -pointsize $Psiz \
-kerning 5 \ -kerning 6 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \ -strokewidth 3 -stroke $STROKOL \
-annotate +0+${Ypos} "La famille\nHexaCone" \ -annotate +0+${Ypos} "$txt" \
${TMP} ${TMP}
# identify ${TMP}
copy_a_file ${TMP} copy_a_file ${TMP}
Ypos=$(( Ypos + 2 ))
Psiz=$(( Psiz + 1 ))
printf "." printf "."
done done
echo echo
} }
# ------------------------------------------------------- # =======================================================
faire_la_fin () faire_la_fin ()
{ {
local NBRE=180 local NBRE=190
datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M") datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M" | tr "01" "ol" )
echo " $datetime" | tee -a WS/log echo " $datetime" | tee -a WS/log
local SRC="frames/patrouille/00165.png" local SRC="frames/around/00586.png"
local GRAY="/dev/shm/tmp-fin.png" local GRAY="/dev/shm/tmp-fin.png"
convert -dither none -colorspace gray -colors 60 $SRC $GRAY convert -dither none -colorspace gray -colors 24 $SRC $GRAY
for foo in $(seq 0 $NBRE) for foo in $(seq 0 $NBRE)
do do
Ypos=$(( foo + 20 )) Ypos=$(( foo + 28 ))
convert ${GRAY} \ convert ${GRAY} \
-gravity north \ -gravity north \
-font $FONTE \ -font $FONTE \
-pointsize 92 \ -pointsize 90 \
-kerning 5 \ -kerning 8 \
-fill $TEXTCOL \ -fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \ -strokewidth 2 -stroke $STROKOL \
-annotate +0+${Ypos} \ -annotate +0+${Ypos} \
"un film de\ntTh des Bourtoulots" \ "un film de\ntTh des Bourtoulots" \
-font Courier-Bold \
-pointsize 48 \ -pointsize 48 \
-kerning 1 \
-strokewidth 1 \ -strokewidth 1 \
-gravity south \ -gravity south \
-annotate +0+110 "${datetime}" \ -annotate +0+110 "${datetime}" \
@@ -133,9 +189,12 @@ do
printf "." printf "."
done done
intersequence 35 "unloading"
intersequence 5 "unloaded!"
echo echo
} }
# ------------------------------------------------------- # =======================================================
figlet "Link farmer" figlet "Link farmer"
@@ -145,27 +204,31 @@ faire_le_titre
linkfarm approche linkfarm approche
linkfarm hexacone linkfarm hexacone
# linkfarm remote linkfarm hexabenz
# linkfarm hexabenz
linkfarm patrouille # new St Valentine 2026
linkfarm hexawood linkfarm hexawood
linkfarm escadrille
linkfarm hexatube
# linkfarm survol
linkfarm around # new 26 jan 2026 linkfarm around # new 26 jan 2026
# linkfarm escadrille
# linkfarm cutoff # linkfarm cutoff
# linkfarm panoramic
# linkfarm topview # linkfarm topview
# linkfarm trident # linkfarm trident
# linkfarm passage
# linkfarm scene # linkfarm scene
# linkfarm carto # linkfarm carto
# linkfarm circular
# linkfarm bubblecut # linkfarm bubblecut
# linkfarm orbite # linkfarm orbite
intersequence 60 "entering danger zone..."
linkfarm circular
linkfarm escadrille
linkfarm patrouille # new St Valentine 2026
linkfarm remote
linkfarm panoramic
linkfarm hexatube
linkfarm passage
linkfarm survol
intersequence 10 "Use Futur;"
linkfarm essai linkfarm essai
tools/plot-timing.sh
faire_la_fin faire_la_fin
ff_encodage Spool the-hexacone-family.mp4 ff_encodage Spool the-hexacone-family.mp4
+11 -10
View File
@@ -17,7 +17,7 @@ fi
NEXT=$(head -1 $LAST) NEXT=$(head -1 $LAST)
count=$(( ($RANDOM % 51) + 80 )) count=$(( ($RANDOM % 42) + 73 ))
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"
@@ -41,25 +41,27 @@ do
err=$? err=$?
if [ $err != 0 ] ; then if [ $err != 0 ] ; then
echo "$SEQNAME fail $frame" >> WS/log echo "$SEQNAME fail $frame" >> WS/log
mogrify -colorspace gray -blur 7x7 -colors 8 $img mogrify -colorspace gray -colors 8 -blur 7x7 $img
tail WS/${SEQNAME}.stderr tail -15 WS/${SEQNAME}.stderr
visual_sleep "render fail" 60 visual_sleep "render fail" 60
continue continue
fi fi
set -e set -e
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z]) sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
txt=$(printf "%4d" ${frame} | tr '01' 'Ol') nbf=$(printf "%4d" ${frame} | tr '01' 'ol')
# echo $frame $img $txt # echo $frame $img $txt
convert ${TMPIMG} \ convert ${TMPIMG} \
-alpha off \
-font Courier-Bold \ -font Courier-Bold \
-pointsize 58 \ -pointsize 36 \
-kerning 8 \
-strokewidth 1 \ -strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \ -fill ${STROKOL} -stroke ${TEXTCOL} \
-gravity south-west \ -gravity south-west \
-annotate +25+5 "$sqn" \ -kerning 9 \
-annotate +12+0 "$sqn" \
-gravity south-east \ -gravity south-east \
-annotate +25+5 "$txt" \ -kerning 3 \
-annotate +12+0 "$nbf" \
${img} ${img}
fin=$(date +%s) fin=$(date +%s)
printf "%-12s %5d %5d\n" \ printf "%-12s %5d %5d\n" \
@@ -71,11 +73,10 @@ do
done done
date --utc > WS/$SEQNAME.done date --utc > WS/$SEQNAME.done
echo
sleep 10
ff_encodage $SEQNAME wip-${SEQNAME}.mp4 ff_encodage $SEQNAME wip-${SEQNAME}.mp4
sleep 30
echo "build '$SEQNAME' done" | tee -a WS/log echo "build '$SEQNAME' done" | tee -a WS/log
+8 -7
View File
@@ -5,7 +5,7 @@ set -ue
source tools/config.sh source tools/config.sh
TMPFILE="/dev/shm/plot-timing.tmp" TMPFILE="/dev/shm/plot-timing.tmp"
IMAGE="timing.png" IMAGE="WS/timing.png"
if [ $# == 1 ] if [ $# == 1 ]
then then
@@ -19,7 +19,7 @@ fi
count=$( grep $sequence WS/mp4.timing | wc -l ) count=$( grep $sequence WS/mp4.timing | wc -l )
echo "$count samples for $sequence" echo "$count samples for $sequence"
grep $sequence WS/mp4.timing | tail -3000 | awk \ grep $sequence WS/mp4.timing | tail -1700 | awk \
-v nbframes=$NBFRAMES \ -v nbframes=$NBFRAMES \
' \ ' \
BEGIN { \ BEGIN { \
@@ -57,7 +57,7 @@ END { \
gnuplot << __EOC__ gnuplot << __EOC__
set term png size $Img_Width,$Img_Height set term png size $Img_Width,$Img_Height
set output "timing.png" set output "${IMAGE}"
set grid set grid
set xrange [0:${NBFRAMES}] set xrange [0:${NBFRAMES}]
set yrange [0:] set yrange [0:]
@@ -65,14 +65,15 @@ gnuplot << __EOC__
set xlabel "numéro de la trame" set xlabel "numéro de la trame"
set ylabel "temps en secondes" set ylabel "temps en secondes"
plot "/dev/shm/plot-timing.tmp" u 1:4 w l \ plot "/dev/shm/plot-timing.tmp" u 1:4 w l \
lc "#ff0000" t "maximum", \ lc "#00AAAA" t "maximum", \
"/dev/shm/plot-timing.tmp" u 1:3 w l \ "/dev/shm/plot-timing.tmp" u 1:3 w l \
lc "#0000ff" t "minimum", \ lc "#AA8800" t "minimum", \
"/dev/shm/plot-timing.tmp" u 1:2 w l \ "/dev/shm/plot-timing.tmp" u 1:2 w l \
lc "#00aa00" t "moyenne", \ lc "#BB00BB" t "moyenne", \
"/dev/shm/plot-timing.tmp" u 1:5 w l \ "/dev/shm/plot-timing.tmp" u 1:5 w l \
lc "#000000" t "last" lc "#090909" t "last"
__EOC__ __EOC__
# identify $IMAGE
convert -negate -level -33% $IMAGE WS/negatif.png convert -negate -level -33% $IMAGE WS/negatif.png
+10 -10
View File
@@ -13,7 +13,7 @@
{ {
merge { merge {
cone { 0, R_basecone, y*0.84, 0.0001 } cone { 0, R_basecone, y*0.84, 0.0001 }
sphere { 0, R_basecone } sphere { 0, R_basecone*1.11 }
} }
} }
@@ -23,7 +23,7 @@ difference {
object { Trid_cone translate -y*0.08 } object { Trid_cone translate -y*0.08 }
#local Foo = rand(Rng1); #local Foo = rand(Rng1);
#if (Foo < 0.25) texture { T_Brass_2C } #if (Foo < 0.25) texture { T_Brass_2C }
#elseif (Foo < 0.50) texture { tPlasticOrange } #elseif (Foo < 0.50) texture { tPlasticBlue }
#elseif (Foo < 0.75) texture { T_Chrome_3A } #elseif (Foo < 0.75) texture { T_Chrome_3A }
#else texture { GoldDark } #else texture { GoldDark }
#end // else #end // else
@@ -33,7 +33,7 @@ difference {
// ------------------------------------------------------ // ------------------------------------------------------
#macro Trid_A_head () #macro Trid_A_head ()
union { union {
#for (A, 0, 360, 120) #for (A, 0, 359, 120)
#local E = 0.29; #local E = 0.29;
#local Tx = E * sin(radians(A)); #local Tx = E * sin(radians(A));
#local Tz = E * cos(radians(A)); #local Tz = E * cos(radians(A));
@@ -41,8 +41,8 @@ union {
#end // for #end // for
#undef Tx #undef Tx
#undef Tz #undef Tz
torus { E*1.51, 0.012 torus { E*1.52, 0.012
scale <1, 3, 1> translate y*0.05 scale <1, 4.1, 1> translate y*0.05
texture { T_Chrome_3B } } texture { T_Chrome_3B } }
} }
#end #end
@@ -52,12 +52,12 @@ union {
#local R = 0.095; #local R = 0.095;
merge { merge {
cylinder { <0, -L, 0>, <0, L, 0>, R } cylinder { <0, -L, 0>, <0, L, 0>, R }
sphere { 0, R scale <1, 6.66, 1> translate y*L } sphere { 0, R scale <1, 6.78, 1> translate y*L }
sphere { 0, R scale <1, 0.45, 1> translate -y*L } sphere { 0, R scale <1, 0.45, 1> translate -y*L }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.333) texture { T_Chrome_1C } #if ( R < 0.333) texture { T_Chrome_1C }
#elseif ( R < 0.666) texture { T_Silver_1C } #elseif ( R < 0.666) texture { T_Silver_1C }
#else texture { Flashy scale 3 } #else texture { Flashy scale 2 }
#end #end
} }
#undef L #undef L
@@ -67,9 +67,9 @@ merge {
union { union {
#local E = 0.49; #local E = 0.49;
object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> } object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> }
cylinder { 0, x*E, 0.008 scale <1, 5, 1> } cylinder { 0, x*E, 0.008 scale <1, 5.5, 1> }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.86 ) texture { T_Silver_3A } #if ( R < 0.88 ) texture { T_Silver_3A }
#else texture { T_WIP_rasta } #else texture { T_WIP_rasta }
#end #end
#undef E #undef E
@@ -79,7 +79,7 @@ union {
#macro Trid_A_tail () #macro Trid_A_tail ()
union { union {
#for (A, 0, 359, 120) #for (A, 0, 359, 120)
#local RY = A + 27*rand(Rng1); #local RY = A + 29*rand(Rng1);
object { Trid_A_ailette () rotate RY*y } object { Trid_A_ailette () rotate RY*y }
#end // for #end // for
} }
+1 -1
View File
@@ -25,7 +25,7 @@ object { Le_Decor }
#else #else
#declare DX_cam = -4.9 * sin(CK); #declare DX_cam = -4.9 * sin(CK);
#declare DY_cam = 9.9 + (5*NormClock); #declare DY_cam = 9.9 + (5*NormClock);
#declare DZ_cam = -2.6 * cos(CK); #declare DZ_cam = -2.9 * cos(CK);
#declare DY_lat = 0; #declare DY_lat = 0;
#end #end
+4 -1
View File
@@ -1,3 +1,6 @@
C'est ici que nous allons mettre toutes les vidéos. **C'est ici que nous allons (vous allez) mettre toutes les vidéos.**
+10 -10
View File
@@ -36,7 +36,7 @@ difference {
union { union {
#local Ra = V * R_hole * 1.02; #local Ra = V * R_hole * 1.02;
#local Rb = 0.028; #local Rb = 0.028;
#local KY = 0.21; #local KY = 0.240;
torus { Ra, Rb texture { T_Beton_2 } translate y*KY } torus { Ra, Rb texture { T_Beton_2 } translate y*KY }
torus { Ra, Rb texture { T_WIP_color } translate y*(KY*2) } torus { Ra, Rb texture { T_WIP_color } translate y*(KY*2) }
torus { Ra, Rb texture { T_WIP_dents } translate y*(KY*3) } torus { Ra, Rb texture { T_WIP_dents } translate y*(KY*3) }
@@ -65,11 +65,11 @@ union {
union { union {
#local EX = 1.9 + (0.3*cos(NormClock*5)); #local EX = 1.9 + (0.3*cos(NormClock*5));
#local EZ = 2.0 + (0.5*sin(NormClock*2)); #local EZ = 2.0 + (0.5*sin(NormClock*2));
object { Trident_A() rotate x*87 } object { Trident_A() rotate y*(666*NormClock) rotate x*87 }
object { HexaBenz() translate <-EX, 0, -EZ> } object { HexaBenz() translate <-EX, 0, -EZ> }
object { HexaCone() translate < EX, -0.4, -EZ> } object { HexaCone() translate < EX, -0.4, -EZ> }
object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> } object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> }
object { HexaTube translate < EX*2, 0.3, -EZ*2> } object { HexaTube translate < EX*2, -0.03, -EZ*2> }
} }
rotate y*90 // pour pointer vers X rotate y*90 // pour pointer vers X
} }
@@ -110,7 +110,7 @@ object {
#local H2 = L2 * 0.50; #local H2 = L2 * 0.50;
cylinder { <0, 0, 0>, <0, H2, 0>, R/4 } cylinder { <0, 0, 0>, <0, H2, 0>, R/4 }
sphere { <0, 0, 0>, R/4 sphere { <0, 0, 0>, R/4
scale <1, 0.5, 1> translate y*H2 scale <1, 0.4, 1> translate y*H2
} }
scale <2.5, 1, 1> translate x*L2*0.75 scale <2.5, 1, 1> translate x*L2*0.75
} }
@@ -129,7 +129,7 @@ union {
object { Corps_Wagonnet_0 (Longueur) } object { Corps_Wagonnet_0 (Longueur) }
#for (Foo, 0, 5) #for (Foo, 0, 5)
#local DX = 0.35 - (Foo*0.24); #local DX = 0.35 - (Foo*0.24);
#local RP = -30 + (80 * rand(Rng1)); #local RP = -33 + (80 * rand(Rng1));
object { Pointe_Wagonnet_0 () object { Pointe_Wagonnet_0 ()
translate <DX, 0.31, 0> rotate x*RP } translate <DX, 0.31, 0> rotate x*RP }
#end #end
@@ -159,7 +159,7 @@ sphere {
union { union {
#for (A, 0, 64, 1) #for (A, 0, 64, 1)
// please explain this formula ! // please explain this formula !
#local CK = (NormClock*55.00) + (A*0.28); #local CK = (NormClock*45.00) + (A*0.28);
object { Une_Boule () object { Une_Boule ()
#local TX = 3.2 * sin(CK); #local TX = 3.2 * sin(CK);
#local TY = 0.4 * cos(sin(CK)); #local TY = 0.4 * cos(sin(CK));
@@ -217,9 +217,9 @@ union {
object { Une_Arche (0.20) } object { Une_Arche (0.20) }
object { Une_Arche (0.16) translate -z*E } object { Une_Arche (0.16) translate -z*E }
object { Une_Arche (0.16) translate z*E } object { Une_Arche (0.16) translate z*E }
object { Une_Arche (0.12) translate -z*E*2 } object { Une_Arche (0.14) translate -z*E*2 }
object { Une_Arche (0.12) translate z*E*2 } object { Une_Arche (0.12) translate z*E*2 }
object { Une_Arche (0.08) translate -z*E*3 } object { Une_Arche (0.09) translate -z*E*3 }
object { Une_Arche (0.08) translate z*E*3 } object { Une_Arche (0.08) translate z*E*3 }
} }
#end // macro #end // macro
@@ -251,7 +251,7 @@ union {
#macro Cahute_0 () #macro Cahute_0 ()
difference { difference {
#local KX = 0.52; #local KX = 0.52;
#local KH = 1.80 + rand(Rng1) ; #local KH = 1.80 + (1.42*rand(Rng1)) ;
// #debug concat(" Cahute_0, KH = ", str(KH, 6, 4), "\n") // #debug concat(" Cahute_0, KH = ", str(KH, 6, 4), "\n")
#local KZ = KX + (0.24*rand(Rng1)); #local KZ = KX + (0.24*rand(Rng1));
box { <-KX, 0, -KZ>, <KX, KH, KZ> } box { <-KX, 0, -KZ>, <KX, KH, KZ> }
@@ -260,7 +260,7 @@ difference {
#local KX = KX * Mult; #local KX = KX * Mult;
#local KH = KH * Mult; #local KH = KH * Mult;
#local KZ = KZ * Mult; #local KZ = KZ * Mult;
box { <-KX, 0.0001, -KZ>, <KX, KH, KZ> } box { <-KX, 0.001, -KZ>, <KX, KH, KZ> }
cylinder { <-10, KH*0.70, 0>, <10, KH*0.72, 0>, KX * 0.823 } cylinder { <-10, KH*0.70, 0>, <10, KH*0.72, 0>, KX * 0.823 }