a lot of patches

This commit is contained in:
Tonton Th 2026-01-14 14:01:20 +01:00
parent 83c8ce3f79
commit 0c4aa1a31c
16 changed files with 96 additions and 70 deletions

View File

@ -24,7 +24,7 @@
// ---------------------------------------------------------
object { Repere scale 10 translate y*10 }
object { Repere scale 20 translate y*20 }
object { Le_Decor }
camera {

View File

@ -218,9 +218,9 @@ blob {
#declare UnderHoles = array[6]
#for (Idx, 0, 5)
#local Angle = (Idx + 0.19) * 1.090;
#local Px = sin(Angle) * (SzSol * 0.97);
#local Pz = cos(Angle) * (SzSol * 1.04);
#local Angle = (Idx + 0.19) * 1.09; // magic numbers ?
#local Px = sin(Angle) * (SzSol * 0.98);
#local Pz = cos(Angle) * (SzSol * 1.02);
#declare UnderHoles[Idx] = <Px, 0, Pz>;
#end
@ -229,7 +229,7 @@ blob {
difference {
// plane { y, 0 }
#local Big = 300;
box { <-Big, -0.19, -Big>, < Big, 0.0000, Big> }
box { <-Big, -0.21, -Big>, < Big, 0.0000, Big> }
#undef Big
#for (Foo, 0, 5)
cylinder { -y*5, y*5, 3.1 translate UnderHoles[Foo] }
@ -337,9 +337,9 @@ sky_sphere {
gradient y
color_map {
[ 0.2 color Gray20 ]
[ 0.4 color rgb <.5, .45, .4> ]
[ 0.4 color rgb <.5, .45, .43> ]
[ 0.7 color Gray50 ]
[ 0.9 color rgb <.5, .5, .45> ]
[ 0.9 color rgb <.5, .5, .47> ]
[ 1.0 color Gray20 ]
}
turbulence 3.14159 + 0.84 * Cos_010(NormClock)
@ -381,7 +381,7 @@ union {
object { Les_Cahutes () translate <2, 0, -40> }
/* les trucs dans le Y négatif */
/* --------- les trucs dans le Y négatif */
object { Trois_Arches (1.4) scale 2.7 translate <0, 0, -131> }
object { OpenBox(1.5, 0.06) translate <-19, 1.49, -88> }
@ -391,6 +391,11 @@ union {
#for (Foo, 0, 5)
object { Les_Cahutes () translate <29, 0, -(77+Foo*11)> }
#end // for
/* --------- les trucs dans le Y positif */
object { OpenBox(1.6, 0.11) translate <0, 2.58, 112> }
object { OpenBox(1.6, 0.11) rotate y*45 translate <0, 4.7, 166> }
}
}
/* ------------------------------------------------------------ */

View File

@ -11,18 +11,9 @@
#local Zp = RD * cos(CK);
object {
#local L2 = 10;
#if (0)
union {
cylinder { <-L2, 0, 0>, <L2, 0, 0>, 0.4 }
cylinder { -y*3, y*3, 0.4 }
texture { Y_Texture }
}
#else object { Patrouille rotate 90*y }
#end
object { Patrouille rotate 90*y }
rotate y*degrees(CK)
translate <Xp, 46, Zp>
translate <Xp, 67+(8*NormClock), Zp>
translate <-30, 0, 0>
}
@ -32,7 +23,7 @@ object {
// qui bougent sur le rail circulaire
#for (foo, 0, 5)
#local CK = (NormClock+(foo*0.0204)) * 4.02; // radians
#local CK = (NormClock+(foo*0.0200)) * 4.02; // radians
#declare Xpos = R_circular * sin(CK);
#declare Zpos = R_circular * cos(CK);
#declare AR = degrees(CK);
@ -117,7 +108,7 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
// #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
// Ry, " ", Tr, "\n")
object { Trident_A () rotate y*Ry
translate y+( (5*rand(Rng1)) - 2.5)
translate y+( (10*rand(Rng1)) - 5)
translate Tr }
#end
// #fclose Trid

View File

@ -19,9 +19,9 @@
#for (idX, -3, 3)
#for (idZ, -3, 3)
#local posX = (idX * 4.72) + (rand(Rng1)-0.5);
#local posX = (idX * 4.76) + (rand(Rng1)-0.5);
#local posY = 3.2 + (NormClock * 12 * (rand(Rng1)+0.75));
#local posZ = (idZ * 4.39) ;
#local posZ = (idZ * 4.44) ;
#local Rx = (rand(Rng1) - 0.5) * 12;
#local Ry = (rand(Rng1) - 0.5) * (24+NormClock);
#local Rz = (rand(Rng1) - 0.5) * 11;
@ -59,7 +59,7 @@ object { Le_Decor }
#local CamZ = 122 - (21.9 * Cos_01(NormClock));
#local LatY = (Y_mean / Y_count) - (0.5*NormClock);
#debug concat("Lat Y ", str(LatY, 7, 3),"\n")
#debug concat("escadrille: Lat Y ", str(LatY, 7, 3),"\n")
camera {
location <CamX, CamY, CamZ>

View File

@ -10,24 +10,30 @@
#include "all.inc"
// =======================================================
#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 }
}
// =======================================================
// nouveau du 3 janvier 2026
#local Horloge2 = object
{
object { Horloge scale <1, 0.20, 1> rotate -x*90
translate x*0.58 }
object { Horloge scale <1, 0.24, 1> rotate -x*90
translate x*0.45 }
}
#declare HorlogeDouble = object
{
union {
box { <-3.20, -0.03, -0.07>, <3.20, 1.61, 0.07>
pigment { color Gray70 } }
box { <-3.20, -0.08, -0.07>, <3.20, 1.61, 0.07>
texture { LeGris } }
#local EC = 0.22;
object { Horloge2 rotate y*180 translate z*EC }
object { Horloge2 translate -z*EC }
}
scale 0.8
translate y*2.5
translate y*2.35
}
// =======================================================
@ -39,9 +45,9 @@ union {
#local Hcs = 0.550;
#local Rco = R_basecone * 3.333;
#for (Foo, 0, 5)
#local Dx = 0.333 * sin(Foo);
#local Dx = 0.385 * sin(Foo+NormClock);
#local Dy = Foo * (Hcs + 0.0333);
#local Dz = 0.333 * cos(Foo);
#local Dz = 0.385 * cos(Foo+NormClock);
union {
cone { 0, Rco, <0, Hcs, 0>, 0.001
#if (rand(Rng1) < 0.50) texture { Y_Texture }
@ -116,15 +122,15 @@ union {
#declare Obj_BasicTexture = object
{
#local R = 0.385;
#local H = 1.71;
#local H = 1.51;
merge {
cylinder { 0, y*H, R }
sphere { 0, R scale <1, 0.50, 1> translate y*H }
difference {
#local R1 = R+0.46;
#local R2 = R+0.63;
box { <-0.19, 0, -0.17>, <R+0.4, H*0.42, R+0.6> }
cylinder { <R1, -1, R2>, <R1, 1, R2>, 0.27 }
box { <-0.19, 0, -0.17>, <R+0.4, H*0.48, R+0.6> }
cylinder { <R1, -1, R2>, <R1, 1, R2>, 0.33 }
}
}
}
@ -227,7 +233,7 @@ union {
object { Chose () translate < 2.9, 0, -4.07> }
object { Chose () translate <-3.1, 0, -(3+NormClock)> }
object { Chose () translate <-4.5, 0, -4> }
object { Repere scale 2 translate 0.05*y }
object { Repere translate 0.05*y }
}
}
// =======================================================
@ -247,6 +253,26 @@ union {
object { Gyros }
// ========================================================##
#local Fleche = object
{
union {
cylinder { -5*x, 5*x, 0.09 }
cone { 5*x, 0.27, 6.66*x, 0.00007 }
}
texture { LeGris }
}
// ------------------------------------------------------ ##
#declare La_Patrouille = object
{
union {
object { Patrouille }
object { Fleche translate y }
}
}
// ------------------------------------------------------ ##
#debug " !!! ACTION !!!\n"
@ -270,7 +296,7 @@ object { Gyros }
object { Des_Choses }
#break
#case (1)
object { Patrouille rotate -y*(clock*0.666)
object { La_Patrouille rotate -y*(clock*0.666)
translate y*2.5 }
#local AngleCam = 31.0;
#break
@ -279,7 +305,7 @@ object { Gyros }
#break
#case (3)
object { HorlogeDouble rotate -y*(5*clock) }
object { Repere translate y*1 }
// object { Repere translate y*1 }
#break
#case (4)
object { Trident_A()
@ -291,7 +317,7 @@ object { Gyros }
object { Les_Boules translate y*0.8 }
#break
#case (6)
object { HexaStar translate y*3 }
object { HexaStar scale 3 translate y*3 }
#break
#case (7)
#local Pos = <0.5-NormClock, 0, 0>;

View File

@ -11,7 +11,7 @@ global_settings {
#include "stones.inc"
#include "woods.inc"
#declare Rng1 = seed(2026);
#declare Rng1 = seed(1121);
#declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2);
@ -156,7 +156,7 @@ pigment { rgb <0.31, 0.33, 0.24> }
normal { dents 0.22 scale 1.666}
finish {
ambient 0 specular 0.3 metallic roughness 0.33
reflection { 0.23 metallic }
reflection { 0.21 metallic }
}
}

View File

@ -169,11 +169,12 @@ union {
#local E = 0.018;
cylinder { E*z, <0, 0.20, E>, RBA2 }
cylinder { -E*z, <0, 0.20, E>, RBA2 }
scale <1, 1, 5>
scale <1, 1, 5.555>
}
#if ( mod(clock, 20) < (20*rand(Rng1)) ) texture { T_WIP_color }
#else texture { R_Texture }
#if ( mod(clock, 10+3*rand(Rng1)) < (10*rand(Rng1)) )
texture { tPlasticPrune }
#else texture { tPlasticGreen }
#end
}
#end

View File

@ -13,9 +13,7 @@
object { Le_Decor }
// object { Repere scale 2 }
#declare Loc_cam = <0, 2, 2*NormClock> + (Pos_RedB_0 * 1.32);
#declare Loc_cam = <0.63, 2, 2*NormClock> + (Pos_RedB_0 * 1.32);
camera {
location Loc_cam

View File

@ -19,7 +19,8 @@ union {
cone { < 1.34, 0, 0>, Small, < 0.6, 0, 0>, R_a }
sphere { 0, R_a scale <0.3, 1, 1> translate < 0.6, 0, 0> }
#local R = rand(Rng1);
#if ( R < 0.50 ) texture { GoldDark }
#if ( R < 0.45 ) texture { GoldDark }
#elseif ( R < 0.60 ) texture { Aluminum }
#else texture { T_Gold_3C }
#end
}
@ -31,11 +32,11 @@ union {
#declare HS_element_central = object
{
union {
torus { HS_radius*0.93, 0.0180 }
torus { HS_radius*0.73, 0.0180 }
#local L = 0.0035;
cylinder { -y*L, y*L, 0.057 }
sphere { 0, 0.057 translate -y*L }
sphere { 0, 0.057 translate y*L }
cylinder { -y*L, y*L, 0.059 }
sphere { 0, 0.059 translate -y*L }
sphere { 0, 0.059 translate y*L }
}
scale <1, 25.90, 1>
rotate z*90

View File

@ -16,9 +16,9 @@ object { Le_Decor }
// =======================================================
#declare CK = 1.3 + (2.79 * Cos_01(NormClock));
#declare CK = 1.8 + (2.72 * Cos_01(NormClock));
#declare CamX = 1.22;
#declare CamX = 1.72;
#declare CamY = 7 + (4*Cos_01(NormClock));
#declare LatX = 20 * cos(CK*1.08);
@ -31,5 +31,5 @@ camera {
location <CamX, CamY, 0>
look_at <LatX, LatY, LatZ>
right <image_width/image_height, 0, 0>
angle 71 + (NormClock * 10)
angle 65 + (NormClock * 15)
}

View File

@ -18,7 +18,7 @@ object { HexaCone () translate <PosX, PosY, PosZ> }
/* XXX this two object in dynamic.inc ??? */
object { HexaCone () translate <PosX+2.96, PosY+3.22, PosZ-19.5> }
object { HexaBenz () translate <PosX-1.96, PosY+2.82, PosZ-17.5> }
object { HexaStar rotate y*90 translate <PosX-1.96, PosY+2.72, PosZ-17.5> }
object { Le_Decor }
@ -41,7 +41,7 @@ light_source {
radius .044
falloff 2
tightness 3
point_at <PosX, PosY-0.20, PosZ>
point_at <PosX, PosY-0.10, PosZ>
}
#end

View File

@ -12,11 +12,11 @@
object { Le_Decor }
// XXX instrumenter la caméra serait un GROS plus !!!
// =======================================================
#declare Debut = <-3, 89, 188> ;
#declare Fin = < 2, 91, -25> ;
#declare Debut = <-4, 89, 284> ;
#declare Fin = < 5, 91, -6> ;
#declare Pos = sqrt(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos);
@ -24,12 +24,12 @@ object { Le_Decor }
#declare LatZ = -(150 + (7*NormClock));
#declare LatCam = PosCam + <LatX, -95, LatZ>;
// object { Repere scale 40 translate LatCam + y*5 }
// object { Repere scale 20 translate LatCam + y*5 }
camera {
location PosCam
look_at LatCam
right <image_width/image_height, 0, 0>
angle 72
angle 66
}

View File

@ -3,6 +3,9 @@
source tools/config.sh
source tools/fonctions.sh
echo "MKSEX ( $* )" | tee -a WS/log
sleep 1
for foo in $*
do
@ -12,10 +15,10 @@ do
tools/build-gif89a.sh $foo
else
echo "+++ Beurking on $foo" | tee -a WS/log
sleep 10
sleep 30
fi
visual_sleep "next render is comming" 30
visual_sleep "next render is comming" 20
done

View File

@ -26,7 +26,7 @@ object { HexaBenz () translate <-9+NormClock, 2, -6> }
/*
* nouveau 11 fevrier 2025
*/
#declare A = <-21, -0.9, (SzSol/2)+9>;
#declare A = <-24, -0.9, (SzSol/2)+9>;
#declare B = < 33, -0.7, (SzSol/2)+7>;
#declare P = Interpolate(A, B, NormClock);
object { HexaWood translate P }
@ -35,7 +35,7 @@ object { HexaWood translate P }
object { Le_Decor }
#declare CamY = 36 - (21.36 * Cos_01(NormClock));
#declare CamY = 36 - (10.05 * Cos_01(NormClock));
#declare LatY = -4 + ( 2.12 * NormClock);
camera {
@ -45,5 +45,5 @@ camera {
// focal_point <2, 1, 12>
// aperture 0.046
// blur_samples 30
angle 45 + (52*NormClock)
angle 45 + (58*NormClock)
}

View File

@ -85,7 +85,7 @@ union {
union {
object { Trid_A_head () translate y*0.83 }
object { Trid_A_body () }
object { Trid_A_tail () translate -y*0.6 }
object { Trid_A_tail () translate -y*0.60 }
// object { Repere translate <0.1, 0, 0.1> }
}
#end

View File

@ -15,10 +15,11 @@ union {
#local EZ = 2.3;
object { Trident_A () rotate x*87 }
object { HexaBenz () translate <-EX, 0, -EZ> }
object { HexaCone () translate < EX, -0.2, -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.2, -EZ*2> }
object { HexaCone () translate < EX*2, 0.3, -EZ*2> }
}
rotate y*90 // pour pointer vers X
}
/* =============================================================== */