last commits of this night
This commit is contained in:
parent
ceb4dea907
commit
c47606438f
10
dynamic.inc
10
dynamic.inc
@ -36,8 +36,9 @@ object {
|
||||
|
||||
/// =======================================================
|
||||
/* des trucs autour des trous du sol. */
|
||||
object { Les_HexaBalls rotate y*clock translate UnderHoles[2] }
|
||||
object { Les_Machins rotate -y*clock translate UnderHoles[3] }
|
||||
// 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] }
|
||||
|
||||
/// =======================================================
|
||||
/*
|
||||
@ -105,7 +106,7 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
||||
#end
|
||||
|
||||
#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 Ry = (( 0.5+rand(Rng1)-NormClock ) * 166);
|
||||
#ifdef (DEBUG_LEVEL)
|
||||
@ -173,6 +174,3 @@ object { Trident_A () rotate y*(clock*2.7)
|
||||
#debug "dynamic is loaded\n"
|
||||
/* ----------------------------------- */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -11,6 +11,10 @@
|
||||
#declare NO_DYNAMIC = 1;
|
||||
#include "all.inc"
|
||||
|
||||
/*
|
||||
* il faut faire le tri ici !
|
||||
-* __________________________
|
||||
*/
|
||||
// =======================================================
|
||||
// nouveau du 3 janvier 2026
|
||||
#local Horloge2 = object
|
||||
|
||||
@ -226,8 +226,9 @@ union {
|
||||
sphere {
|
||||
0, 0.070
|
||||
#local R = rand(Rng1);
|
||||
#if ( R < 0.333 ) texture { Ruby_Glass }
|
||||
#elseif ( R < 0.666 ) texture { Orange_Glass }
|
||||
#if ( R < 0.25 ) texture { Ruby_Glass }
|
||||
#elseif ( R < 0.50 ) texture { Orange_Glass }
|
||||
#elseif ( R < 0.75 ) texture { Shadow_Clouds }
|
||||
#else texture { Gold_Nugget }
|
||||
#end
|
||||
#undef R
|
||||
@ -238,7 +239,7 @@ sphere {
|
||||
#macro Un_Machin ()
|
||||
union {
|
||||
#for (Y, 1, 8, 1)
|
||||
object { Bubble() translate y*Y*0.111 }
|
||||
object { Bubble() translate y*Y*0.115 }
|
||||
#end
|
||||
}
|
||||
#end
|
||||
@ -252,7 +253,7 @@ union {
|
||||
#for (foo, 0, 359, 45)
|
||||
#local Xpos = Rk * sin(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
|
||||
#undef Rk
|
||||
}
|
||||
|
||||
@ -41,6 +41,8 @@ global_settings {
|
||||
|
||||
#declare R_circular = (SzSol * 1.60);
|
||||
|
||||
#declare R_hole = 3.1;
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/*
|
||||
* Some textures...
|
||||
|
||||
@ -48,7 +48,7 @@ text {
|
||||
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
|
||||
// texture { T_WIP_alert }
|
||||
texture { T_WIP_bluewave rotate <clock, clock, clock>
|
||||
scale 0.78 }
|
||||
scale 0.79 }
|
||||
}
|
||||
}
|
||||
#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 }
|
||||
translate y*H_sol
|
||||
|
||||
31
hexastar.inc
31
hexastar.inc
@ -8,7 +8,7 @@
|
||||
/* ============================================================ */
|
||||
/* Un des six éléments de base */
|
||||
|
||||
#declare HS_radius = 0.407;
|
||||
#declare HS_radius = 0.409;
|
||||
|
||||
#macro HS_element_pointe ()
|
||||
union {
|
||||
@ -29,13 +29,23 @@ union {
|
||||
*/
|
||||
#macro HS_element_central ()
|
||||
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 R = 0.0597;
|
||||
#local R = 0.0577;
|
||||
cylinder { -y*L, y*L, R }
|
||||
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
|
||||
|
||||
#local R = rand(Rng1);
|
||||
@ -50,11 +60,11 @@ union {
|
||||
#macro HS_element_queue ()
|
||||
union {
|
||||
#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 }
|
||||
sphere { 0, R_a scale <0.7, 1, 1> translate <0.88, 0, 0> }
|
||||
#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.80 ) texture { Aluminum }
|
||||
#else texture { T_Gold_3C }
|
||||
@ -76,12 +86,15 @@ union {
|
||||
#local Ty = E * cos(radians(Foo));
|
||||
#local Tz = E * sin(radians(Foo));
|
||||
union {
|
||||
object { HS_element_pointe () }
|
||||
object { HS_element_queue () }
|
||||
translate <0, Ty, Tz>
|
||||
object { HS_element_pointe ()
|
||||
translate <0, Ty*1.16, Tz*1.16> }
|
||||
object { HS_element_queue ()
|
||||
translate <0, Ty, Tz> }
|
||||
}
|
||||
#end // end for
|
||||
object { HS_element_central () }
|
||||
|
||||
// object { Repere }
|
||||
}
|
||||
}
|
||||
/* ============================================================ */
|
||||
|
||||
@ -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 }
|
||||
#else texture { T_WIP_rasta scale 3 }
|
||||
#end
|
||||
}
|
||||
#undef L
|
||||
@ -69,7 +69,7 @@ union {
|
||||
object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> }
|
||||
cylinder { 0, x*E, 0.008 scale <1, 5, 1> }
|
||||
#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 }
|
||||
#end
|
||||
#undef E
|
||||
|
||||
@ -19,7 +19,7 @@ difference {
|
||||
#if (R < 0.50)
|
||||
texture { LeGris }
|
||||
#else
|
||||
texture { Flashy scale 38 }
|
||||
texture { T_Beton_1 }
|
||||
#end
|
||||
}
|
||||
#end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user