Compare commits

...
39 Commits
Author SHA1 Message Date
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
Tonton Th ca2b4a8192 yoda speak ? 2026-06-09 07:23:36 +02:00
Tonton Th b7c77a6a7e add DWTFYW license 2026-06-06 10:04:45 +02:00
Tonton Th f3df71d687 nap time ? 2026-05-27 07:23:01 +02:00
Tonton Th addd793fbc try a new yellow 2026-05-22 04:28:32 +02:00
Tonton Th b5529645fd more bla 2026-05-09 13:30:54 +02:00
Tonton Th 884c19591b camera is going up 2026-05-05 04:28:37 +02:00
Tonton Th e8126637fc hexapole light tuning 2026-05-05 04:27:15 +02:00
Tonton Th 751c02321b add a glowing light to the hexapoles 2026-04-29 09:27:45 +02:00
Tonton Th 5bd0af1ad2 ajust pseudo clock 2026-04-29 08:17:12 +02:00
Tonton Th e47bd5680f hide a bad thing 2026-04-28 03:40:54 +02:00
Tonton Th fabd442cfd tuninh horloge double 2026-04-25 13:43:43 +02:00
Tonton Th 15e8b7fb7c pimping HorlogeDouble 2026-04-25 00:34:25 +02:00
Tonton Th 6fc9de92c1 add a new texture 2026-04-24 22:25:12 +02:00
Tonton Th a338717ac8 commit of a sunny trolldi 2026-04-24 10:46:23 +02:00
Tonton Th feee435a55 fix a "off-by-30" critical bug 2026-04-19 07:14:23 +02:00
Tonton Th 43f58d9ce9 Easter Egg commit (big!) 2026-04-05 00:27:54 +02:00
53 changed files with 754 additions and 413 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
+14
View File
@@ -0,0 +1,14 @@
+----------------------------------------------------------------------+
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 |
| |
| Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> |
| |
| Everyone is permitted to copy and distribute verbatim or modified |
| copies of this license document, and changing it is allowed as long |
| as the name is changed. |
| |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS |
| FOR COPYING, DISTRIBUTION AND MODIFICATION |
| |
| 0. You just DO WHAT THE FUCK YOU WANT TO. |
+----------------------------------------------------------------------+
+7 -3
View File
@@ -1,11 +1,12 @@
DIMS = -W1600 -H1200
DIMS = -W1600 -H1200
POVOPT = +q9 +A0.05 -WT2 Declare=NbFrames=450 -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$@
+15 -10
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,14 +26,17 @@ 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 80 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 :
D'un coté `./frames/<name>` pour stocker les images calculées
de chaque séquence et
./frames/Spool` pour l'assemblage de la vidéo intégrale :
D'un coté [`frames/<name>`](README.md) pour stocker les images
calculées de chaque séquence et
(`frames/Spool`) pour l'assemblage de la vidéo intégrale :
```
frames/
@@ -44,18 +48,18 @@ frames/
├── Spool
└── topview
```
et de l'autre coté `./WS/` pour ranger les
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 fait je très empiriquement). Tout d'abord, on encode
de qualité (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.
Ensuite, un autre [script](./tools/linkfarmer.sh) assemble toute
les séquences dans le produit
[final](http://maison.tth.netlib.re/v/hc/full.mp4), en ajoutant
générique et inter-titres.
[final](http://maison.tth.netlib.re/v/hc/the-hexacone-family.mp4),
en ajoutant un générique et des inter-titres.
À vous de jouer maintenant : *« Fork & Enjoy »*
@@ -63,7 +67,8 @@ générique et inter-titres.
* La [mailing-list du tetalab](https://lists.tetalab.org/postorius/lists/tetalab.tetalab.org/) ;
* Par IRC, canal `#tetalab` ou `#povray` sur le réseau de [Libera](https://libera.chat/).
* Dans [Mastodon](https://mastodon.tetaneutral.net/@tth) et [Peertube](https://tube.interhacker.space/c/tth_channel/videos)
* Dans [Mastodon](https://mastodon.tetaneutral.net/@tth) et
[Peertube](https://tube.interhacker.space/c/tth_channel/videos)
## La suite
+13 -6
View File
@@ -2,18 +2,24 @@
## Urgent
- finaliser le revamping du début de 2026.
- Finaliser le revamping du début de 2026.
- On est début mai et ça
n'est pas vraiment fini. Coté lumière ça commence à me plaire...
- ... Mais il reste beaucoup de chose à faire sur les
[textures](globals.inc).
## Outils
- automatiser la création des répertoires dans `frames/`
- Génération de sous titres automatisée.
- Automatiser la création des répertoires dans `frames/`
- Génération de sous titres automatisée ?
- Passer le `shellcheck` dans les [tools](tools/).
## Trucages
- Se remettre à (enfin) améliorer
[libtthimage](https://git.tetalab.org/tTh/libtthimage).
- Relire le livre de Brunus sur ImageMagick.
- Relire le livre de Brunus sur ImageMagick *!*
- Envisager d'utiliser les outils de film-floutage
## Audio
@@ -25,6 +31,7 @@
Il reste encore beaucoup de chemin à parcourir, mais la
route est bien plaisante.
Je me permet néamoins de déplorer le peu de présence de
Je me permet néammoins de déplorer le peu de présence de
[povistes](https://mastodon.tetaneutral.net/tags/Povray) dans
mon entourage.
mon entourage virtuel. Même la mailing-list du Tetalab
ne réagit pas... Hibernation ou volonté délibérée ?
+2 -1
View File
@@ -1,3 +1,4 @@
# Workspace
For intermediates files, and timing log.
This space is for intermediate files, fuzzy garbage, timing log,
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 = -0.5 + Cos_010(NormClock);
#declare LocX = -1.5 + (2.10*Cos_010(NormClock));
#declare LocY = 2.6 - NormClock;
#declare LocZ = -200 + (118 * NormClock);
#declare LocCam = <LocX, LocY, LocZ>;
#declare LocZ = -180 + (102 * NormClock);
#declare LatCam = <0, 0.92+NormClock, 0>;
// object { Repere scale 5 translate Interpolate(LocCam, LatCam, 0.50) }
camera {
cylinder 2
angle 42 + (32 * 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
}
// =======================================================
+16 -7
View File
@@ -6,7 +6,16 @@
*/
// ===========================================================
#declare SzC = 0.3;
// new: Mon Mar 30 05:39:38 PM UTC 2026
#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 }
texture { Ttu }
}
#end
// ===========================================================
#declare SzC = 0.333;
#macro Base_Col_A ()
merge {
box { <-SzC, 0, -SzC>, <SzC, 0.222, SzC> }
@@ -40,7 +49,7 @@ difference {
// -----------------------------------------------------------
#macro Fut_Col_A (H)
object {
cylinder { 0, H*y, 0.15 }
cylinder { 0, H*y, SzC * 0.55 }
#local R = rand(Rng1);
#if (R < 0.43)
texture { T_Stone29 }
@@ -63,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.28;
#local L = Lg + 0.82;
#local K = 0.30;
box { <-L, 0, -K>, <L, Epp, K> }
cylinder { <0, Epp, -K*0.9>, <0, Epp, K*0.9>, K }
#local R = rand(Rng1);
@@ -78,7 +87,7 @@ 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 }
@@ -98,9 +107,9 @@ union {
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) }
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, -21, -4+(6*NormClock)>
right <image_width/image_height, 0, 0>
angle 36
}
+6 -6
View File
@@ -14,12 +14,12 @@
#declare POS_Cutoff = <-21, 0, -8>;
#local TY = 1.55;
#local TY = 1.65;
#declare Position = <0.50, -0.70, 0.75>;
#declare Rayon = 0.70 + 1.52 * NormClock; // rayon de la sphere
// de découpe
#debug concat("Rayon decoupe = ", str(Rayon, 8, 3), "\n\n")
#debug concat("Rayon decoupe = ", str(Rayon, 8, 3), "\n")
difference {
object { HexaBenz () }
@@ -48,13 +48,13 @@ object { Le_Decor }
// =======================================================
#local CamX = -27.4 + (2.29*Cos_01(NormClock));
#local CamY = 2.7 - (0.24*sqrt(NormClock));
#local CamZ = -0.85 + (2.02*NormClock);
#local CamX = -27.4 + (2.39*Cos_01(NormClock));
#local CamY = 1.9 - (0.24*sqrt(NormClock));
#local CamZ = -0.85 + (2.12*NormClock);
camera {
location <CamX, CamY, CamZ>
look_at <0, 1.5, 0> + POS_Cutoff
right <image_width/image_height, 0, 0>
angle 35 - 5*Cos_01(NormClock)
angle 35 - 5.12*Cos_01(NormClock)
}
+6 -6
View File
@@ -13,26 +13,26 @@
#include "all.inc"
// ---------------------------------------------------------
object { Repere scale 20 translate y*20 }
object { Repere scale 10 translate y*20 }
// ---------------------------------------------------------
// dessiner une grille
union {
#for (Foo, -140, 140, 10)
#local H = 0.07;
#local Ra = 0.05;
#local Ra = 0.055;
cylinder { <-150, H, Foo>, <150, H, Foo>, Ra }
cylinder { <Foo, H, -150>, <Foo, H, 150>, Ra }
#end
pigment { color Black }
pigment { color Black }
}
// ---------------------------------------------------------
object { Le_Decor }
camera {
location <46, 149+(117*NormClock), 18-(12*NormClock)>
look_at <0, 1.18, 0.17 + (2.4*NormClock)>
location <46, 249+(250*NormClock), 8-(3*NormClock)>
look_at <0, 1.18, -7 + (42*NormClock)>
right <image_width/image_height, 0, 0>
angle 50
angle 25
}
+3 -3
View File
@@ -16,17 +16,17 @@ object { Le_Decor }
// =======================================================
#declare R_circ = R_circular + 0.07;
#declare R_circ = R_circular + 0.17;
#declare CK = 2.9 + (1.51 * Cos_01(NormClock));
#declare CamX = R_circ * cos(CK);
#declare CamY = 3.08 + abs(sin(CK/4.00));
#declare CamZ = R_circ * sin(CK);
#declare AV = 0.070;
#declare AV = 0.065;
#declare LatX = R_circ * 0.96 * cos(CK + AV);
#declare LatY = 2.65;
#declare LatZ = R_circ * 0.95 * sin(CK + AV);
#declare LatZ = R_circ * 0.97 * sin(CK + AV);
camera {
location <CamX, CamY, CamZ>
+53 -58
View File
@@ -7,21 +7,42 @@
/* ======================================================= */
// #debug "+++++++++++++++++++++ debut contexte\n"
/* ======================================================= */
#declare Les_Jalons = object
{
union {
#local EC = SzSol + 195;
/* les coins */
object { Jalon_0 (0.5, 18, LeGris) translate <-EC, 0, -EC> }
object { Jalon_0 (0.5, 18, LeGris) translate < EC, 0, -EC> }
object { Jalon_0 (0.5, 18, LeGris) translate <-EC, 0, EC> }
object { Jalon_0 (0.5, 18, LeGris) translate < EC, 0, EC> }
/* les milieux des cotés */
object { Jalon_0 (0.5, 6, T_Beton_1) translate < 0, 0, -EC> }
object { Jalon_0 (0.6, 6, T_Beton_1) translate < 0, 0, EC> }
object { Jalon_0 (0.9, 6, T_Beton_2) translate < EC, 0, 0> }
object { Jalon_0 (0.6, 6, T_Beton_1) translate <-EC, 0, 0> }
}
}
/* ======================================================= */
#macro Trois_Portiques (Dist)
union {
object { Portique_A () }
object { Portique_A () rotate -y*9 }
object { Portique_A () scale <1, 1.2, 1> translate z*11 }
object { Portique_A () rotate y*11 translate z*22 }
// XXX scale 1.85
object { Portique_A () rotate y*9 translate z*22 }
box { <-4.1, 0, -2>, <4.1, 0.03, 24> texture { LeGris } }
}
#end // macro trois portiques
/* ======================================================= */
/*
* essai du 12 mars 2025
*
* DÉCLARER DES POSITIONS
*/
#declare X_hexatube = 31.5;
#declare Z_hexatube = 30.6;
#declare RedB_0_X = 19; #declare RedB_0_Z = 29;
#declare RedB_1_X = -34; #declare RedB_1_Z = 11;
@@ -43,7 +64,7 @@ difference {
cylinder { 0, y*0.36, R*0.99 }
cone { y*0.37, R*0.80, y*0.425, R*0.83 }
#for (Foo, 0, 359, 10)
#if (rand(Rng1) > 0.17)
#if (rand(Rng1) > 0.19)
#local Dx = R * sin(radians(Foo));
#local Dz = R * cos(radians(Foo));
cone { 0, 0.01, y*0.41, 0.10 translate <Dx, 0, Dz> }
@@ -61,7 +82,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) }
@@ -109,7 +130,7 @@ union {
#macro Les_GyroPhares ()
union {
#local E = SzSol * 0.496;
#local E = SzSol * 0.497;
#for (Idx, 0, 359, 60)
#local Ang = radians(Idx+9.33);
#local Dx = E * sin(Ang);
@@ -128,12 +149,12 @@ union {
{
union {
#for (Ang, 0, 359, 6)
#local De = 3.6 + (0.5*rand(Rng1));
#local De = 2.6 + (0.5*rand(Rng1));
#if (rand(Rng1) < 0.50)
#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);
@@ -154,7 +175,7 @@ union {
#local Zp = R_circular * sin(Ra);
cylinder { 0, 0.33*y, 0.10
translate <Xp, 0, Zp>
texture { T_Planete_A scale 3 }
texture { T_Planete_B scale 3 }
}
#end
}
@@ -167,7 +188,7 @@ union {
#declare R2hxba = Rhxba * 0.48;
merge {
sphere { 0, Rhxba }
#local E = Rhxba * 1.260;
#local E = Rhxba * 1.240;
sphere { 0, R2hxba translate <-E, 0, 0> }
sphere { 0, R2hxba translate < E, 0, 0> }
sphere { 0, R2hxba translate < 0, -E, 0> }
@@ -184,13 +205,13 @@ union {
object { HexaBalls
texture { Lightning1 scale 0.44 }
rotate <clock/3, clock/4, clock/9>
translate <2, 0.57+Cos_010(NormClock), 4>
translate <2, 0.37+Cos_010(NormClock), 4>
}
object { HexaBalls
texture { Lightning2 scale 0.56 }
rotate <-clock, clock*0.33333, clock*3>
translate <4, 0.61+Cos_010(NormClock), -3>
translate <4, 0.21+Cos_010(NormClock), -3>
}
}
}
@@ -262,7 +283,7 @@ union {
light_source {
0
color White
fade_distance SzSol * 0.40
fade_distance SzSol * 0.47
fade_power 1.25
}
}
@@ -290,47 +311,17 @@ union {
object { Chose () translate < 20, 0, -36> }
/* a l'exterieur du 'circular' */
#for (foo, 0, 359, 18)
#local CK = radians(foo + (8*rand(Rng1)));
#local DX = 71 * sin(CK);
#local DZ = 67 * cos(CK);
object { Chose () translate < DX, 0, DZ> } // XXX
#local CK = radians(foo + (11*rand(Rng1)));
#local DX = 83 * sin(CK);
#local DZ = 79 * cos(CK);
#if (abs(DX) > 17)
object { Chose () translate < DX, 0, DZ> }
#end
#end
}
}
/* ======================================================= */
/*
* cette partie demande des explications
*/
#declare Les_Lumieres = object
{
union {
#if (1)
light_source {
<2.3, 5.50, 2.86> color Gray70
spotlight
radius 19 falloff 10 tightness 8
point_at <0, 0.95, 0.22222222>
}
#end
#if (1)
light_source {
<-8, 5.60, 18>
#if ( (clock > 290) & (clock<344) )
#local Couleur = rgb <0.20, 0.20, 0.90>;
#else
#local Couleur = rgb <0.80, 0.80, 0.70>;
#end
color Couleur
spotlight
radius 12 falloff 10 tightness 5
point_at <0, 0.95, -0.22>
}
#end
}
}
/* ======================================================= */
/*
* why a skysphere can't be an object ?
@@ -339,14 +330,14 @@ sky_sphere {
pigment {
gradient y
color_map {
[ 0.2 color Gray20 ]
[ 0.4 color rgb <.5, .45, .43> ]
[ 0.7 color Gray50 ]
[ 0.9 color rgb <.5, .5, .47> ]
[ 1.0 color Gray20 ]
[ 0.2 color Gray20 ]
[ 0.4 color srgb <.5, .45, .43> ]
[ 0.7 color Gray50 ]
[ 0.9 color srgb <.5, .5, .47> ]
[ 1.0 color Gray20 ]
}
turbulence 2.222 + 0.84 * Cos_010(NormClock)
scale 1.600
scale 1.666
// translate -1
}
#local Kem = 0.09;
@@ -362,7 +353,9 @@ sky_sphere {
union {
object { Underground }
object { Les_Bordures }
object { Les_Jalons }
#include "groundbase.inc"
object { La_GroundBase }
@@ -375,11 +368,13 @@ 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*(114*NormClock)
object { HorlogeDouble rotate y*(154*NormClock)
translate < 8, 0, -30> }
object { Les_Choses }
object { Les_Arches (1.9) rotate y*112 translate <-34, 0, -26> }
+18 -13
View File
@@ -1,17 +1,19 @@
/*
* DYNAMIC
*
* Tout ce qui bouge, en principe.
*/
// =======================================================
// rajout d'une patrouille en vol
// 2 janvier 2026
object {
#local CK = (clock / 230) - 0.75; // en radians
#local CK = (clock / 210) - 0.75; // en radians
#local RD = 63; // rayon deplacement
#local Xp = RD * sin(CK);
#local Zp = RD * cos(CK);
#declare Loc_Patrouille = <Xp+10, 70+(11*NormClock), Zp>;
#declare Loc_Patrouille = <Xp, 70+(11*NormClock), Zp+23>;
object { Patrouille }
rotate y*degrees(CK)
@@ -23,7 +25,7 @@ object {
// qui bougent sur le rail circulaire
#for (foo, 0, 5)
#local CK = (NormClock+(foo*0.0200)) * 4.05; // radians
#local CK = (NormClock+(foo*0.0200)) * 3.666; // radians
#declare Xpos = R_circular * sin(CK);
#declare Zpos = R_circular * cos(CK);
#declare AR = degrees(CK);
@@ -36,11 +38,12 @@ object {
/// =======================================================
/* des trucs autour des trous du sol. */
// Les_Machins --> 'gadgets.inc'
object { Les_Machins rotate -y*clock translate UnderHoles[2] }
object { Les_Machins rotate y*clock translate UnderHoles[5] }
// Les_Machins dans 'gadgets.inc'
// object { Les_HexaBalls rotate y*clock translate UnderHoles[2] }
// object { Les_Machins rotate -y*clock translate UnderHoles[2] }
// object { Les_Machins rotate y*clock translate UnderHoles[5] }
// object { Les_HexaBalls rotate y*(clock*2.9) translate UnderHoles[4] }
/// =======================================================
/*
@@ -61,13 +64,15 @@ 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 Krx = 27 * (sin(NormClock*1.17) * sin(NormClock*3.99));
#local Krx = 18 * (cos(NormClock*1.17) + cos(NormClock*3.99));
object { HexaCone () rotate <Krx, 1, 7> 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
@@ -77,7 +82,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)
}
@@ -127,7 +132,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));
+11 -8
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.370;
#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.33)
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.85)
object { HexaBenz () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#else
object { Un_HexaTube rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#end
#end // if position...
#end // loop idX
@@ -56,14 +59,14 @@ object { Le_Decor }
#local CamY = 0.42 + (18.36 * Cos_01(NormClock));
#local CamZ = 122 - (22.9 * Cos_01(NormClock));
#local LatX = 3 * NormClock;
#local LatX = 6 * NormClock;
#local LatY = (Y_mean / Y_count) - (0.5*NormClock);
#local LatZ = 2.22;
#local LatZ = 4.2;
// #debug concat("escadrille: Lat Y ", str(LatY, 7, 3),"\n")
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)
}
+41 -38
View File
@@ -27,7 +27,7 @@ difference {
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 }
}
#end
// =======================================================
@@ -41,23 +41,30 @@ union {
#local DZ = (E+rand(Rng1)) * cos(A);
cone {
#local RC = 0.15 + (rand(Rng1) * 0.50);
#local H2 = H + rand(Rng1);
y*(H*(0.01)), 0.15, <DX, H2, DZ>, 0.001
#local H1 = H * 0.25;
#local H2 = H + 1.0 + rand(Rng1);
<0, H1, 0>, 0.15, <DX, H2, DZ>, 0.001
#local Rv = 0.7 + (0.2*rand(Rng1));
#local Gv = 0.4 + (0.5*rand(Rng1));
#local Bv = 0.6 + (0.4*rand(Rng1));
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 }
}
}
sphere { 0, 0.45 scale <1, 0.717, 1> texture { T_WIP_color } }
#end // for
union {
#local Rb = 0.42;
sphere { 0, Rb scale <1, 0.717, 1> translate H1*y }
cylinder { 0, (0.01+H1)*y, Rb }
texture { T_WIP_color }
}
}
#end // macro
#declare Des_Anemones = object
#declare Des_Anemones = object
{
union {
object { Anemone_A (3.00-NormClock, 1.50+NormClock)
@@ -66,7 +73,7 @@ union {
translate <-4, 0, 0> }
object { Anemone_A (1.40+NormClock, 1.50*NormClock)
translate < 0, 0, -4> }
object { Anemone_A (1.40+NormClock, 1.50-NormClock)
object { Anemone_A (1.40+NormClock, 1.80-NormClock)
translate < 0, 0, 4> }
}
}
@@ -203,13 +210,13 @@ finish { phong 0.25 }
#local TZ = 2.95;
#local Kro = 32 + (NormClock * 666);
union {
object { Obj_BasicTexture texture { R_Texture }
object { Obj_BasicTexture texture { LeGris }
rotate y * (rand(Rng1)*Kro)
translate <TX, 0, -TZ> }
object { Obj_BasicTexture texture { Texture_du_Vase }
object { Obj_BasicTexture texture { Texture_du_Vase }
rotate y * (rand(Rng1)*Kro)
translate <TX, 0, 0> }
object { Obj_BasicTexture texture { B_Texture }
object { Obj_BasicTexture texture { T_GlowGreen }
rotate y * (rand(Rng1)*Kro)
translate <TX, 0, TZ> }
@@ -223,19 +230,17 @@ union {
rotate y * (rand(Rng1)*Kro)
translate <-TX, 0, -TZ> }
object { Repere scale 1.5 translate y*0.5 }
object { Repere scale 1.5 translate y*0.75 }
}
}
// =======================================================
/* 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
*/
// ------------------------------------
#macro Vase_le_corps_a ()
intersection {
box { <-5, -5, -5>, <5, 0, 5> }
@@ -245,10 +250,10 @@ intersection {
scale <1, 1.60, 1>
}
#local R = rand(Rng1);
#if (R < 0.75)
#if (R < 0.65)
texture { Texture_du_Vase rotate y*(clock*3) }
#else
texture { T_WIP_redwave scale 0.15 + 0.333*rand(Rng1)
texture { T_WIP_redwave scale 0.10 + 0.07*rand(Rng1)
rotate <75*rand(Rng1), 75*rand(Rng1), 75*rand(Rng1)>
}
#end
@@ -290,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
// ------------------------------------
@@ -319,7 +324,7 @@ union {
#else texture { tPlasticGreen }
#end // if
}
#end // for
#end // for
translate y*0.87
}
// #debug "== Fin Vase les tiges\n"
@@ -345,7 +350,7 @@ union {
object { Vase () scale 1.4 translate <-2.9, 0, 3.91> }
object { Chose () scale 2 translate < 2.9, 0, -4.07> }
object { Vase () translate <-4.5, 0, -4> }
object { Repere translate 0.15*y }
object { Repere scale 1.7 translate 0.25*y }
}
}
// =======================================================
@@ -353,19 +358,15 @@ union {
#declare GyroTrucs = object
{
union {
#for (I, 0, 359, 20)
#declare E = 12 + (3.5*rand(Rng1));
#for (I, 0, 359, 15)
#declare E = 14 + (4.2*rand(Rng1));
#declare Dx = E * sin(radians(I));
#declare Dz = E * cos(radians(I));
#local R = rand(Rng1);
#if (R > 0.76)
#if (R > 0.66)
object { GyroPhare () translate <Dx, 0, Dz> }
#elseif (R > 0.65)
object { Obj_BasicTexture
texture { T_WIP_redwave }
scale 0.75
rotate y * (5*(.5-rand(Rng1))*clock)
translate <Dx, 0, Dz> }
#elseif (R > 0.33)
object { HexaPole () translate <Dx, 0, Dz> }
#else
object { HexoFlash (0.14, 1.85 + (0.444*rand(Rng1)) )
translate <Dx, 0, Dz> }
@@ -393,9 +394,10 @@ union {
#debug " !!! ACTION !!!\n"
/* FLASHING LIGHT !!! */
#local Rv = 0.5 + (0.1*sin(clock*0.113));
#local Gv = 0.21;
#local Bv = 0.25 * abs(sin(clock*0.014));
#local Bv = 0.25 * abs(sin(clock*0.019));
light_source {
<-32, 40, -7>
colour <Rv, Gv, Bv>
@@ -405,10 +407,10 @@ union {
// ------------------------------------------------------ ##
#declare Selector = int(clock/90);
#declare Selector = int(clock/120);
#debug concat("Selector = ", str(Selector, 6, 0), "\n")
#declare AngleCam = 27 - 3*Cos_01(NormClock);
#declare AngleCam = 29 - 3*Cos_01(NormClock);
#switch (Selector)
#case (0)
@@ -424,12 +426,14 @@ union {
object { ProtoTextures }
#break
#case (3)
object { Blob_Boxed scale 3 translate y*2 }
object { Les_Boules scale 1.727 translate <0, 1, 0> }
object { Blob_Boxed scale 1.414 translate <0, 4, 0> }
// object { Repere translate y*1 }
#break
#case (4)
object { Un_Autre_Cube (0.666) rotate y*42 translate <3, 1.8, 0> }
object { Un_Autre_Cube (0.888) translate <0, 1.8, 2> }
object { Un_Autre_Cube (0.7) rotate x*clock translate <3, 1.8, 3> }
object { HorlogeDouble scale 2.12
rotate y*(214*NormClock) translate <-3, 0, -3> }
#break
#end // switch selector
@@ -441,9 +445,9 @@ plane {
// =======================================================
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
#local CamY = 0.61 + (0.9*exp(NormClock));
#local CamZ = -5.777 + (1.2*Cos_01(NormClock));
#local CamX = -2.9 + (1.9*Cos_010(NormClock));
#local CamY = 0.61 + (1.1*exp(NormClock));
#local CamZ = -5.777 + (1.3*Cos_010(NormClock));
#local K = 8.6;
#local CamX = CamX * K;
@@ -451,7 +455,6 @@ plane {
#local CamZ = CamZ * K;
camera {
orthographic
location <CamX, CamY, CamZ>
look_at <0, 1.5, 0>
+77 -16
View File
@@ -12,17 +12,17 @@ union {
#local R2 = R * 2.33;
#local LC = 1.15;
merge {
cylinder { 0, <1, 0, 0>, R }
cylinder { -0.1*x, <1, 0, 0>, R }
cone { <1, 0, 0>, R2, <LC, 0, 0>, 0 }
texture { R_Texture }
}
merge {
cylinder { 0, <0, 1, 0>, R }
cylinder { -0.1*y, <0, 1, 0>, R }
cone { <0, 1, 0>, R2, <0, LC, 0>, 0 }
texture { G_Texture }
}
merge {
cylinder { 0, <0, 0, 1>, R }
cylinder { -0.1*z, <0, 0, 1>, R }
cone { <0, 0, 1>, R2, <0, 0, LC>, 0 }
texture { B_Texture }
}
@@ -143,30 +143,33 @@ texture { T_WIP_bluewave scale 0.21 rotate <clock, clock/2, clock/3> }
#declare Horloge = object
{
#local Texte = str(NormClock, 6, 3);
#local Texte = str(NormClock, 5, 2);
#debug concat("Texte horloge ", Texte, "\n\n")
text {
// ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
texture { tPlasticBlue }
ttf "datas/dotmatrx.ttf" Texte 0.15, 0
texture { T_GlowGreen }
}
scale 1.96
scale <1.76, 1.70, 1.76>
rotate 90*x
translate <-4.5, 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.802, 0.18, 0> }
translate <0.912, 0.23, 0> }
}
#declare HorlogeDouble = object
{
union {
box { <-3.10, 0.0, -0.06>, <3.10, 1.68, 0.06>
texture { LeGris } }
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 }
}
#local EC = 0.18;
object { Horloge2 rotate y*180 translate z*EC }
object { Horloge2 translate -z*EC }
@@ -198,12 +201,70 @@ prism {
*/
}
#end // macro
// ------------------------------------------------------ ##
/* nouveau du 31 mars 2026, aux Bourtoulots
* XXX need more fine tuning !
*/
#macro HexaPole_abatjour (Quux)
union {
#local Raj = 0.333;
torus { Raj, 0.011 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> }
#end // for
torus { Raj, 0.02 translate y*Quux }
rotate y*(clock*1.86*(rand(Rng1)-0.52))
texture { Aluminum }
}
#end // macro
#macro HexaPole_ampoule (V)
sphere {
0, 0.080
texture {
pigment { color rgb <1, 1, 1> }
finish { emission 0.9 diffuse 0.6 }
}
}
#end // macro
#macro HexaPole_mat_lampe (Height)
union {
union {
cylinder { 0, y*Height, 0.061
texture { LeGris }}
#local Val = 0.09+(0.09*rand(Rng1));
object { HexaPole_abatjour (Val)
translate y*(Height+0.073) }
}
#local Pos = y*(Height+0.097);
#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>
fade_distance 3.30
fade_power 1.55
looks_like { HexaPole_ampoule (0) }
}
#else
sphere {
Pos, 0.080
texture { LeGris }
}
#end // if
}
#end // macro
// ------------------------------------------------------ ##
#macro HexaPole_tubes ()
#local R = 0.033;
#local E = 0.49;
#local H = H_cone*0.666;
#local E = 0.51;
#local H = H_cone*0.50;
union {
#for (A, 0, 359, 60)
#local Xp = E * cos(radians(A));
@@ -223,7 +284,6 @@ union {
}
#end
}
#undef E
#undef H
#undef R
@@ -238,7 +298,8 @@ union {
union {
object { Base_hexapole () scale <0.24, 0.2, 0.24> }
object { HexaPole_tubes () translate y*0.15 }
rotate y*(53*rand(Rng1))
HexaPole_mat_lampe (2.42 + rand(Rng1))
rotate y*(73*rand(Rng1))
}
#end // macro
+30 -22
View File
@@ -1,7 +1,7 @@
global_settings {
assumed_gamma 1.0
ambient_light rgb <0.48, 0.49, 0.48>
ambient_light rgb <0.28, 0.30, 0.30>
max_trace_level 15
}
@@ -11,7 +11,7 @@ global_settings {
#include "stones.inc"
#include "woods.inc"
#declare Rng1 = seed(314);
#declare Rng1 = seed(1789);
#declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2);
@@ -37,22 +37,22 @@ global_settings {
#declare H_gylampe = 0.25;
#declare H_QuadriLight = 42;
#declare E_QuadriLight = SzSol * 1.35;
#declare E_QuadriLight = SzSol * 1.79;
#declare R_circular = (SzSol * 1.60);
#declare R_hole = 3.1; // holes in the background
#declare R_hole = 3.14159; // holes in the background
/* ------------------------------------------------------------ */
/*
* 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.33 ambient 0.33 }
finish { phong 0.22 ambient 0.22 diffuse 0.22 }
}
#declare T_WIP_color = texture
@@ -64,20 +64,20 @@ finish { phong 0.23 ambient 0.30 }
#declare T_WIP_alert = texture
{
pigment { color Red }
pigment { color srgb <0.90, 0.01, 0.02> }
finish { ambient 1 specular 0.80 }
}
#declare T_Planete_A = texture
{
pigment { color rgb <0.20, 0.30, 0.10> }
pigment { srgb <0.20, 0.30, 0.10> }
normal { dents 0.28 scale 0.5}
finish { phong 0.70 reflection 0.05 }
}
#declare T_Planete_B = texture
{
pigment { rgb <0.42, 0.50, 0.70> }
normal { dents 0.18 scale 0.5}
pigment { srgb <0.42, 0.50, 0.70> }
normal { dents 0.38 scale 0.5}
finish { metallic 0.50 reflection 0.33 }
}
/* ------------------------------------------------------------ */
@@ -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
}
}
@@ -162,31 +162,39 @@ finish {
/* new: 28 octobre 2025 */
#declare Ground_Texture = texture
{
pigment { rgb <0.31, 0.33, 0.24> }
normal { dents 0.22 scale 1.666}
pigment { srgb <0.31, 0.33, 0.24> }
normal { dents 0.24 scale 1.666}
finish {
ambient 0 specular 0.3 metallic roughness 0.33
reflection { 0.21 metallic }
}
}
/* ------------------------------------------------------------ */
/* new 24 avril 2026 */
#declare T_GlowGreen = texture
{
pigment{ srgb <0.10, 1.20, 0.10>}
finish { ambient 0.91 diffuse 0.6 specular 0 }
}
/* ------------------------------------------------------------ */
/*
* Textures avec les six teintes "de base"
*/
#declare R_Texture = texture {
pigment { rgb <1.0, 0.0, 0.0> } finish { ambient 0.33 } }
pigment { srgb <1.0, 0.0, 0.0> } finish { ambient 0.33 } }
#declare G_Texture = texture {
pigment { rgb <0.0, 1.0, 0.0> } finish { ambient 0.33 } }
pigment { srgb <0.0, 1.0, 0.0> } finish { ambient 0.33 } }
#declare B_Texture = texture {
pigment { rgb <0.0, 0.0, 1.0> } finish { ambient 0.33 } }
pigment { srgb <0.0, 0.0, 1.0> } finish { ambient 0.33 } }
#declare Y_Texture = texture {
pigment { rgb <0.8, 0.8, 0.0> } finish { ambient 0.33 } }
pigment { srgb <0.8, 0.8, 0.0> } finish { ambient 0.33 } }
#declare M_Texture = texture {
pigment { rgb <0.8, 0.0, 0.8> } finish { ambient 0.33 } }
pigment { srgb <0.8, 0.0, 0.8> } finish { ambient 0.33 } }
#declare C_Texture = texture {
pigment { rgb <0.0, 0.8, 0.8> } finish { ambient 0.33 } }
pigment { srgb <0.0, 0.8, 0.8> } finish { ambient 0.33 } }
/* ------------------------------------------------------------ */
/* nouvelle texture du début du jour de l'hiver 2025 */
@@ -248,7 +256,7 @@ scale <3, 4, 3>
// le 10 fevrier 2026 -----------------
#declare T_WIP_dents = texture
{
pigment { color <0.36, 0.6, 0.79> }
pigment { srgb <0.36, 0.6, 0.79> }
normal { dents 2.94 scale 0.15 }
rotate <12, 34, 56>
finish { specular 0.40 ambient 0.59 }
@@ -258,8 +266,8 @@ finish { specular 0.40 ambient 0.59 }
#declare GoldDark = texture
{
pigment{ rgb <0.81, 0.71, 0.23> }
finish{ diffuse 0.5 ambient 0 specular 1 metallic roughness 0.01
pigment{ srgb <0.81, 0.71, 0.23> }
finish{ diffuse 0.5 ambient 0 specular 1 metallic roughness 0.02
reflection{0.6 metallic}
}
} // This is a metal.
+6 -8
View File
@@ -16,7 +16,7 @@
difference {
#local Hc = 0.90;
box { <-0.90, 0, 0>, <0.90, Hc, 0.80> }
box { <-0.89, 0.01, -1> <0.89, Hc-0.01, 0.79> }
box { <-0.87, 0.01, -1> <0.87, Hc-0.02, 0.77> }
#local Hc = Hc * 0.75;
cylinder { <-1, Hc, -0.29>, <1, Hc, 0.29>, 0.09 }
#undef Hc
@@ -46,9 +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 { T_WIP_bluewave rotate <clock, clock, clock>
scale 0.59 }
texture { LeGris }
}
}
#declare Cabane_Compteur = object
@@ -68,7 +66,7 @@ intersection {
png "datas/hf.png" smooth
translate <-.5, 0, -.5>
#local SC = SzSol * 1.111;
scale <SC, 0.95, SC>
scale <SC, 0.999, SC>
texture {
pigment {
image_map { png "datas/cuivre.png" }
@@ -95,10 +93,10 @@ union {
#local Dz = 1.0;
box { <-Dx, 0, -Dz>, <Dx, H_base, Dz> }
#local Ha = y*(H_base*3);
cylinder { 0, Ha, 0.08 translate < Dx, 0, -Dz> }
cylinder { 0, Ha, 0.08 translate <-Dx, 0, -Dz> }
#local Hb = Ha * 1.17;
cylinder { 0, Ha, 0.08 translate < Dx, 0, -Dz> }
cone { Ha, 0.08, Hb, 0.05 translate < Dx, 0, -Dz> }
cylinder { 0, Ha, 0.08 translate <-Dx, 0, -Dz> }
cone { Ha, 0.08, Hb, 0.05 translate <-Dx, 0, -Dz> }
#undef Ha
#undef Hb
@@ -122,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> }
+9 -8
View File
@@ -109,7 +109,7 @@ union {
light_source { 0,
rgb <rand(Rng2), rand(Rng2), rand(Rng2)>
fade_distance 0.96
fade_power 1.95
fade_power 1.55
}
}
rotate -z*clock*8
@@ -151,7 +151,7 @@ difference {
/* cette sphere devrait devenir
un vrai cockpit ? */
object { Forme_Cockpit
translate y*R_Tube*0.97}
translate y*R_Tube*0.975}
}
cylinder { z*4, -z*4, R_int }
}
@@ -163,17 +163,18 @@ texture { Soft_Silver scale 6.0 }
#macro Benz_Antenne ()
union {
#local RBA = 0.020;
sphere { 0, RBA scale <1, 1, 10> }
sphere { 0, RBA scale <1, 1, 14> }
union {
#local RBA2 = RBA*0.149;
#local E = 0.018;
cylinder { E*z, <0, 0.20, E>, RBA2 }
cylinder { -E*z, <0, 0.20, E>, RBA2 }
scale <1, 1, 5.555>
#local E = 0.016;
cylinder { E*z, <0, 0.20, E>, RBA2 }
cylinder { E*z, <0, 0.20, 0>, RBA2 }
cylinder { -E*z, <0, 0.20, -E>, RBA2 }
scale <1, 1.5, 5.555>
}
#if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) )
texture { tPlasticPrune }
texture { tPlasticBlue }
#else texture { tPlasticGreen }
#end
}
+3 -3
View File
@@ -13,9 +13,9 @@
object { Le_Decor }
#declare Loc_cam = <0.63, 2, 2*NormClock> + (Pos_RedB_0 * 1.32);
#declare Loc_cam = <0.63, 20, 3*NormClock> + (Pos_RedB_0 * 1.32);
#declare Lat_Y = 1.21 + 0.16*NormClock;
#declare Lat_Y = 1.21 + 0.19*NormClock;
camera {
location Loc_cam
@@ -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
@@ -50,7 +50,7 @@ union {
#local yR = (rand(Rng2)-0.5000) * kR;
#local zR = (rand(Rng2)-0.5000) * kR;
#local Value = sin( (NormClock * 26.536) +
(3.14*rand(Rng1)) );
(16.64*rand(Rng1)) );
#if (Value < 0)
#local Couleur = rgb <abs(Value), 0, 0>;
#else
@@ -133,7 +133,7 @@ texture { GoldDark scale 6.50 }
{
difference {
merge {
sphere { 0, 0.0141 scale <1, 1, 4.70>
sphere { 0, 0.0175 scale <1, 1, 4.70>
translate <0, 0.26, -0.17> }
cone { <0, -0.1, 0>, 0.114, <0, 0.26, -0.17>, 0.0096
scale <0.15, 1, 1> }
@@ -154,7 +154,7 @@ union {
// ---------------------------------------------------------
#declare DTa = 0.278;
#declare DTb = 0.030;
#declare DTb = 0.032;
// XXX #declare HexaCone_head = object
// XXX {
+3 -2
View File
@@ -16,11 +16,12 @@ object { Le_Decor }
// object { Repere scale 2 }
#declare Loc_cam = <2, 2.7-NormClock, 1> + (Pos_RedB_1 * 1.308);
#declare Loc_cam = <2, 2.7-NormClock, -1> + (Pos_RedB_1 * 1.308);
camera {
spherical
location Loc_cam
#local H = 1.16 + (NormClock*0.39);
#local H = 1.16 + (NormClock*0.44);
look_at Pos_RedB_1 + <0.02, H, 0>
right <image_width/image_height, 0, 0>
// focal_point <0.37, 0.90, 0>
+14
View File
@@ -0,0 +1,14 @@
/*********************************************************/
/* _ __ _ _ */
/* | |__ ___ __ __ __ _ / _| | | __ _ | |_ */
/* | '_ \ / _ \ \ \/ / / _` | | |_ | | / _` | | __| */
/* | | | | | __/ > < | (_| | | _| | | | (_| | | |_ */
/* |_| |_| \___| /_/\_\ \__,_| |_| |_| \__,_| \__| */
/* */
/* new of the March 28, 2026 */
/*********************************************************/
/* ======================================================= */
/* ======================================================= */
+8
View File
@@ -0,0 +1,8 @@
/*********************************************************/
/* _ __ _ _ */
/* | |__ ___ __ __ __ _ / _| | | __ _ | |_ */
/* | '_ \ / _ \ \ \/ / / _` | | |_ | | / _` | | __| */
/* | | | | | __/ > < | (_| | | _| | | | (_| | | |_ */
/* |_| |_| \___| /_/\_\ \__,_| |_| |_| \__,_| \__| */
/* */
/*********************************************************/
+3 -7
View File
@@ -41,7 +41,7 @@ union {
// les ailettes intérieures
#for (foo, 0, 5)
cylinder { 0, x*HSCR, R*0.15 rotate y*foo*60 }
cylinder { 0, x*HSCR, R*0.25 rotate y*foo*60 }
#end
// traitement final
@@ -49,8 +49,8 @@ union {
rotate z*90
#local R = rand(Rng1);
#if ( R < 0.17 ) texture { Y_Texture }
#elseif ( R < 0.66 ) texture { T_Gold_1A }
#if ( R < 0.17 ) texture { T_Gold_3C }
#elseif ( R < 0.56 ) texture { T_Gold_1A }
#else texture { Aluminum }
#end
}
@@ -72,10 +72,6 @@ union {
#end
}
#end // macro
/* ------------------------------------------------------------ */
/* nouveau XXX janvier 2026 */
// UNE ANTENNE ?
/* ============================================================ */
/* On regroupe les N*six élements */
+9 -5
View File
@@ -14,12 +14,16 @@
object { Le_Decor }
#declare CK = 2.03 - (NormClock * 2.72);
#declare DX_cam = 6.1 * cos(CK);
#declare DZ_cam = 5.2 * sin(CK);
#declare Loc_cam = <DX_cam, 1.10, DZ_cam> + Pos_RedB_3;
#declare Lat_cam = <0, 1.95, 0> + Pos_RedB_3;
#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 Loc_cam = <DX_cam, DY_cam, DZ_cam> + Pos_RedB_3;
#declare Lat_cam = <0, 1.95, -0.5 + NormClock> + Pos_RedB_3;
camera {
omnimax
location Loc_cam
look_at Lat_cam
right <image_width/image_height, 0, 0>
+90
View File
@@ -0,0 +1,90 @@
/*
*/
#local Rtube = R_basecone * 1.60;
#local Stube = 0.80;
#declare Etube = 0.04;
#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 18 }
}
}
#local HT_tube_int = object
{
merge {
#local S2 = Stube + 0.23;
#local R2 = Rtube * 0.23;
sphere { 0, R2 scale <3.57, 1, 1> translate <-S2, 0, 0> }
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
sphere { 0, R2 scale <3.57, 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 }
}
/* MUST BE A MACRO !!! */
#declare HexaTube = object
{
union {
object { HexaTube_shape_0 }
object { HexaTube_interieur }
}
rotate <15, 0, -18+(42*NormClock)>
}
/* =============================================================== */
#declare HexaTube_base = object
{
#local H_bt = 1.00;
difference {
cylinder { 0, y*H_bt, 2.60 }
#for (Foo, 0, 359, 30)
#local Px = 2.40 * sin(radians(Foo));
#local Pz = 2.40 * cos(radians(Foo));
merge {
cylinder { -y, y*10, 0.42 translate <Px, 0, Pz> }
torus { 0.42, 0.14 translate <Px, H_bt*1.05, Pz> }
}
#end
cylinder { 0, y, 0.75 }
}
texture { LeGris scale 5 }
}
/* =============================================================== */
#declare Un_HexaTube = object
{
union {
object { HexaTube rotate y*clock translate y*2.65 }
object { HexaTube_base }
}
}
+25
View File
@@ -0,0 +1,25 @@
/*
* 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 }
// =======================================================
#declare Loc_cam = <18+(11*NormClock), 4.7, 42+NormClock>;
camera {
location Loc_cam
#local H = 1.16 - (NormClock*0.74);
look_at <X_hexatube, 1+H, Z_hexatube>
right <image_width/image_height, 0, 0>
angle 59 - 25 * Cos_010(NormClock)
}
+7 -7
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 }
@@ -31,7 +31,7 @@ union {
#if ( rand(Rng1) < 0.5 )
texture { T_Wood32 rotate 37 scale 1.30 }
#else
texture { T_Wood23 rotate x*87 scale 1.33 }
texture { T_Wood23 rotate x*87 scale 1.13 }
#end
// rotate -z*foo
translate <Tx, Hc_ep - 0.22, Tz>
@@ -68,7 +68,7 @@ difference {
cylinder { -y, y, 0.07 translate <Tx, 0, Tz> }
#end
#local R = rand(Rng1);
#if (R<0.20)
#if (R<0.30)
texture { T_Wood17 rotate <10, 20, 30> scale 0.82 }
#else
texture { T_Wood15 rotate <17, 28, 39> scale 1.42 }
@@ -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
}
+3 -2
View File
@@ -17,14 +17,15 @@ object { Le_Decor }
// object { Repere translate <10, 1, 10> }
#declare LOC = <-3.4 - NormClock, 4.57, 31.9-NormClock>;
#declare LOC = <-3.7, 5.84+NormClock, 34-(4*NormClock)>;
#declare LAT = <P_hexawood.x, 0.95+(NormClock*0.11), P_hexawood.z>;
camera {
spherical
angle 20 + 2.87*NormClock
location LOC
look_at LAT
right <image_width/image_height, 0, 0>
angle 20 + 2.87*NormClock
}
+5 -4
View File
@@ -51,7 +51,7 @@ union {
}
// =======================================================
#local RO = 5.39;
#local RO = 5.43;
#local CK = NormClock * 13.37;
#declare PosX = RO * sin(CK);
@@ -60,6 +60,7 @@ union {
object { HexaBenz ()
rotate -y*CK*82.3 translate <PosX, PosY, PosZ>
}
#declare PosX = RO * sin(CK+2.12);
#declare PosY = 0;
#declare PosZ = RO * cos(CK+2.23);
@@ -71,7 +72,7 @@ object { HexaCone ()
#declare PosY = 0;
#declare PosZ = RO * cos(CK+3.23);
object { Trident_A ()
rotate <clock*1.3, 0, clock*0.7>
rotate <clock*0.3, 0, clock*0.9>
rotate y*CK*99.22 translate <PosX, PosY, PosZ>
}
@@ -87,7 +88,7 @@ light_source { <23, 10, 15>, rgb <0.77, 0.79, 0.80> }
// -------------------------------------------------------------
camera {
location <9+NormClock, 1.60+(11*NormClock), 11.59>
location <9+NormClock, -2.60+(24*NormClock), 11.59>
look_at <0.0, 0.0, 0>
right <image_width/image_height, 0, 0>
#if (0)
@@ -95,6 +96,6 @@ camera {
aperture 0.046
blur_samples 30
#end
angle 61 - (5*NormClock)
angle 61 - (7*NormClock)
}
+3 -3
View File
@@ -16,7 +16,7 @@ object { Le_Decor }
// =======================================================
#declare CK = 1.97 + (2.72 * Cos_01(NormClock));
#declare CK = 1.97 + (2.42 * Cos_01(NormClock));
#declare CamX = 1.72;
#declare CamY = 7 + (4*Cos_01(NormClock));
@@ -28,9 +28,9 @@ object { Le_Decor }
// 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 * 10)
}
+6 -6
View File
@@ -11,7 +11,7 @@
#include "all.inc"
#declare PosX = 3.95;
#declare PosY = 3.80 + (NormClock*0.299);
#declare PosY = 3.60 + (NormClock*0.299);
#declare PosZ = (NormClock-0.5) * 45.27;
object { HexaCone () translate <PosX, PosY, PosZ> }
@@ -23,22 +23,22 @@ object { HexaStar rotate y*90 translate <PosX-1.96, PosY+2.72, PosZ-17.5> }
object { Le_Decor }
#if ( (clock < 181) )
#if ( (clock < 161) )
light_source {
<3, 0.30, -8> color Blue
spotlight
radius .044
radius .0666
falloff 2
tightness 3
point_at <PosX, PosY, PosZ>
}
#end
#if ( (clock > 230) & (clock < 340) )
#if ( (clock > 230) & (clock < 440) )
light_source {
<2, 0.30, -2> color Green
spotlight
radius .044
radius .0666
falloff 2
tightness 3
point_at <PosX, PosY-0.10, PosZ>
@@ -52,6 +52,6 @@ camera {
// focal_point <0, 1, 0>
// aperture 0.046
// blur_samples 30
angle 32
angle 21
}
+3 -9
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 - 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
@@ -18,21 +18,15 @@ object { Le_Decor }
/* =============================================================== */
#declare CamX = 90 - (4 * NormClock);
#declare CamY = 176;
#declare CamY = 188;
#declare CamZ = 170 - (33 * NormClock);
/* XXX to be verified !
#declare LatX = Loc_Patrouille.x;
#declare LatY = Loc_Patrouille.y;
#declare LatZ = Loc_Patrouille.z;
*/
camera {
location <CamX, CamY, CamZ>
look_at Loc_Patrouille
right <image_width/image_height, 0, 0>
angle 13
angle 8 - (3*NormClock)
}
/* =============================================================== */
+2 -1
View File
@@ -40,11 +40,12 @@ object { Le_Decor }
#declare CamZ = DistCam * cos(CK);
camera {
cylinder 1
location <CamX, CamY, CamZ>
look_at <0, 0.35, 0>
right <image_width/image_height, 0, 0>
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 5.1
angle 3.1
}
+3 -2
View File
@@ -21,12 +21,13 @@ object { Le_Decor }
#declare CamX = Dcam * cos(radians(CK+0.9));
#declare CamZ = Dcam * 1.20 * sin(radians(CK));
#declare LatY = 2.45 + (1.47 * Cos_010(NormClock));
#declare LatY = 2.20 + (1.21 * Cos_010(NormClock));
camera {
location <CamX, 1.97, CamZ>
location <CamX, 2.10, CamZ>
look_at <0.03, LatY, 0.17>
right <image_width/image_height, 0, 0>
normal { bumps 0.95 scale 3 }
// focal_point Lat
// aperture 0.046
// blur_samples 30
+4 -4
View File
@@ -15,12 +15,12 @@ object { Le_Decor }
// XXX instrumenter la caméra serait un GROS plus !!!
// =======================================================
#declare Debut = <-33, 92, 289> ;
#declare Fin = < 36, 83, -2> ;
#declare Pos = sqrt(NormClock);
#declare Debut = <-33, 92, 296> ;
#declare Fin = < 36, 83, -4> ;
#declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos);
#declare LatX = 0.614 * sin(NormClock*13.37);
#declare LatX = 1.664 * sin(NormClock*13.37);
#declare LatZ = -(150 + (7*NormClock));
#declare LatCam = PosCam + <LatX, -95, LatZ>;
+6 -7
View File
@@ -6,18 +6,18 @@ The page for « Build system and utilities ».
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. Exemples :
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
Make_one seq 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
graphiques aussi jolis qu'inutiles.
@@ -27,7 +27,7 @@ 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 ?
en projet pour juin 2027 ?
## Encoding
@@ -48,7 +48,6 @@ intertitres.
```
$ 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.
+5 -3
View File
@@ -1,10 +1,12 @@
# size of the video
Img_Width=1024
Img_Width=1152
Img_Height=720
# for imagemagick
TEXTCOL="Yellow"
TEXTCOL="Yellow3"
STROKOL="Green"
NBFRAMES=450
NBFRAMES=600
+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
}
# --------------------------------------------------------------
+23 -22
View File
@@ -14,7 +14,7 @@ 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 ()
@@ -31,12 +31,12 @@ IDX=$(( IDX + 1 ))
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=78
local NBRE=51
convert "WS/negatif.png" \
-gravity center \
@@ -44,7 +44,7 @@ convert "WS/negatif.png" \
-pointsize 139 \
-kerning 8 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+0 "$1" \
${INTER}
@@ -86,10 +86,10 @@ for foo in $(seq 0 $NBRE)
do
Ypos=$(( -175 + foo ))
convert ${GRAY} \
-gravity north \
-gravity South \
-font $FONTE \
-pointsize 140 \
-kerning 6 \
-pointsize 144 \
-kerning 5 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
-annotate +0+${Ypos} "La famille\nHexaCone" \
@@ -109,7 +109,7 @@ echo " $datetime" | tee -a WS/log
local SRC="frames/patrouille/00165.png"
local GRAY="/dev/shm/tmp-fin.png"
convert -colorspace gray -colors 90 $SRC $GRAY
convert -dither none -colorspace gray -colors 60 $SRC $GRAY
for foo in $(seq 0 $NBRE)
do
@@ -145,26 +145,27 @@ faire_le_titre
linkfarm approche
linkfarm hexacone
linkfarm remote
linkfarm hexabenz
# linkfarm remote
# linkfarm hexabenz
linkfarm patrouille # new St Valentine 2026
linkfarm hexawood
linkfarm escadrille
linkfarm survol
linkfarm hexatube
# linkfarm survol
linkfarm around # new 26 jan 2026
linkfarm cutoff
linkfarm panoramic
linkfarm topview
linkfarm trident
linkfarm passage
linkfarm scene
linkfarm carto
linkfarm circular
linkfarm bubblecut
linkfarm orbite
# linkfarm cutoff
# linkfarm panoramic
# linkfarm topview
# linkfarm trident
# linkfarm passage
# linkfarm scene
# linkfarm carto
# linkfarm circular
# linkfarm bubblecut
# linkfarm orbite
linkfarm essai
tools/plot-timing.sh
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
+81
View File
@@ -0,0 +1,81 @@
#!/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 % 51) + 80 ))
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 -blur 7x7 -colors 8 $img
tail WS/${SEQNAME}.stderr
visual_sleep "render fail" 60
continue
fi
set -e
sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
txt=$(printf "%4d" ${frame} | tr '01' 'Ol')
# echo $frame $img $txt
convert ${TMPIMG} \
-font Courier-Bold \
-pointsize 58 \
-kerning 8 \
-strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \
-gravity south-west \
-annotate +25+5 "$sqn" \
-gravity south-east \
-annotate +25+5 "$txt" \
${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
echo
sleep 10
ff_encodage $SEQNAME wip-${SEQNAME}.mp4
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-Bold \
-pointsize 48 \
-kerning 4 \
-strokewidth 1 \
-fill ${STROKOL} -stroke ${TEXTCOL} \
-gravity south-west \
-annotate +25+5 "$txt" \
-gravity south-east \
-annotate +25+5 "$sqn" \
${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
+2 -2
View File
@@ -19,7 +19,7 @@ fi
count=$( grep $sequence WS/mp4.timing | wc -l )
echo "$count samples for $sequence"
grep $sequence WS/mp4.timing | tail -4000 | awk \
grep $sequence WS/mp4.timing | tail -3000 | awk \
-v nbframes=$NBFRAMES \
' \
BEGIN { \
@@ -59,7 +59,7 @@ gnuplot << __EOC__
set term png size $Img_Width,$Img_Height
set output "timing.png"
set grid
set xrange [:450]
set xrange [0:${NBFRAMES}]
set yrange [0:]
set title "Séquence '${sequence}'"
set xlabel "numéro de la trame"
+8 -4
View File
@@ -29,12 +29,16 @@ object { HexaWood translate P }
object { Le_Decor }
#declare CamY = 47 - (9.50 * Cos_01(NormClock));
#declare LatY = -4 + ( 2.12 * NormClock);
#declare CamY = 49 - (8.70 * Cos_01(NormClock));
#declare CamZ = 10.70 + (2*NormClock);
#declare LatY = -4 + ( 2.82 * NormClock);
camera {
location <-3.60, CamY, 10.09>
look_at <0.6, LatY, 0>
spherical // XXX !
normal { bumps 0.85 scale 0.50 } // XXX !
location <-4.60, CamY, CamZ>
look_at <0, LatY, 0>
right <image_width/image_height, 0, 0>
// focal_point <2, 1, 12>
// aperture 0.046
+3 -3
View File
@@ -12,7 +12,7 @@
#declare Trid_cone = object
{
merge {
cone { 0, R_basecone, y*0.89, 0.0001 }
cone { 0, R_basecone, y*0.84, 0.0001 }
sphere { 0, R_basecone }
}
}
@@ -20,7 +20,7 @@ merge {
#macro Trid_A_cone ()
difference {
object { Trid_cone }
object { Trid_cone translate -y*0.06 }
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 }
@@ -57,7 +57,7 @@ merge {
#local R = rand(Rng1);
#if ( R < 0.333) texture { T_Chrome_1C }
#elseif ( R < 0.666) texture { T_Silver_1C }
#else texture { T_WIP_rasta scale 3 }
#else texture { Flashy scale 3 }
#end
}
#undef L
+3
View File
@@ -0,0 +1,3 @@
C'est ici que nous allons mettre toutes les vidéos.
+20 -18
View File
@@ -63,13 +63,13 @@ union {
#declare Patrouille = object
{
union {
#local EX = 1.9;
#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 { 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 { HexaTube translate < EX*2, 0.3, -EZ*2> }
}
rotate y*90 // pour pointer vers X
}
@@ -81,11 +81,11 @@ merge {
sphere { 0, 0.06 }
#local R = rand(Rng1);
#if (R < 0.25)
texture { T_Chrome_3A }
texture { R_Texture }
#elseif (R < 0.50)
texture { T_Chrome_2B }
texture { Y_Texture }
#elseif (R < 0.75)
texture { T_Chrome_3C }
texture { G_Texture }
#else
texture { T_Chrome_3D }
#end // IF
@@ -112,14 +112,14 @@ object {
sphere { <0, 0, 0>, R/4
scale <1, 0.5, 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 + (60 * rand(Rng1));
#local RP = -30 + (80 * rand(Rng1));
object { Pointe_Wagonnet_0 ()
translate <DX, 0.31, 0> rotate x*RP }
#end
@@ -140,13 +140,14 @@ union {
/* nouveau du 7 octobre 2025 */
#macro Une_Boule ()
sphere {
0, 0.18 + (rand(Rng1) * 0.06)
0, 0.15 + (rand(Rng1) * 0.05)
scale <1, 1+(rand(Rng1) * 0.15), 1>
#local R = rand(Rng1);
#if (R < 0.333) texture { C_Texture }
#elseif (R < 0.666) texture { M_Texture }
#else texture { Y_Texture }
#end
finish { phong 0.7 specular 0.3 }
finish { phong 0.7 specular 0.5 }
}
#end // macro
@@ -157,14 +158,15 @@ sphere {
{
union {
#for (A, 0, 64, 1)
// please explain this formula !
#local CK = (NormClock*55.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 }
// object { Repere scale 2 }
#end // for
}
}
@@ -264,10 +266,10 @@ difference {
#local R = rand(Rng1);
// #debug concat("Random = ", str(R, 6, 4), "\n")
#if ( R < 0.23 ) texture { T_Planete_B }
#if ( R < 0.27 ) texture { T_Planete_B }
#elseif ( R < 0.56 ) texture { T_Beton_1 }
#else texture { T_Beton_2 }
#end // if
#else texture { T_Planete_A }
#end // if R
rotate y * (207 * rand(Rng1))
}