Compare commits

...

4 Commits

Author SHA1 Message Date
Tonton Th
c47606438f last commits of this night 2026-02-10 04:59:43 +01:00
Tonton Th
ceb4dea907 add border to the hole 2026-02-10 04:08:49 +01:00
Tonton Th
1bef5baa93 tweak the dynamic 2026-02-10 01:21:32 +01:00
Tonton Th
2d5093eab9 changes are to small to be commited 2026-02-09 18:53:47 +01:00
10 changed files with 73 additions and 31 deletions

View File

@@ -11,7 +11,7 @@
#macro Trois_Portiques (Dist) #macro Trois_Portiques (Dist)
union { union {
object { Portique_A () } object { Portique_A () }
object { Portique_A () translate z*5 } object { Portique_A () scale <1, 1.15, 1> translate z*5 }
object { Portique_A () translate z*10 } object { Portique_A () translate z*10 }
// XXX scale 1.85 // XXX scale 1.85
} }
@@ -255,14 +255,19 @@ difference {
box { <-Big, -0.21, -Big>, < Big, 0.0000, Big> } box { <-Big, -0.21, -Big>, < Big, 0.0000, Big> }
#undef Big #undef Big
#for (Foo, 0, 5) #for (Foo, 0, 5)
cylinder { -y*5, y*5, 3.1 translate UnderHoles[Foo] } cylinder { -y*5, y*5, R_hole translate UnderHoles[Foo] }
#end #end
texture { Ground_Texture } texture { Ground_Texture }
} }
} }
/* XXX /* 10 fev 2026, on place des bordures autour des trous */
* L'indispensable Repere est parti dans 'gadgets.inc' ! */ /* -> xperiment.inc */
#for (foo, 0, 5)
#local YHB = (0.08 + (0.5*rand(Rng1)) * y);
object { HoleBorder (1.14) translate YHB + UnderHoles[foo] }
#end
/* ======================================================= */ /* ======================================================= */
/* /*
* nouvel éclairage du 10 février 2025 * nouvel éclairage du 10 février 2025
@@ -392,7 +397,7 @@ union {
object { Les_Choses } object { Les_Choses }
object { Les_Arches (1.9) rotate y*132 translate <-34, 0, -26> } object { Les_Arches (1.9) rotate y*132 translate <-34, 0, -26> }
object { Les_Cahutes () translate <2, 0, -40> } object { Les_Cahutes () rotate y*17 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.4 translate <0, 0, -131> } // object { Trois_Arches (1.4) scale 2.4 translate <0, 0, -131> }

View File

@@ -36,8 +36,9 @@ object {
/// ======================================================= /// =======================================================
/* des trucs autour des trous du sol. */ /* des trucs autour des trous du sol. */
object { Les_HexaBalls rotate y*clock translate UnderHoles[2] } // object { Les_HexaBalls rotate y*clock translate UnderHoles[2] }
object { Les_Machins rotate -y*clock translate UnderHoles[3] } object { Les_Machins rotate -y*clock translate UnderHoles[2] }
object { Les_Machins rotate y*clock translate UnderHoles[5] }
/// ======================================================= /// =======================================================
/* /*
@@ -105,7 +106,7 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
#end #end
#for (Foo, 0, 5) #for (Foo, 0, 5)
#declare Dy = (8*rand(Rng1))-9+(14*NormClock); #declare Dy = (14*rand(Rng1))-9+(14*NormClock);
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>; #declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
#declare Ry = (( 0.5+rand(Rng1)-NormClock ) * 166); #declare Ry = (( 0.5+rand(Rng1)-NormClock ) * 166);
#ifdef (DEBUG_LEVEL) #ifdef (DEBUG_LEVEL)
@@ -173,6 +174,3 @@ object { Trident_A () rotate y*(clock*2.7)
#debug "dynamic is loaded\n" #debug "dynamic is loaded\n"
/* ----------------------------------- */ /* ----------------------------------- */

View File

