Compare commits

...
56 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
Tonton Th ef99d0244c time to take a nap 2026-11-20 20:48:45 +01:00
Tonton Th 18774dec79 be warded: hard change 2026-11-20 20:42:31 +01:00
Tonton Th 2b59e8319b slowly changing things 2026-11-20 20:30:30 +01:00
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
Tonton Th 54e19e8913 more work on the new family's member 2026-11-18 19:10:52 +01:00
Tonton Th 46cd66ac44 move the camera up 2026-11-17 21:46:53 +01:00
Tonton Th 68c32c2dd1 camera tuning 2026-11-17 18:06:45 +01:00
Tonton Th 178f562ee3 tweake les portiques 2026-11-17 18:05:43 +01:00
Tonton Th a89a2bae71 un peu de sobre... 2026-11-17 18:04:41 +01:00
Tonton Th 47a9f80a1d more lights is better 2026-11-17 12:41:56 +01:00
Tonton Th f0886b01f2 add the hexatube 2026-11-16 11:24:20 +01:00
Tonton Th 96a402b9d8 a lot of crazy tweaks 2026-11-15 23:37:54 +01:00
Tonton Th c87aa7e57d cosmetic 2026-11-13 21:48:23 +01:00
Tonton Th 68b3d9b71e camera tning 2026-11-13 21:33:37 +01:00
Tonton Th 18b8ba822f bla ? 2026-11-13 21:32:54 +01:00
Tonton Th 30c12ebecb off by one 2026-11-13 20:48:54 +01:00
Tonton Th 6f31e80873 use fractional build (see the doc) 2026-11-13 20:48:10 +01:00
Tonton Th 26269bae0c exclude working files 2026-11-13 20:46:28 +01:00
Tonton Th 2f97671726 Winter is comimg at Bourtoulots 2026-11-11 09:32:35 +01:00
Tonton Th d9df971110 a directory for the vidz 2026-11-11 09:14:21 +01:00
51 changed files with 711 additions and 362 deletions

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ WS/*timing
WS/log*
WS/*.done
WS/*.log
WS/*.last
WS/*.stderr
*.png
*.gif
+7 -3
View File
@@ -1,11 +1,12 @@
DIMS = -W1600 -H1200
DIMS = -W1600 -H1200
POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=480 -d
# POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=480 -d
POVOPT = +q7 -a -WT2 Declare=NbFrames=480 -d
POVDEP = contexte.inc hexacone.inc hexabenz.inc \
all.inc hexastar.inc \
architecture.inc \
architecture.inc hexatube.inc \
globals.inc hexawood.inc datas/hf.png \
dynamic.inc trident.inc groundbase.inc \
gadgets.inc xperiment.inc
@@ -66,6 +67,9 @@ hexawood.png: hexawood.pov Makefile $(POVDEP)
hexastar.png: hexastar.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
hexatube.png: hexatube.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) +K$(CK) -i$< -o$@
passage.png: passage.pov Makefile $(POVDEP)
povray $(POVOPT) $(DIMS) -K$(CK) -i$< -o$@
+7 -3
View File
@@ -10,7 +10,8 @@ suivre son évolution par l'intermédiaire de
[Mastodon](https://mastodon.tetaneutral.net/@tth)
avec le *croisimot* `#hexacone`.
Quelques images sont disponibles sur mon serveur de
[cuisine](http://maison.tth.netlib.re/pov/hexacone.html),
[cuisine](http://maison.tth.netlib.re/pov/hexacone.html)
(si SFR me laisse utiliser ma fibre comme je le souhaite),
avec même des liens vers les vidz.
## Prérequis
@@ -25,7 +26,10 @@ Une bonne maitrise des scripts shell (en Bash) sera un plus.
Il y a deux choses que l'on peut raytracer :
les images fixes, qui sont traitées
par un classique [`Makefile`](./Makefile) et les séquences animées
produites par un [script shell](./mkloop.sh).
produites par un [script shell](./make_one_seq.sh). Celui-ci
fonctionne sur un mode incrémental. À chaque fois qu'il est
lancé il va calculer entre 50 et 111 images en démarrant là où
il s'est arreté à la précédente passe.
Avant toute chose, vous devrez vérifier la présence de plusieurs
répertoires :
@@ -48,7 +52,7 @@ et de l'autre coté le repértoire `./WS/` pour ranger les
[fichiers de travail](./WS/README.md).
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
pour les mettre dans le grand Ternet mondial à partir de mon
[ADSL](http://maison.tth.netlib.re/pov/hexacone.html) de campagne.
+1 -1
View File
@@ -1,4 +1,4 @@
# Workspace
This space is for intermediate files, fuzzy garbage, timing log,
and a lot of weird datas.
sequence status, and a lot of weird datas.
+3
View File
@@ -14,6 +14,9 @@
#include "trident.inc"
#include "hexastar.inc"
#include "hexatube.inc"
// les machins avec des bugs
#include "architecture.inc"
+5 -4
View File
@@ -15,22 +15,23 @@ object { Le_Decor }
// =======================================================
#declare LocX = -1.5 + (2.10*Cos_010(NormClock));
#declare LocY = 2.6 - NormClock;
#declare LocZ = -180 + (105 * NormClock);
#declare LocX = -1.5 + (2.70*Cos_010(NormClock));
#declare LocY = 2.9 - NormClock;
#declare LocZ = -180 + (109 * NormClock);
#declare LatCam = <0, 0.92+NormClock, 0>;
// object { Repere scale 5 translate Interpolate(LocCam, LatCam, 0.50) }
camera {
cylinder 2
angle 44 + (34 * NormClock)
location <LocX, LocY, LocZ>
look_at LatCam
right <image_width/image_height, 0, 0>
// focal_point <0.37, 0.0, 0>
// aperture 0.046
// blur_samples 30
angle 42
}
// =======================================================
+12 -10
View File
@@ -10,7 +10,7 @@
#macro Jalon_0 (Rad, Hei, Ttu)
merge {
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 }
}
#end
@@ -49,7 +49,7 @@ difference {
// -----------------------------------------------------------
#macro Fut_Col_A (H)
object {
cylinder { 0, H*y, SzC * 0.50 }
cylinder { 0, H*y, SzC * 0.55 }
#local R = rand(Rng1);
#if (R < 0.43)
texture { T_Stone29 }
@@ -72,8 +72,8 @@ union {
// pour remplacer les arches de l'approche.
#macro Linteau_A (Lg, Epp)
merge {
#local L = Lg + 0.42;
#local K = 0.30;
#local L = Lg + 0.82;
#local K = 0.31;
box { <-L, 0, -K>, <L, Epp, K> }
cylinder { <0, Epp, -K*0.9>, <0, Epp, K*0.9>, K }
#local R = rand(Rng1);
@@ -87,10 +87,12 @@ merge {
// -----------------------------------------------------------
#macro Linteau_B (Lg, Epp)
merge {
#local L = Lg + 0.20;
#local L = Lg + 0.60;
#local K = 0.36;
box { <-L, 0, -K>, <L, Epp, K> }
cylinder { <0, Epp, -K*0.9>, <0, Epp, K*0.9>, K }
#local E = L * 0.333333;
box { <-L, 0, -K>, <L, Epp, 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);
#if (R < 0.63) texture { T_Crack3 } // XXX
#else texture { T_Grnt19a }
@@ -106,10 +108,10 @@ union {
object { Colonne_A (Haut) translate -x*Larg }
object { Colonne_A (Haut) translate x*Larg }
#local R = rand(Rng1);
#if (R < 0.80)
object { Linteau_A (Larg,0.26) translate y*(Haut+0.20) }
#if (R < 0.60)
object { Linteau_A (Larg,0.26) translate y*(Haut+0.20) }
#else
object { Linteau_B (Larg,0.28) translate y*(Haut+0.20) }
object { Linteau_B (Larg,0.28) translate y*(Haut+0.20) }
#end
}
#end // macro
+5 -4
View File
@@ -16,16 +16,17 @@ object { Le_Decor }
// =======================================================
#declare R_around = 120;
#declare CK = 2.9 + (3.141592654 * NormClock);
#declare R_around = 50;
#declare CK = 3.39 + (3.141592654 * NormClock);
#declare CamX = R_around * cos(CK);
#declare CamY = 15 + (6*Cos_010(NormClock));
#declare CamZ = R_around * 1.8 * sin(CK);
camera {
spherical
angle 144
location <CamX, CamY, CamZ>
look_at <0, 0.5 + NormClock, 0>
look_at <0, -26, -4+(6*NormClock)>
right <image_width/image_height, 0, 0>
angle 36
}
+3 -3
View File
@@ -30,9 +30,9 @@ union {
object { Le_Decor }
camera {
location <46, 199+(250*NormClock), 8-(3*NormClock)>
look_at <0, 1.18, 0.17 - (42*NormClock)>
location <46, 249+(290*NormClock), 8-(3*NormClock)>
look_at <0, 1.18, -7 + (42*NormClock)>
right <image_width/image_height, 0, 0>
angle 35
angle 25
}
+4 -4
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
*/
@@ -16,8 +16,8 @@ object { Le_Decor }
// =======================================================
#declare R_circ = R_circular + 0.07;
#declare CK = 2.9 + (1.51 * Cos_01(NormClock));
#declare R_circ = R_circular + 0.17;
#declare CK = 2.9 + (2.56 * Cos_01(NormClock));
#declare CamX = R_circ * cos(CK);
#declare CamY = 3.08 + abs(sin(CK/4.00));
@@ -32,6 +32,6 @@ camera {
location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
angle 64
angle 66 + (24 * NormClock)
}
+22 -14
View File
@@ -25,20 +25,25 @@ union {
}
/* ======================================================= */
#macro Trois_Portiques (Dist)
#macro Quatre_Portiques (Dist)
union {
object { Portique_A () rotate -y*9 }
object { Portique_A () scale <1, 1.2, 1> translate z*11 }
object { Portique_A () rotate y*9 translate z*22 }
box { <-4.1, 0, -2>, <4.1, 0.03, 24> texture { LeGris } }
object { Portique_A () rotate -y*1 }
object { Portique_A () scale <1, 1.25, 1> translate z*10 }
object { Portique_A () rotate y*1 translate z*20 }
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
/* ======================================================= */
/*
* essai du 12 mars 2025
*
* DÉCLARER DES POSITIONS
*/
#declare X_hexatube = -2.5;
#declare Z_hexatube = 35.6;
#declare RedB_0_X = 19; #declare RedB_0_Z = 29;
#declare RedB_1_X = -34; #declare RedB_1_Z = 11;
@@ -78,7 +83,7 @@ union {
intersection {
sphere { 0, R_gyro scale <1, 1.717, 1> }
box { <-1, 0, -1>, <1, 1.94, 1> }
translate y*(H_gyro+H_gylampe+0.04)
translate y*(H_gyro+H_gylampe+0.04)
}
#local R = rand(Rng1);
#if (R < 0.33) texture { T_Stone25 scale 1+rand(Rng1) }
@@ -150,7 +155,7 @@ union {
#local E = R_circular + De;
#else
#local E = R_circular - De;
#end
#end
#local Ra = radians(Ang);
#local Xp = E * cos(Ra);
#local Zp = E * sin(Ra);
@@ -349,7 +354,7 @@ sky_sphere {
union {
object { Underground }
object { Les_Bordures }
object { Les_Jalons }
#include "groundbase.inc"
@@ -364,28 +369,31 @@ union {
object { RoundBase_0 (T_Planete_A)
translate <RedB_3_X, 0, RedB_3_Z> }
object { Un_HexaTube translate <X_hexatube, 0, Z_hexatube> }
// object { Les_Lumieres }
object { QuadriLight }
object { Les_GyroPhares () }
object { Les_HexaPoles }
object { HorlogeDouble rotate y*(134*NormClock)
object { HorlogeDouble rotate y*(194*NormClock)
translate < 8, 0, -30> }
object { Les_Choses }
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> }
/* --------- les trucs dans le Y négatif */
// 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 <-21, 1.52, -104> }
object { OpenBox(1.5, 0.06) translate <-20, 1.52, -144> }
#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
/* --------- les trucs dans le Y positif */
+3 -1
View File
@@ -11,4 +11,6 @@ free to experiment with ugly files *:)*
You can also see the colors for the EGA conversion :
![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.
+13 -8
View File
@@ -1,11 +1,13 @@
/*
* DYNAMIC
*
* Tout ce qui bouge, en principe.
*/
// =======================================================
// rajout d'une patrouille en vol
// 2 janvier 2026
object {
#local CK = (clock / 210) - 0.75; // en radians
#local RD = 63; // rayon deplacement
@@ -62,13 +64,16 @@ object { BiBenz rotate -y*(clock*0.28) translate Pos_RedB_0 }
*/
#declare BiCone = object
{
#local K = 1.27;
#local K = 1.29;
union {
object { HexaCone () rotate y*90 translate <-K, 1.7, 0> }
object { HexaCone () rotate <9, 1, 7> translate < K, 1.9, 0> }
#local Ky = 1.7 + (abs(sin(NormClock*13.37)) * 0.333);
object { HexaCone () rotate y*90 translate <-K, Ky, 0> }
#local Krx = 27 * (sin(NormClock*8.17) * sin(NormClock*12.99));
#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)*65.38) translate Pos_RedB_1 }
object { BiCone rotate -y*(Cos_010(NormClock)*158) translate Pos_RedB_1 }
/* les tridents posés sur leur estrade */
#declare BiTrident = object
@@ -78,7 +83,7 @@ union {
object { Trident_A () rotate z * 8.4 translate x*0.90 }
}
}
object { BiTrident
object { BiTrident
rotate y*(670*Cos_01(NormClock))
translate Pos_RedB_2 + (y*2)
}
@@ -87,7 +92,7 @@ object { BiTrident
// 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)
translate Pos_RedB_3 + y*(2+NormClock)
}
/*
@@ -128,7 +133,7 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
/*
* ----------------------------
* echange hexacone et hexabenz
*/
*/
#declare HC_A = <0.03, 2.18, 0.17>;
#declare HC_B = <3.00, 11.07, 11.09>;
#declare HC_P = Interpolate(HC_A, HC_B, Cos_01(NormClock));
+9 -6
View File
@@ -20,7 +20,7 @@
#for (idZ, -3, 3)
#local posX = (idX * 4.76) + (rand(Rng1)-0.5);
#local posY = 3.2 + (NormClock * 17 * (rand(Rng1)+0.95));
#local posY = 3.2 + (NormClock * 19 * (rand(Rng1)+0.95));
#local posZ = (idZ * 4.44) ;
#local Rx = (rand(Rng1) - 0.5) * 12;
#local Ry = (rand(Rng1) - 0.5) * (24+NormClock);
@@ -29,20 +29,23 @@
// #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n")
// #debug concat("position Z ", str(posZ,7,3),"\n")
#declare Limit = 1.470;
#declare Limit = 1.350;
#if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position
#local Y_mean = Y_mean + posY;
#local Y_count = Y_count + 1;
#local R = rand(Rng1);
#if (R < 0.30)
#if (R < 0.25)
object { HexaCone () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#elseif (R < 0.60)
#elseif (R < 0.50)
object { HexaStar rotate y*90 rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#else
#elseif (R < 0.75)
object { HexaBenz () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#else
object { HexaTube rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#end
#end // if position...
#end // loop idX
@@ -65,5 +68,5 @@ camera {
location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
angle 54 - (35 * NormClock)
angle 54 - (42 * NormClock)
}
+22 -22
View File
@@ -20,14 +20,14 @@
#macro Un_Autre_Cube (Ratio)
difference {
#local D = 1.000000;
#local D = 1.091312;
box { <-D, -D, -D>, <D, D, D> }
#local V = Ratio * D;
#local M = D * 1.1;
box { <-M, -V, -V>, <M, V, V> }
box { <-V, -M, -V>, <V, M, V> }
box { <-V, -V, -M>, <V, V, M> }
texture { Flashy scale 4 }
texture { Flashy scale <0.4, 7, 2.5> }
}
#end
// =======================================================
@@ -50,7 +50,7 @@ union {
texture {
pigment { rgb <Rv, Gv, Bv> }
normal { dents 6.66 scale 0.03+(0.17*rand(Rng1)) }
finish { phong 0.51 reflection 0.08 }
finish { phong 0.71 reflection 0.08 }
}
}
#end // for
@@ -64,7 +64,7 @@ union {
}
#end // macro
#declare Des_Anemones = object
#declare Des_Anemones = object
{
union {
object { Anemone_A (3.00-NormClock, 1.50+NormClock)
@@ -146,7 +146,7 @@ difference {
}
texture {
#if (rand(Rng1) < 0.70) pigment { color Orange }
#else pigment { color Orange }
#else pigment { color Yellow }
#end
finish { emission 0.8 }
}
@@ -195,7 +195,7 @@ pigment {
[ 0.666 color Gray50 ]
[ 1.000 color Green ]
}
turbulence 1.24 // piturb :)
turbulence 1.04 // piturb :)
scale <1, 0.25, 1>
rotate <10, 0, 4>
}
@@ -208,7 +208,7 @@ finish { phong 0.25 }
{
#local TX = 2.45;
#local TZ = 2.95;
#local Kro = 32 + (NormClock * 666);
#local Kro = 34 + (NormClock * 666);
union {
object { Obj_BasicTexture texture { LeGris }
rotate y * (rand(Rng1)*Kro)
@@ -235,7 +235,7 @@ union {
}
// =======================================================
/* Les choses, c'est l'espèce de vase avec des tiges
/* Les choses, c'est l'espèce de vase avec des tiges
qui bougent, je devrais trouver un nom plus parlant.
- - - - -
Mieux, on garde la chose mais on en dérive le vase
@@ -250,10 +250,10 @@ intersection {
scale <1, 1.60, 1>
}
#local R = rand(Rng1);
#if (R < 0.65)
#if (R < 0.75)
texture { Texture_du_Vase rotate y*(clock*3) }
#else
texture { T_WIP_redwave scale 0.15 + 0.07*rand(Rng1)
texture { T_WIP_redwave scale 0.10 + 0.07*rand(Rng1)
rotate <75*rand(Rng1), 75*rand(Rng1), 75*rand(Rng1)>
}
#end
@@ -268,7 +268,7 @@ union {
#for (foo, 0, 359.999, 60)
#local Dx = 0.33 * sin(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)
translate <Dx, 0, Dz>
} // torus
@@ -295,7 +295,7 @@ union {
cylinder { 0, y*0.80, 0.08 }
cylinder { 0, y*0.08, 0.20 }
sphere { 0, 0.20 scale <1, 0.15, 1> translate y*0.08 }
texture { T_WIP_dents scale 0.15 }
texture { T_WIP_dents scale 0.15 }
}
#end
// ------------------------------------
@@ -324,7 +324,7 @@ union {
#else texture { tPlasticGreen }
#end // if
}
#end // for
#end // for
translate y*0.87
}
// #debug "== Fin Vase les tiges\n"
@@ -395,9 +395,9 @@ union {
#debug " !!! ACTION !!!\n"
/* 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 Bv = 0.25 * abs(sin(clock*0.019));
#local Bv = 0.25 * abs(sin(clock*0.819));
light_source {
<-32, 40, -7>
colour <Rv, Gv, Bv>
@@ -407,14 +407,14 @@ union {
// ------------------------------------------------------ ##
#declare Selector = int(clock/96);
#declare Selector = int(clock/120);
#debug concat("Selector = ", str(Selector, 6, 0), "\n")
#declare AngleCam = 29 - 3*Cos_01(NormClock);
#declare AngleCam = 28 - 3*Cos_01(NormClock);
#switch (Selector)
#case (0)
object { Des_Choses }
object { Architecture }
#local AngleCam = 17;
#break
#case (1)
@@ -431,9 +431,9 @@ union {
// object { Repere translate y*1 }
#break
#case (4)
object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 1.8, 2> }
object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 2.6, 3> }
object { HorlogeDouble scale 2.12
rotate y*(214*NormClock) translate <-3, 0, -2> }
rotate y*(214*NormClock) translate <-3, 0, -3> }
#break
#end // switch selector
@@ -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 CamZ = -5.777 + (1.3*Cos_010(NormClock));
#local CamZ = -5.777 + (0.3*Cos_010(NormClock));
#local K = 8.6;
#local CamX = CamX * K;
+9 -7
View File
@@ -1,19 +1,21 @@
# 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/
+--- essai
+--- orbite
+--- hexatube
+--- passage
+--- scene
+--- scene
+--- 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é...
+13 -11
View File
@@ -152,25 +152,27 @@ text {
}
scale <1.76, 1.70, 1.76>
rotate 90*x
translate <-4.3, 0.046, 0>
translate <-4.3, 0.046, 0>
}
// ----------------------------------------------------------
// nouveau du 3 janvier 2026
#local Horloge2 = object
{
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
{
union {
/* C'est une horloge a deux faces !!! */
difference {
box { <-3.10, 0.00, -0.16>, <3.10, 1.74, 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.70, 1.00> }
texture { LeGris }
box { <-3.10, 0.00, -0.16>, <3.10, 1.92, 0.16> }
box { <-3.06, 0.04, -0.04>, <3.06, 1.88, -1.00> }
box { <-3.06, 0.04, 0.04>, <3.06, 1.88, 1.00> }
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 translate -z*EC }
}
@@ -208,13 +210,13 @@ prism {
#macro HexaPole_abatjour (Quux)
union {
#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)
#local DX = Raj * sin(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
torus { Raj, 0.02 translate y*Quux }
rotate y*(clock*1.86*(rand(Rng1)-0.52))
texture { Aluminum }
}
@@ -242,7 +244,7 @@ union {
}
#local Pos = y*(Height+0.097);
#if (rand(Rng1) < 0.36)
#if (rand(Rng1) < 0.42)
#local Val = 0.25 + 0.5*rand(Rng1);
light_source {
Pos rgb <0.86, 0.29+(0.5*rand(Rng1)), 0.99>
+7 -7
View File
@@ -11,7 +11,7 @@ global_settings {
#include "stones.inc"
#include "woods.inc"
#declare Rng1 = seed(3615);
#declare Rng1 = seed(1312);
#declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2);
@@ -48,16 +48,16 @@ global_settings {
* Some textures...
*/
#declare LeGris = texture
#declare LeGris = texture
{
/* moi j'dis qu'il est temps de définir un "gris de base" */
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
{
#local V = (sin(clock*0.142) / 2) + 0.5;
#local V = (sin(clock*0.182) / 2) + 0.5;
pigment { color Orange * V }
finish { phong 0.23 ambient 0.30 }
}
@@ -103,7 +103,7 @@ finish { roughness 1.00 }
*/
#declare tPlasticOrange = texture
{
pigment{rgb <2.000, 0.50, 0.0>}
pigment{rgb <1.600, 0.50, 0.0>}
finish {
ambient 0.1
diffuse 0.6
@@ -132,7 +132,7 @@ finish { roughness 1.00 }
}
#declare tPlasticPrune = texture
{
pigment{rgb <1.50, 0.30, 1.50>}
pigment{rgb <1.50, 0.30, 1.40>}
finish {
ambient 0.1
diffuse 0.6
@@ -154,7 +154,7 @@ pigment {
scale 0.50
}
finish {
emission 0 ambient 0.717 diffuse 0.209 specular 0
ambient 0.717 diffuse 0.209 specular 0
}
}
+2 -3
View File
@@ -46,8 +46,7 @@ texture { T_Beton_2 }
#debug concat("Texte du compteur ", Texte, "\n\n")
text {
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
// texture { T_WIP_alert }
texture { Flashy rotate <0, clock*0.50, 0> }
texture { LeGris }
}
}
#declare Cabane_Compteur = object
@@ -121,7 +120,7 @@ merge {
{
#local Sz = SzBase - 0.14;
#local Hc = H_base;
union {
union {
box { <-SzBase, 0, -SzBase>, <SzBase, H_base, SzBase> }
object { GroudBase_coin translate <-Sz, Hc, -Sz> }
object { GroudBase_coin translate < Sz, Hc, -Sz> }
+15 -14
View File
@@ -23,8 +23,8 @@ union {
// ------------------------------------------------------
/* nouveau Fri Oct 17 05:54:38 PM UTC 2025 */
#macro Benz_attache_cones (Ec)
torus { Ec, Ec*0.06
scale <1, 2.4, 1> rotate x*90
torus { Ec, Ec*0.053
scale <1, 2.44, 1> rotate x*90
#if ( rand(Rng1) < 0.55 )
texture { GoldDark }
#else
@@ -38,7 +38,7 @@ torus { Ec, Ec*0.06
#macro Benz_Cones () // = object
// {
union {
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local E = 0.31;
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
@@ -71,11 +71,11 @@ union {
merge {
#local E = R_Tube * 0.75;
#local R = 0.009;
#for (foo, 0, 360, 30)
#for (foo, 0, 359, 30)
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
#local Dza = z * 0.27;
#local Dzb = z * 0.97;
#local Dza = z * 0.34;
#local Dzb = z * 0.99;
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
@@ -91,9 +91,9 @@ merge {
#macro Benz_Fuseau ()
difference {
sphere { 0, R_Tube*0.39 }
sphere { 0, R_Tube*0.37 }
cylinder { <-1, 0, -1>, < 1, 0, 1>, R_Tube*0.21 }
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
sphere { 0, R_Tube*0.39 }
cylinder { <-1, 0, -1>, < 1, 0, 1>, R_Tube*0.22 }
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.22 }
}
scale <1, 1, 4.4>
#if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 }
@@ -122,15 +122,15 @@ rotate -z*clock*8
#local Forme_Cockpit = object
{
difference {
sphere { 0, R_Tube*0.72 }
sphere { 0, R_Tube*0.72 scale 0.99 }
sphere { 0, R_Tube*0.77 }
sphere { 0, R_Tube*0.75 }
#for (Foo, 0, 359, 36)
cylinder { x, 0, R_Tube*0.15
translate y*(R_Tube*0.34)
rotate y*Foo }
#end
}
scale <1, 0.92, 1>
scale <1, 0.90, 1>
translate z*L_Tube*1.18
}
@@ -172,10 +172,11 @@ union {
cylinder { -E*z, <0, 0.20, -E>, RBA2 }
scale <1, 1.5, 5.555>
}
/* please explain this formula */
#if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) )
texture { tPlasticBlue }
#else texture { tPlasticGreen }
#else texture { tPlasticPrune }
#end
}
#end
+2 -2
View File
@@ -13,7 +13,7 @@
object { Le_Decor }
#declare Loc_cam = <0.63, 2, 2*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;
@@ -24,6 +24,6 @@ camera {
// focal_point <0.37, 0.0, 0>
// aperture 0.046
// blur_samples 30
angle 40 - 15 * Cos_01(NormClock)
angle 26 - (17 * pow(NormClock, 3))
}
+3 -3
View File
@@ -94,7 +94,7 @@ merge {
#declare HexaCone_radar_A = object
{
union {
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local RR = 0.12;
#local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo));
@@ -111,7 +111,7 @@ texture { Soft_Silver scale 6.50 }
#declare HexaCone_radar_B = object
{
union {
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local RR = 0.12;
#local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo));
@@ -231,7 +231,7 @@ merge {
intersection {
torus { R2, Etuy/2 scale <1, 18, 1> }
box { <-1, 0, -1>, <1, 1, 1> }
rotate 90*z translate -dX*x
rotate 90*z translate -dX*x
}
torus { R2, Etuy/2 scale <1, 0.75, 1> rotate 90*z translate dX*x }
+1
View File
@@ -19,6 +19,7 @@ object { Le_Decor }
#declare Loc_cam = <2, 2.7-NormClock, -1> + (Pos_RedB_1 * 1.308);
camera {
spherical
location Loc_cam
#local H = 1.16 + (NormClock*0.44);
look_at Pos_RedB_1 + <0.02, H, 0>
+5 -3
View File
@@ -16,6 +16,7 @@ union {
#local Small = 0.00001;
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> }
// XXX cylinder { <-0.6, 0, 0>, <-1, -1, 0>, R_a*0.1 }
#local R = rand(Rng1);
#if ( R < 0.45 ) texture { GoldDark }
#elseif ( R < 0.60 ) texture { Aluminum }
@@ -25,7 +26,7 @@ union {
#end // macro
/* ------------------------------------------------------------ */
/*
* element central --- À REFAIRE EN MACRO !
* element central ---
*/
#macro HS_element_central ()
union {
@@ -78,12 +79,13 @@ union {
#declare HS_les_elements = object
{
union {
#for (Foo, 0, 360, 60)
#for (Foo, 0, 359, 60)
#local E = HS_radius;
#local Ty = E * cos(radians(Foo));
#local Tz = E * sin(radians(Foo));
union {
object { HS_element_pointe ()
object { HS_element_pointe ()
rotate x*Foo*60
translate <0, Ty*1.16, Tz*1.16> }
object { HS_element_queue ()
translate <0, Ty*0.80, Tz> }
+5 -4
View File
@@ -15,14 +15,15 @@
object { Le_Decor }
#declare CK = 2.03 - (NormClock * 2.77);
#declare DX_cam = 6.11 * cos(CK);
#declare DY_cam = 2.00 + sin(CK+1.111);
#declare DZ_cam = 5.19 * sin(CK);
#declare DX_cam = 3.87 * cos(CK);
#declare DY_cam = 2.30 + sin(CK+1.111);
#declare DZ_cam = 4.39 * sin(CK);
#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 {
omnimax
location Loc_cam
look_at Lat_cam
right <image_width/image_height, 0, 0>
+134
View File
@@ -0,0 +1,134 @@
/*
* 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.23;
#local Stube = 0.61;
#declare Etube = 0.03;
// ---------------------------------------------------------
#declare HexaTube_shape_0 = object
{
difference {
merge {
cylinder { <-Stube, 0, 0>, <Stube, 0, 0>, Rtube }
cylinder { <0, -Stube, 0>, <0, Stube, 0>, Rtube }
cylinder { <0, 0, -Stube>, <0, 0, Stube>, Rtube }
}
merge {
#local S2 = Stube + 1;
#local R2 = Rtube - Etube;
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
}
texture { Flashy scale 22 }
}
}
// ---------------------------------------------------------
#local HT_tube_int = object
{
merge {
#local S2 = Stube + 0.17;
#local R2 = Rtube * 0.21;
sphere { 0, R2 scale <4.51, 1, 1> translate <-S2, 0, 0> }
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
sphere { 0, R2 scale <4.51, 1, 1> translate < S2, 0, 0> }
}
}
#declare HexaTube_interieur = object
{
merge {
#local S2 = Stube + 0.26;
#local R2 = Rtube * 0.25;
object { HT_tube_int }
object { HT_tube_int rotate y*90 }
object { HT_tube_int rotate z*90 }
}
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 !!! */
#declare HexaTube = object
{
union {
object { HexaTube_shape_0 }
object { HexaTube_interieur }
object { HT_les_anneaux (1.09) }
}
rotate <11, 0, -18+(36*NormClock)>
}
/* =============================================================== */
#declare HexaTube_base = object
{
#local H_bt = 0.70;
#local R_bt = 2.40;
difference {
cylinder { 0, y*H_bt, R_bt }
#for (Foo, 0, 359, 30)
#local Rb = R_bt - 0.23;
#local Px = Rb * sin(radians(Foo));
#local Pz = Rb * cos(radians(Foo));
merge {
cylinder { -y, y*10, 0.42 translate <Px, 0, Pz> }
torus { 0.40, 0.17 scale <1, 0.4, 1>
translate <Px, H_bt*1.07, Pz> }
}
#end
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 }
}
/* =============================================================== */
#declare Un_HexaTube = object
{
union {
#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 }
}
}
+39
View File
@@ -0,0 +1,39 @@
/*
* H E X A C O N E - H E X A T U B E
*/
#version 3.7;
#include "globals.inc"
#declare NO_DYNAMIC = 0;
#include "all.inc"
object { Le_Decor }
// =======================================================
#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 {
location Loc_cam
look_at Lat_cam
right <image_width/image_height, 0, 0>
angle 59 - 17 * Cos_010(NormClock)
}
/*
* OK il faut faire mieux sur cette sequence !
*/
+8 -8
View File
@@ -9,7 +9,7 @@
// -------------------------------------------------------
#macro HW_Un_Cone ()
#macro HW_Un_Cone ()
merge {
#local RA = R_basecone * 0.92;
cone { 0, RA, y*0.91, 0.000001 }
@@ -22,7 +22,7 @@ merge {
#macro HW_Cones ()
union {
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local E = Hc_rad * 0.85;
#local Tx = Hc_elo * E * sin(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>
translate y*0.39 }
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local E = Hc_rad * 0.85;
#local Tx = El * E * sin(radians(foo));
#local Tz = E * cos(radians(foo));
@@ -100,7 +100,7 @@ merge {
union {
#local E = Hc_rad * 1.14;
#local El = Hc_elo;
#for (foo, 0, 360, 60)
#for (foo, 0, 359, 60)
#local Tx = El * E * sin(radians(foo+30));
#local Tz = E * cos(radians(foo+30));
object { HW_une_patte () translate <Tx, 0, Tz> }
@@ -109,7 +109,7 @@ union {
}
/* ------------------------------------------------------------ */
#declare HW_Anneau_0 = object
#declare HW_Anneau_0 = object
{
merge {
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 DZ = Hc_rad*0.31 * cos(radians(Foo));
#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
}
texture { GoldDark }
}
#declare HW_Anneau_1 = object
#declare HW_Anneau_1 = object
{
merge {
#for (Foo, 0, 359, 60)
@@ -133,7 +133,7 @@ merge {
cylinder { 0, 0.05*y, 0.006 }
cone { 0.03*y, 0.006, 0.08*y, 0.012 }
sphere { 0.08*y, 0.013 }
translate <DX, 0, DZ>
translate <DX, 0, DZ>
}
#end
}
+4 -5
View File
@@ -15,16 +15,15 @@
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, 31.9-NormClock>;
#declare LAT = <P_hexawood.x, 0.95+(NormClock*0.11), P_hexawood.z>;
#declare LAT = <P_hexawood.x, 0.96+(NormClock*0.12), P_hexawood.z>;
camera {
spherical
angle 20 + 2.87*Cos_010(NormClock)
location LOC
look_at LAT
right <image_width/image_height, 0, 0>
angle 20 + 2.87*NormClock
}
+5 -5
View File
@@ -16,21 +16,21 @@ 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 CamY = 7 + (4*Cos_01(NormClock));
#declare CamY = 7 + (7*Cos_01(NormClock));
#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 LatZ = 20 * sin(CK);
// object { Repere scale 2 translate <LatX, LatY, LatZ> }
camera {
// orthographic
orthographic
location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
angle 65 + (NormClock * 15)
angle 65 + (NormClock * 16)
}
+1 -1
View File
@@ -52,6 +52,6 @@ camera {
// focal_point <0, 1, 0>
// aperture 0.046
// blur_samples 30
angle 32
angle 18
}
+8 -5
View File
@@ -1,8 +1,8 @@
/*
* H E X A C O N E - E S S A I
* 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
*
* 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;
@@ -18,15 +18,18 @@ object { Le_Decor }
/* =============================================================== */
#declare CamX = 90 - (4 * NormClock);
#declare CamY = 188;
#declare CamZ = 170 - (33 * NormClock);
#declare CamY = 173 + (33 * NormClock);
#declare CamZ = 170 - (30 * NormClock);
// **** La patrouille est dans 'xperiment.inc'
// **** 'Loc_Patrouille' dans 'dynamic.inc'
camera {
location <CamX, CamY, CamZ>
look_at Loc_Patrouille
right <image_width/image_height, 0, 0>
angle 11.11111
angle 9 - (4*NormClock)
}
/* =============================================================== */
+9 -26
View File
@@ -10,41 +10,24 @@
#declare NO_DYNAMIC = 0;
#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 { 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);
#declare CamX = DistCam * sin(CK);
#declare CamY = 28 + NormClock;
#declare CamZ = DistCam * cos(CK);
#declare LatX = -8 + (16 * NormClock);
#declare LatY = -8 + (16 * NormClock);
#declare LatZ = -8 + (16 * NormClock);
camera {
cylinder 1
angle 11.5
location <CamX, CamY, CamZ>
look_at <0, 0.35, 0>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 5.1
}
+1
View File
@@ -27,6 +27,7 @@ camera {
location <CamX, 2.10, CamZ>
look_at <0.03, LatY, 0.17>
right <image_width/image_height, 0, 0>
normal { bumps 0.66 scale 1.11 }
// focal_point Lat
// aperture 0.046
// blur_samples 30
+3 -3
View File
@@ -15,8 +15,8 @@ object { Le_Decor }
// XXX instrumenter la caméra serait un GROS plus !!!
// =======================================================
#declare Debut = <-33, 92, 296> ;
#declare Fin = < 36, 83, -4> ;
#declare Debut = <-42, 92, 296> ;
#declare Fin = < 42, 83, -4> ;
#declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos);
@@ -24,7 +24,7 @@ object { Le_Decor }
#declare LatZ = -(150 + (7*NormClock));
#declare LatCam = PosCam + <LatX, -95, LatZ>;
// object { Repere scale 20 translate LatCam + y*5 }
object { Repere scale 10 translate LatCam + y*105 }
camera {
location PosCam
+11 -11
View File
@@ -2,23 +2,24 @@
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
milieu, c'est parfois pratique quand le disjoncteur fait un *beu-beu* en
plein milieu du batch. Exemples :
```
$ tools/mkloop.sh survol
$ tools/mkloop.sh survol 133
$ tools/make_one_seq.sh survol
$ tools/make_one_seq.sh survol 133
```
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,
vous avez le script [Mk Sex](mkseqs.sh) à votre service.
vous avez le script [Mk Sex](make_all_seqs.sh) à votre service.
Mkloop ajoute le nom de la séquence, le numéro de trame et le temps de
rendu au fichier `log/mp4.timing` permettant ainsi la création de
Après le rendu de chaque trame, make_one_seq ajoute le nom de la
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.
## Linkfarming
@@ -26,8 +27,8 @@ graphiques aussi jolis qu'inutiles.
C'est le directeur de la production, le grand
[script](./linkfarmer.sh)
d'assemblage des séquences avec générique et intertitres.
Hélas, il n'est pas encore configurable. Mais c'est
en projet pour juin 2026 ?
Hélas, il n'est pas encore configurable, en particulier
sur la liste des séquences. *Patches are welcome !*
## 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 :
[fonctions.sh](fonctions.sh). Par défaut, il encode
la séquence *essai*.
Le fichier de sortie s'appelle *wip.mp4* dans tous les cas.
## 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
PNG. C'est un script basé sur *Awk* et *Gnuplot*.
Ces graphiques sont utilisés comme fond pour les
intertitres.
intertitres des montages.
```
$ tools/plot-timing.sh essai && d timing.png
```
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.
+3 -4
View File
@@ -21,13 +21,12 @@ for source in $(ls -1 frames/$SEQ/*.png)
do
bname=$( basename $source )
destname="frames/EGA/$bname"
# echo $source "==>" $destname
echo $source " -> " $destname
convert $source \
-equalize \
-dither none \
-dither none \
-resize '640x350!' \
-remap datas/ega-16colors.png \
-colors 16 \
$destname
done
+4 -1
View File
@@ -6,5 +6,8 @@ Img_Height=720
# for imagemagick
TEXTCOL="Yellow3"
STROKOL="Green"
INFOCOL="Orange"
NBFRAMES=600
NBFRAMES=480
+1 -1
View File
@@ -12,4 +12,4 @@ fi
source tools/fonctions.sh
ff_encodage $srcdir wip.mp4
ff_encodage $srcdir vidz/wip.mp4
+63
View File
@@ -0,0 +1,63 @@
#!/bin/bash
set -e -u
source tools/config.sh
# traitement des arguments
if [ $# -ne 1 ] ; then
echo "need the seq name"
exit 1
fi
shortseq=$1
framedir="frames/$shortseq"
figlet "Seq $shortseq"
echo
# a few molly guards
if [ ! -d $framedir ] ; then
echo "NO DIR $framedir FOUND"
exit 2
fi
voidfile="/dev/shm/void-filler.tga"
# export TGA_OUTILS_VERBOSE="yes"
# tga_tools environ
tga_tools mk_hgrad $voidfile $Img_Width $Img_Height
tga_effects $voidfile water $voidfile 666
tga_applymap 1 $voidfile neon.map $voidfile
# display $voidfile ; exit
# ---------- main loop
compte=0
for idx in $(seq 0 $((NBFRAMES-1)) )
do
image=$(printf "%s/%05d.png" $framedir $idx)
if [ -r $image ] ; then
echo "$image is OK"
else
echo "make $image"
txt=$(printf "%s ~ %03d" $shortseq $idx)
convert $voidfile \
-font Courier-Bold \
-pointsize 110 \
-kerning -1 \
-gravity center \
-fill $TEXTCOL \
-annotate +0+0 "$txt" \
-fill $STROKOL \
-annotate +5+5 "$txt" \
$image
compte=$(( compte + 1 ))
fi
done
echo "$shortseq gen $compte picz"
+1 -1
View File
@@ -46,7 +46,7 @@ ffmpeg -nostdin \
-c:v libx264 \
-pix_fmt yuv420p \
-tune film \
$FILMNAME
vidz/$FILMNAME
}
# --------------------------------------------------------------
+109 -45
View File
@@ -7,14 +7,15 @@ source tools/config.sh
IDX=0
SPOOL="frames/Spool"
SEQNAME="none"
TMP="WS/tmp.png"
TMP="WS/lf-tmp.png"
FONTE="FreeSerif-Bold"
BSLVL=0 # bullshit level
source tools/fonctions.sh
# -------------------------------------------------------
# =======================================================
# /!\ this function just copy the
# file to the spool dir, so
# file to the spool dir, so
# you can use it for tmp pics.
#
copy_a_file ()
@@ -26,29 +27,63 @@ dstname=$(printf "%s/%05d.png" $SPOOL $IDX)
cp -f $src $dstname
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 ()
{
SRC="frames/$1"
# echo "linkfarm $SRC" | tee -a WS/log
echo "linkfarm $SRC" # XXX | tee -a WS/log
local INTER="/dev/shm/tmp-intertitre.png"
tools/plot-timing.sh $1
local NBRE=51
local NBRE=42
convert "WS/negatif.png" \
-gravity center \
-font $FONTE \
-pointsize 139 \
-kerning 8 \
-pointsize 110 \
-kerning 15 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+0 "$1" \
${INTER}
for foo in $(seq 0 $NBRE)
for foo in $(seq 0 $(( $NBRE * 2)) )
do
copy_a_file $INTER
# :
@@ -59,83 +94,107 @@ do
copy_a_file "$SRC/00000.png"
done
sleep 15
for src in "$SRC"/*
do
copy_a_file $src
done
PIC=$( printf "%s/%05d.png" $SRC $((NBFRAMES-1)) )
# echo "End pic $PIC" >> WS/log
# echo "Endpic $PIC" >> WS/log
for foo in $(seq 0 $NBRE)
do
copy_a_file "$PIC"
done
}
# -------------------------------------------------------
# =======================================================
faire_le_titre ()
{
echo "faire le titre"
local NBRE=300
local SRC="frames/hexacone/00199.png"
local NBRE=320
local SRC="frames/hexatube/00451.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)
do
Ypos=$(( -175 + foo ))
convert ${GRAY} \
-gravity north \
-gravity South \
-font $FONTE \
-pointsize 140 \
-pointsize $Psiz \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
-annotate +0+${Ypos} "La famille\nHexaCone" \
-annotate +0+${Ypos} "$txt" \
${TMP}
# identify ${TMP}
copy_a_file ${TMP}
Ypos=$(( Ypos + 2 ))
Psiz=$(( Psiz + 1 ))
printf "."
done
echo
}
# -------------------------------------------------------
# =======================================================
faire_la_fin ()
{
local NBRE=180
datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M")
local NBRE=190
datetime=$(LANG=fr date -u +"%Y/%m/%d %H:%M" | tr "01" "ol" )
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"
convert -colorspace gray -colors 90 $SRC $GRAY
convert -dither none -colorspace gray -colors 24 $SRC $GRAY
for foo in $(seq 0 $NBRE)
do
Ypos=$(( foo + 20 ))
Ypos=$(( foo + 28 ))
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 92 \
-kerning 5 \
-pointsize 90 \
-kerning 8 \
-fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+${Ypos} \
"un film de\ntTh des Bourtoulots" \
-font Courier-Bold \
-pointsize 48 \
-kerning 1 \
-strokewidth 1 \
-gravity south \
-annotate +0+110 "${datetime}" \
-annotate +0+110 "${datetime}" \
${TMP}
# identify ${TMP}
copy_a_file ${TMP}
printf "."
done
intersequence 35 "unloading"
intersequence 5 "unloaded!"
echo
}
# -------------------------------------------------------
# =======================================================
figlet "Link farmer"
@@ -145,26 +204,31 @@ faire_le_titre
linkfarm approche
linkfarm hexacone
linkfarm remote
linkfarm hexabenz
linkfarm patrouille # new St Valentine 2026
linkfarm hexawood
linkfarm escadrille
linkfarm survol
linkfarm around # new 26 jan 2026
linkfarm cutoff
linkfarm panoramic
linkfarm topview
linkfarm trident
linkfarm passage
linkfarm scene
linkfarm carto
# linkfarm escadrille
# linkfarm cutoff
# linkfarm topview
# linkfarm trident
# linkfarm scene
# linkfarm carto
# linkfarm bubblecut
# linkfarm orbite
intersequence 60 "entering danger zone..."
linkfarm circular
linkfarm bubblecut
linkfarm orbite
linkfarm escadrille
linkfarm patrouille # new St Valentine 2026
linkfarm remote
linkfarm panoramic
linkfarm hexatube
linkfarm passage
linkfarm survol
intersequence 10 "Use Futur;"
linkfarm essai
tools/plot-timing.sh
faire_la_fin
ff_encodage Spool the-hexacone-family.mp4
+2 -2
View File
@@ -10,7 +10,7 @@ for foo in $*
do
if [ -r "$foo.pov" ] ; then
tools/mkloop.sh $foo
tools/make_one_seq.sh $foo
tools/build-ega-mp4.sh $foo
tools/build-gif89a.sh $foo
else
@@ -18,7 +18,7 @@ do
sleep 30
fi
visual_sleep "next render is comming" 20
visual_sleep "next render is coming soon" 20
done
+82
View File
@@ -0,0 +1,82 @@
#!/bin/bash
set -e ; set -u
source tools/config.sh
source tools/fonctions.sh
SEQNAME="$1"
echo ; banner $SEQNAME ; sleep 15
LAST="WS/$SEQNAME.last"
if [ ! -r $LAST ]
then
echo 0 > $LAST
fi
NEXT=$(head -1 $LAST)
count=$(( ($RANDOM % 42) + 73 ))
printf "mk1seq %-10s %5d %5d\n" $SEQNAME $NEXT $count >> WS/log
DIMS="-W$Img_Width -H$Img_Height"
NBFR=" Declare=NbFrames=$NBFRAMES "
POVOPT="+q9 +A -v -d ${DIMS} ${NBFR} -WT3"
# echo $NBFR
# echo $POVOPT ; echo ; sleep 2
TMPIMG=/dev/shm/hc-${SEQNAME}-tmp.png
# echo "TMPIMG" ${TMPIMG} | tee -a WS/log # DEBUG !
for idx in $(seq 0 $count)
do
printf "%-12s : trace %3d of %d\n" $SEQNAME $idx $count
frame=$NEXT
img=$(printf "frames/%s/%05d.png" $SEQNAME $frame)
debut=$(date +%s)
set +e
povray ${POVOPT} +K${frame} \
-i${SEQNAME}.pov -o${TMPIMG} 2> WS/${SEQNAME}.stderr
err=$?
if [ $err != 0 ] ; then
echo "$SEQNAME fail $frame" >> WS/log
mogrify -colorspace gray -colors 8 -blur 7x7 $img
tail -15 WS/${SEQNAME}.stderr
visual_sleep "render fail" 60
continue
fi
set -e
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
nbf=$(printf "%4d" ${frame} | tr '01' 'ol')
# echo $frame $img $txt
convert ${TMPIMG} \
-alpha off \
-font Courier-Bold \
-pointsize 36 \
-strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \
-gravity south-west \
-kerning 9 \
-annotate +12+0 "$sqn" \
-gravity south-east \
-kerning 3 \
-annotate +12+0 "$nbf" \
${img}
fin=$(date +%s)
printf "%-12s %5d %5d\n" \
${SEQNAME} $NEXT $(( fin-debut )) | \
tee -a WS/mp4.timing
NEXT=$(( ($NEXT + 1) % $NBFRAMES ))
echo $NEXT > $LAST
done
date --utc > WS/$SEQNAME.done
ff_encodage $SEQNAME wip-${SEQNAME}.mp4
sleep 30
echo "build '$SEQNAME' done" | tee -a WS/log
-71
View File
@@ -1,71 +0,0 @@
#!/bin/bash
set -e ; set -u
source tools/config.sh
source tools/fonctions.sh
SEQNAME="$1"
START=0
if [ $# == 2 ]
then
START=$2
fi
echo "$0 $SEQNAME from $START" >> WS/log
DIMS="-W$Img_Width -H$Img_Height"
NBFR=" Declare=NbFrames=$NBFRAMES "
POVOPT="+q9 +A0.02 -d ${DIMS} ${NBFR} -WT4"
echo $NBFR "frames."
echo $POVOPT ; echo ; sleep 2
TMPIMG=/dev/shm/${SEQNAME}-tmp.png
# echo "TMPIMG" ${TMPIMG} | tee -a WS/log # DEBUG !
INC=1
for frame in $(seq $START $INC $((NBFRAMES-1)))
do
img=$(printf "frames/%s/%05d.png" $SEQNAME $frame)
debut=$(date +%s)
set +e
povray ${POVOPT} +K${frame} -i${SEQNAME}.pov -o${TMPIMG}
err=$?
if [ $err != 0 ] ; then
echo "$SEQNAME fail $frame" >> WS/log
mogrify -colorspace gray -blur 5x5 -colors 8 $img
visual_sleep "render fail" 12
continue
fi
set -e
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
txt=$(printf "%03d" ${frame} | tr '01' 'ol')
# echo $frame $img $txt
convert ${TMPIMG} \
-font Courier-Regular \
-pointsize 46 \
-kerning 4 \
-strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \
-gravity south-west \
-annotate +25+5 "$sqn" \
-gravity south-east \
-annotate +25+5 "$txt" \
${img}
fin=$(date +%s)
echo ; sleep 1
printf "%-12s %5d %5d\n" \
${SEQNAME} $frame $(( fin-debut )) | \
tee -a WS/mp4.timing
echo ; sleep 2
done
date --utc > WS/$SEQNAME.done
echo
ff_encodage $SEQNAME wip-${SEQNAME}.mp4
echo "build of '$SEQNAME' done" | tee -a WS/log
+8 -7
View File
@@ -5,7 +5,7 @@ set -ue
source tools/config.sh
TMPFILE="/dev/shm/plot-timing.tmp"
IMAGE="timing.png"
IMAGE="WS/timing.png"
if [ $# == 1 ]
then
@@ -19,7 +19,7 @@ fi
count=$( grep $sequence WS/mp4.timing | wc -l )
echo "$count samples for $sequence"
grep $sequence WS/mp4.timing | tail -3000 | awk \
grep $sequence WS/mp4.timing | tail -1700 | awk \
-v nbframes=$NBFRAMES \
' \
BEGIN { \
@@ -57,7 +57,7 @@ END { \
gnuplot << __EOC__
set term png size $Img_Width,$Img_Height
set output "timing.png"
set output "${IMAGE}"
set grid
set xrange [0:${NBFRAMES}]
set yrange [0:]
@@ -65,14 +65,15 @@ gnuplot << __EOC__
set xlabel "numéro de la trame"
set ylabel "temps en secondes"
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 \
lc "#0000ff" t "minimum", \
lc "#AA8800" t "minimum", \
"/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 \
lc "#000000" t "last"
lc "#090909" t "last"
__EOC__
# identify $IMAGE
convert -negate -level -33% $IMAGE WS/negatif.png
+1 -1
View File
@@ -29,7 +29,7 @@ object { HexaWood translate P }
object { Le_Decor }
#declare CamY = 47 - (9.70 * Cos_01(NormClock));
#declare CamY = 49 - (8.70 * Cos_01(NormClock));
#declare CamZ = 10.70 + (2*NormClock);
#declare LatY = -4 + ( 2.82 * NormClock);
+11 -11
View File
@@ -12,8 +12,8 @@
#declare Trid_cone = object
{
merge {
cone { 0, R_basecone, y*0.84, 0.0001 }
sphere { 0, R_basecone }
cone { 0, R_basecone, y*0.84, 0.0001 }
sphere { 0, R_basecone*1.11 }
}
}
@@ -23,7 +23,7 @@ difference {
object { Trid_cone translate -y*0.08 }
#local Foo = rand(Rng1);
#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 }
#else texture { GoldDark }
#end // else
@@ -33,7 +33,7 @@ difference {
// ------------------------------------------------------
#macro Trid_A_head ()
union {
#for (A, 0, 360, 120)
#for (A, 0, 359, 120)
#local E = 0.29;
#local Tx = E * sin(radians(A));
#local Tz = E * cos(radians(A));
@@ -41,8 +41,8 @@ union {
#end // for
#undef Tx
#undef Tz
torus { E*1.51, 0.012
scale <1, 3, 1> translate y*0.05
torus { E*1.52, 0.012
scale <1, 4.1, 1> translate y*0.05
texture { T_Chrome_3B } }
}
#end
@@ -52,12 +52,12 @@ union {
#local R = 0.095;
merge {
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 }
#local R = rand(Rng1);
#if ( R < 0.333) texture { T_Chrome_1C }
#elseif ( R < 0.666) texture { T_Silver_1C }
#else texture { Flashy scale 3 }
#else texture { Flashy scale 2 }
#end
}
#undef L
@@ -67,9 +67,9 @@ merge {
union {
#local E = 0.49;
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);
#if ( R < 0.86 ) texture { T_Silver_3A }
#if ( R < 0.88 ) texture { T_Silver_3A }
#else texture { T_WIP_rasta }
#end
#undef E
@@ -79,7 +79,7 @@ union {
#macro Trid_A_tail ()
union {
#for (A, 0, 359, 120)
#local RY = A + 27*rand(Rng1);
#local RY = A + 29*rand(Rng1);
object { Trid_A_ailette () rotate RY*y }
#end // for
}
+1 -1
View File
@@ -25,7 +25,7 @@ object { Le_Decor }
#else
#declare DX_cam = -4.9 * sin(CK);
#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;
#end
+6
View File
@@ -0,0 +1,6 @@
**C'est ici que nous allons (vous allez) mettre toutes les vidéos.**
+16 -16
View File
@@ -36,7 +36,7 @@ difference {
union {
#local Ra = V * R_hole * 1.02;
#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_WIP_color } translate y*(KY*2) }
torus { Ra, Rb texture { T_WIP_dents } translate y*(KY*3) }
@@ -65,11 +65,11 @@ union {
union {
#local EX = 1.9 + (0.3*cos(NormClock*5));
#local EZ = 2.0 + (0.5*sin(NormClock*2));
object { Trident_A () rotate x*87 }
object { HexaBenz () translate <-EX, 0, -EZ> }
object { HexaCone () translate < EX, -0.4, -EZ> }
object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> }
object { HexaCone () translate < EX*2, 0.3, -EZ*2> }
object { Trident_A() rotate y*(666*NormClock) rotate x*87 }
object { HexaBenz() translate <-EX, 0, -EZ> }
object { HexaCone() translate < EX, -0.4, -EZ> }
object { HexaStar rotate y*90 translate <-EX*2, 0, -EZ*2> }
object { HexaTube translate < EX*2, -0.03, -EZ*2> }
}
rotate y*90 // pour pointer vers X
}
@@ -110,16 +110,16 @@ object {
#local H2 = L2 * 0.50;
cylinder { <0, 0, 0>, <0, H2, 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
}
#local R = rand(Rng1);
#if (R < 0.27) texture { T_Brass_2C }
#elseif (R < 0.56) texture { GoldDark }
#elseif (R < 0.70) texture { T_Chrome_5A }
#else texture { T_Gold_3C }
#end
#end
}
}
#end // macro
@@ -129,7 +129,7 @@ union {
object { Corps_Wagonnet_0 (Longueur) }
#for (Foo, 0, 5)
#local DX = 0.35 - (Foo*0.24);
#local RP = -30 + (80 * rand(Rng1));
#local RP = -33 + (80 * rand(Rng1));
object { Pointe_Wagonnet_0 ()
translate <DX, 0.31, 0> rotate x*RP }
#end
@@ -159,12 +159,12 @@ sphere {
union {
#for (A, 0, 64, 1)
// please explain this formula !
#local CK = (NormClock*55.00) + (A*0.28);
#local CK = (NormClock*45.00) + (A*0.28);
object { Une_Boule ()
#local TX = 3.2 * sin(CK);
#local TY = 0.4 * cos(sin(CK));
#local TZ = 3.0 * cos(1-CK);
translate <TX, TY, TZ>
translate <TX, TY, TZ>
}
// object { Repere scale 2 }
#end // for
@@ -217,9 +217,9 @@ union {
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.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.08) translate -z*E*3 }
object { Une_Arche (0.09) translate -z*E*3 }
object { Une_Arche (0.08) translate z*E*3 }
}
#end // macro
@@ -251,7 +251,7 @@ union {
#macro Cahute_0 ()
difference {
#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")
#local KZ = KX + (0.24*rand(Rng1));
box { <-KX, 0, -KZ>, <KX, KH, KZ> }
@@ -260,7 +260,7 @@ difference {
#local KX = KX * Mult;
#local KH = KH * 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 }