preparation edition automnale

This commit is contained in:
Tonton Th 2025-08-29 22:57:24 +02:00
parent bf7550e52e
commit d30036415a
7 changed files with 46 additions and 33 deletions

View File

@ -31,7 +31,7 @@ object { Repere scale 10 translate y*7 }
object { Le_Decor } object { Le_Decor }
camera { camera {
location <45, 126+(9*NormClock), 18> location <45, 136+(19*NormClock), 18-(42*NormClock)>
look_at <0, 1.18, 0.17 + (2.9*NormClock)> look_at <0, 1.18, 0.17 + (2.9*NormClock)>
angle 49 angle 49
} }

View File

@ -21,19 +21,18 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare R_circ = R_circular + 2; #declare R_circ = R_circular;
#declare CK = NormClock * 2 * 3.141592654; #declare CK = NormClock * 3.141592654;
#declare CamX = R_circ * cos(CK); #declare CamX = R_circ * cos(CK);
#declare CamY = 3.08; #declare CamY = 3.08 + abs(sin(CK/4.00));
#declare CamZ = R_circ * sin(CK); #declare CamZ = R_circ * sin(CK);
#declare LatX = R_circ * 0.92 * cos(CK + 0.09); #declare LatX = R_circ * 0.93 * cos(CK + 0.09);
#declare LatY = 3; #declare LatY = 3;
#declare LatZ = R_circ * 0.91 * sin(CK + 0.09); #declare LatZ = R_circ * 0.93 * sin(CK + 0.09);
camera { camera {
// orthographic
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
angle 66 angle 66

View File

@ -102,7 +102,7 @@ union {
union { union {
#local E = SzSol * 0.431; #local E = SzSol * 0.431;
#for (Idx, 0, 359, 60) #for (Idx, 0, 359, 60)
#local Ang = radians(Idx+7.33); #local Ang = radians(Idx+9.33);
#local Dx = E * sin(Ang); #local Dx = E * sin(Ang);
#local Dz = E * cos(Ang); #local Dz = E * cos(Ang);
object { GyroPhare () translate <Dx, H_sol, Dz> } object { GyroPhare () translate <Dx, H_sol, Dz> }
@ -117,8 +117,13 @@ union {
{ {
union { union {
#for (Ang, 0, 359, 15) #for (Ang, 0, 359, 8)
#local E = R_circular + (8*rand(Rng1)); #local De = 3.6 + (0.5*rand(Rng1));
#if (rand(Rng1) < 0.50)
#local E = R_circular + De;
#else
#local E = R_circular - De;
#end
#local Ra = radians(Ang); #local Ra = radians(Ang);
#local Xp = E * cos(Ra); #local Xp = E * cos(Ra);
#local Zp = E * sin(Ra); #local Zp = E * sin(Ra);
@ -156,7 +161,7 @@ union {
object { HexaBalls object { HexaBalls
texture { Lightning2 scale 0.56 } texture { Lightning2 scale 0.56 }
rotate <-clock, clock*0.33333, clock> rotate <-clock, clock*0.33333, clock*3>
translate <4, 1.11*Cos_010(NormClock), -3> translate <4, 1.11*Cos_010(NormClock), -3>
} }
} }
@ -212,7 +217,7 @@ difference {
cylinder { -y*5, y*5, 3.4 translate UnderHoles[Foo] } cylinder { -y*5, y*5, 3.4 translate UnderHoles[Foo] }
#end #end
} }
texture { T_Planete_A scale 0.42 } texture { T_Planete_B scale 0.42 }
/* /*
texture { texture {
pigment { color Gray20 } pigment { color Gray20 }
@ -291,13 +296,14 @@ union {
} }
#end #end
#if (0)
light_source { light_source {
<-4, 54, -7> <-4, 54, -7>
colour Gray50 colour Gray50
parallel parallel
point_at 0 point_at 0
} }
#end
} }
} }

View File

@ -70,17 +70,16 @@ object { Gyros }
#debug " Hexapole !!!\n" #debug " Hexapole !!!\n"
#break #break
#case (2) #case (2)
object { Tridents translate y*2 } object { HexaWood translate y*2 }
object { Cabane_Compteur scale 2 rotate y*clock } #debug " HexaWood !!!\n"
#debug " Deux Tridents !!!\n"
#break #break
#case (3) #case (3)
object { Les_Bibelots translate y } object { Chose }
#debug " Bibelots !!!\n" #debug " Chose\n"
#break #break
#case (4) #case (4)
object { Les_Machins } object { Tridents scale 1.7 translate -y*0.1 }
#debug " Machins !!!\n" #debug " Tridents !!!\n"
#break #break
#case (5) #case (5)
object { Horloge } object { Horloge }

View File

@ -3,6 +3,11 @@
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/ */
/* ======================================================= */
/* new 30 aout 2025
*/
/* ======================================================= */ /* ======================================================= */
#declare Horloge = object #declare Horloge = object
{ {

View File

@ -11,7 +11,7 @@ global_settings {
#include "stones.inc" #include "stones.inc"
#include "woods.inc" #include "woods.inc"
#declare Rng1 = seed(1789); #declare Rng1 = seed(1337);
#declare foo = rand(Rng1); #declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60); #declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2); #declare bar = rand(Rng2);
@ -32,14 +32,14 @@ global_settings {
#declare R_basecone = 0.117; #declare R_basecone = 0.117;
#declare H_cone = 0.97; #declare H_cone = 0.97;
#declare R_gyro = 0.08; #declare R_gyro = 0.14;
#declare H_gyro = 1.80; #declare H_gyro = 1.80;
#declare H_gylampe = 0.25; #declare H_gylampe = 0.25;
#declare H_QuadriLight = 34; #declare H_QuadriLight = 37;
#declare E_QuadriLight = SzSol * 1.35; #declare E_QuadriLight = SzSol * 1.35;
#declare R_circular = (SzSol * 1.40); #declare R_circular = (SzSol * 1.60);
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
@ -49,7 +49,7 @@ global_settings {
#declare WIP_color = texture #declare WIP_color = texture
{ {
pigment { color Cyan*0.60 } pigment { color Cyan*0.60 }
finish { phong 0.01 } finish { phong 0.21 }
} }
#declare T_WIP_alert = texture #declare T_WIP_alert = texture
@ -67,7 +67,7 @@ finish { phong 0.70 reflection 0.05 }
#declare T_Planete_B = texture #declare T_Planete_B = texture
{ {
pigment { rgb <0.40, 0.50, 0.70> } pigment { rgb <0.40, 0.50, 0.70> }
finish { metallic 0.50 reflection 0.55 } finish { metallic 0.55 reflection 0.55 }
} }
/* /*
@ -83,7 +83,7 @@ finish { roughness 1.00 }
#declare T_Beton_2 = texture #declare T_Beton_2 = texture
{ {
pigment { color <0.7, 0.6, 0.5> } pigment { color <0.7, 0.6, 0.5> }
normal { dents 0.25 scale 2 } normal { dents 0.25 scale 3 }
finish { roughness 1.00 } finish { roughness 1.00 }
} }

View File

@ -28,21 +28,25 @@ difference {
#macro Trid_A_head () #macro Trid_A_head ()
union { union {
#for (A, 0, 360, 120) #for (A, 0, 360, 120)
#local E = 0.23; #local E = 0.26;
#local Tx = E * sin(radians(A)); #local Tx = E * sin(radians(A));
#local Tz = E * cos(radians(A)); #local Tz = E * cos(radians(A));
object { Trid_A_cone () translate <Tx*2, 0, Tz> } object { Trid_A_cone () translate <Tx*2, 0, Tz> }
#end // for #end // for
#undef Tx #undef Tx
#undef Tz #undef Tz
torus { E*1.80, 0.02
scale <1, 4, 1> translate -y*0.12
texture { T_Chrome_3B } }
} }
#end #end
// ------------------------------------------------------ // ------------------------------------------------------
#macro Trid_A_body () #macro Trid_A_body ()
#local L = Trid_length / 2; #local L = Trid_length / 2;
#local R = 0.095;
merge { merge {
cylinder { <0, -L, 0>, <0, L, 0>, 0.065 } cylinder { <0, -L, 0>, <0, L, 0>, R }
sphere { 0, 0.065 scale <1, 6, 1> translate y*L } sphere { 0, R scale <1, 6, 1> translate y*L }
#if (rand(Rng1) < 0.50) #if (rand(Rng1) < 0.50)
texture { T_Chrome_1C } texture { T_Chrome_1C }
#else #else
@ -55,10 +59,10 @@ merge {
#macro Trid_A_ailette () #macro Trid_A_ailette ()
union { union {
#local E = 0.49; #local E = 0.49;
object { Trid_A_cone () scale 0.7 object { Trid_A_cone () scale 0.85
translate <E, -0.05, 0> } translate <E, -0.05, 0> }
cylinder { 0, x*E, 0.012 cylinder { 0, x*E, 0.011
scale <1, 4, 1> texture { T_Silver_3A } } scale <1, 5, 1> texture { T_Silver_3A } }
#undef E #undef E
} }
#end #end