@@ -20,7 +20,7 @@
#for (idZ, -3, 3) #for (idZ, -3, 3)
#local posX = (idX * 4.76) + (rand(Rng1)-0.5); #local posX = (idX * 4.76) + (rand(Rng1)-0.5);
#local posY = 3.2 + (NormClock * 12 * (rand(Rng1)+0.75)); #local posY = 3.2 + (NormClock * 12 * (rand(Rng1)+0.95));
#local posZ = (idZ * 4.44) ; #local posZ = (idZ * 4.44) ;
#local Rx = (rand(Rng1) - 0.5) * 12; #local Rx = (rand(Rng1) - 0.5) * 12;
#local Ry = (rand(Rng1) - 0.5) * (24+NormClock); #local Ry = (rand(Rng1) - 0.5) * (24+NormClock);
@@ -63,5 +63,5 @@ camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0.0, LatY, 0> look_at <0.0, LatY, 0>
right <image_width/image_height, 0, 0> right <image_width/image_height, 0, 0>
angle 56 - (26 * NormClock) angle 56 - (28 * NormClock)
} }

View File

@@ -11,6 +11,10 @@
#declare NO_DYNAMIC = 1; #declare NO_DYNAMIC = 1;
#include "all.inc" #include "all.inc"
/*
* il faut faire le tri ici !
-* __________________________
*/
// ======================================================= // =======================================================
// nouveau du 3 janvier 2026 // nouveau du 3 janvier 2026
#local Horloge2 = object #local Horloge2 = object

View File

@@ -226,8 +226,9 @@ union {
sphere { sphere {
0, 0.070 0, 0.070
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.333 ) texture { Ruby_Glass } #if ( R < 0.25 ) texture { Ruby_Glass }
#elseif ( R < 0.666 ) texture { Orange_Glass } #elseif ( R < 0.50 ) texture { Orange_Glass }
#elseif ( R < 0.75 ) texture { Shadow_Clouds }
#else texture { Gold_Nugget } #else texture { Gold_Nugget }
#end #end
#undef R #undef R
@@ -238,7 +239,7 @@ sphere {
#macro Un_Machin () #macro Un_Machin ()
union { union {
#for (Y, 1, 8, 1) #for (Y, 1, 8, 1)
object { Bubble() translate y*Y*0.111 } object { Bubble() translate y*Y*0.115 }
#end #end
} }
#end #end
@@ -252,7 +253,7 @@ union {
#for (foo, 0, 359, 45) #for (foo, 0, 359, 45)
#local Xpos = Rk * sin(radians(foo)); #local Xpos = Rk * sin(radians(foo));
#local Zpos = Rk * cos(radians(foo)); #local Zpos = Rk * cos(radians(foo));
object { Un_Machin () translate <Xpos, 0.20, Zpos> } object { Un_Machin () translate <Xpos, 0.22, Zpos> }
#end #end
#undef Rk #undef Rk
} }

View File

@@ -41,6 +41,8 @@ global_settings {
#declare R_circular = (SzSol * 1.60); #declare R_circular = (SzSol * 1.60);
#declare R_hole = 3.1;
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
* Some textures... * Some textures...

View File

@@ -48,7 +48,7 @@ text {
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0 ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
// texture { T_WIP_alert } // texture { T_WIP_alert }
texture { T_WIP_bluewave rotate <clock, clock, clock> texture { T_WIP_bluewave rotate <clock, clock, clock>
scale 0.78 } scale 0.79 }
} }
} }
#declare Cabane_Compteur = object #declare Cabane_Compteur = object
@@ -78,7 +78,7 @@ intersection {
} }
} }
} }
cylinder { -y*5, y*5, SzSol*0.51 } cylinder { -y*5, y*5, SzSol*0.52 }
} }
finish { phong 0.096 } finish { phong 0.096 }
translate y*H_sol translate y*H_sol

View File

@@ -8,7 +8,7 @@
/* ============================================================ */ /* ============================================================ */
/* Un des six éléments de base */ /* Un des six éléments de base */
#declare HS_radius = 0.407; #declare HS_radius = 0.409;
#macro HS_element_pointe () #macro HS_element_pointe ()
union { union {
@@ -29,13 +29,23 @@ union {
*/ */
#macro HS_element_central () #macro HS_element_central ()
union { union {
torus { HS_radius*0.73, 0.0180 } #local HSCR = HS_radius*0.70;
torus { HSCR, 0.0180 }
// le noyau central
#local L = 0.0028; #local L = 0.0028;
#local R = 0.0597; #local R = 0.0577;
cylinder { -y*L, y*L, R } cylinder { -y*L, y*L, R }
sphere { 0, R translate -y*L } sphere { 0, R translate -y*L }
sphere { 0, R translate y*L } sphere { 0, R translate y*L }
scale <1, 24.10, 1>
// les ailettes intérieures
#for (foo, 0, 5)
cylinder { 0, x*HSCR, R*0.15 rotate y*foo*60 }
#end
// traitement final
scale <1, 23.10, 1>
rotate z*90 rotate z*90
#local R = rand(Rng1); #local R = rand(Rng1);
@@ -50,11 +60,11 @@ union {
#macro HS_element_queue () #macro HS_element_queue ()
union { union {
#local R_a = HS_radius * 0.2222; #local R_a = HS_radius * 0.2222;
#local Small = 0.00001; #local Small = 0.001;
cone { < 0.44, 0, 0>, Small, < 0.88, 0, 0>, R_a } cone { < 0.44, 0, 0>, Small, < 0.88, 0, 0>, R_a }
sphere { 0, R_a scale <0.7, 1, 1> translate <0.88, 0, 0> } sphere { 0, R_a scale <0.7, 1, 1> translate <0.88, 0, 0> }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.35 ) texture { Rust } #if ( R < 0.35 ) texture { Rust rotate y*(rand(Rng1)*133)}
#elseif ( R < 0.50 ) texture { T_Gold_5A } #elseif ( R < 0.50 ) texture { T_Gold_5A }
#elseif ( R < 0.80 ) texture { Aluminum } #elseif ( R < 0.80 ) texture { Aluminum }
#else texture { T_Gold_3C } #else texture { T_Gold_3C }
@@ -76,12 +86,15 @@ union {
#local Ty = E * cos(radians(Foo)); #local Ty = E * cos(radians(Foo));
#local Tz = E * sin(radians(Foo)); #local Tz = E * sin(radians(Foo));
union { union {
object { HS_element_pointe () } object { HS_element_pointe ()
object { HS_element_queue () } translate <0, Ty*1.16, Tz*1.16> }
translate <0, Ty, Tz> object { HS_element_queue ()
translate <0, Ty, Tz> }
} }
#end // end for #end // end for
object { HS_element_central () } object { HS_element_central () }
// object { Repere }
} }
} }
/* ============================================================ */ /* ============================================================ */

View File

@@ -57,7 +57,7 @@ merge {
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.333) texture { T_Chrome_1C } #if ( R < 0.333) texture { T_Chrome_1C }
#elseif ( R < 0.666) texture { T_Silver_1C } #elseif ( R < 0.666) texture { T_Silver_1C }
#else texture { T_WIP_rasta } #else texture { T_WIP_rasta scale 3 }
#end #end
} }
#undef L #undef L
@@ -69,7 +69,7 @@ union {
object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> } object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> }
cylinder { 0, x*E, 0.008 scale <1, 5, 1> } cylinder { 0, x*E, 0.008 scale <1, 5, 1> }
#local R = rand(Rng1); #local R = rand(Rng1);
#if ( R < 0.6 ) texture { T_Silver_3A } #if ( R < 0.86 ) texture { T_Silver_3A }
#else texture { T_WIP_rasta } #else texture { T_WIP_rasta }
#end #end
#undef E #undef E

View File

@@ -4,6 +4,25 @@
* A cosy place for experimental things (2025/10/27) * A cosy place for experimental things (2025/10/27)
* *
*/ */
/* =============================================================== */
/*
* nouveau : Tue Feb 10 12:42:43 AM UTC 2026
*/
#macro HoleBorder (V)
difference {
#local RA = V * R_hole * 1.005;
#local RB = V * R_hole * 0.995;
cylinder { 0, y*0.22, RA }
cylinder { -y, y*2, RB }
#local R = rand(Rng1);
#if (R < 0.50)
texture { LeGris }
#else
texture { T_Beton_1 }
#end
}
#end
/* =============================================================== */ /* =============================================================== */
/* /*
* new Tue Dec 30 07:39:09 AM UTC 2025 * new Tue Dec 30 07:39:09 AM UTC 2025
@@ -12,7 +31,7 @@
{ {
union { union {
#local EX = 2.4; #local EX = 2.4;
#local EZ = 2.1 + (0.5*sin(NormClock)); #local EZ = 2.1 + (0.5*sin(NormClock*2));
object { Trident_A () rotate x*87 } object { Trident_A () rotate x*87 }
object { HexaBenz () translate <-EX, 0, -EZ> } object { HexaBenz () translate <-EX, 0, -EZ> }
object { HexaCone () translate < EX, -0.4, -EZ> } object { HexaCone () translate < EX, -0.4, -EZ> }