explorations

This commit is contained in:
Tonton Th 2026-01-04 04:16:52 +01:00
parent b0c0cc3140
commit 90894f8008
2 changed files with 35 additions and 17 deletions

View File

@ -6,11 +6,9 @@
#version 3.7; #version 3.7;
#include "globals.inc" #include "globals.inc"
#declare NO_DYNAMIC = 1;
#include "all.inc" #include "all.inc"
// XXX
// XXX
// ======================================================= // =======================================================
// nouveau du dernier jour 2025 // nouveau du dernier jour 2025
@ -22,17 +20,36 @@ object { HexaStar translate y*3 }
} }
// ======================================================= // =======================================================
// nouveau du 3 janvier 2026
#local Horloge2 = object
{
object { Horloge scale <1, 0.12, 1> rotate -x*90 }
}
#declare HorlogeDouble = object
{
union {
box { <-3, 0, -0.01>, <3, 1.55, 0.01>
pigment { color Gray50 } }
#local EC = 0.22;
object { Horloge2 rotate y*180 translate z*EC }
object { Horloge2 translate -z*EC }
}
scale 0.8
translate y*2
}
// ======================================================= // =======================================================
/* /*
* new Thu Dec 18 01:14:19 AM UTC 2025 * new Thu Dec 18 01:14:19 AM UTC 2025
*/ */
#macro Le_ConeStack () #macro Le_ConeStack ()
union { union {
#local Hcs = 0.50; #local Hcs = 0.550;
#local Rco = R_basecone * 1.95; #local Rco = R_basecone * 3.333;
#for (Foo, 0, 5) #for (Foo, 0, 5)
#local Dy = Foo * 0.580; #local Dx = 0.3 * sin(Foo);
#local Dy = Foo * (Hcs + 0.0333);
#local Dz = 0.3 * cos(Foo);
union { union {
cone { 0, Rco, <0, Hcs, 0>, 0.001 cone { 0, Rco, <0, Hcs, 0>, 0.001
#if (rand(Rng1) < 0.50) texture { Y_Texture } #if (rand(Rng1) < 0.50) texture { Y_Texture }
@ -44,7 +61,7 @@ union {
#else texture { G_Texture } #else texture { G_Texture }
#end // if rand #end // if rand
} }
translate y * Dy translate <Dx, Dy, Dz>
} }
#end // for Foo #end // for Foo
} }
@ -216,8 +233,9 @@ union {
object { Chose () translate < 2.2, 0, 2.32> } object { Chose () translate < 2.2, 0, 2.32> }
object { Chose () translate <-2.9, 0, 3.91> } object { Chose () translate <-2.9, 0, 3.91> }
object { Chose () translate < 2.9, 0, -4.07> } object { Chose () translate < 2.9, 0, -4.07> }
object { Chose () translate <-3.4, 0, -(3+NormClock)> } object { Chose () translate <-3.1, 0, -(3+NormClock)> }
object { Repere scale <3, 4, 3> translate 0.05*y } object { Chose () translate <-4.5, 0, -4> }
object { Repere scale 2 translate 0.05*y }
} }
} }
// ======================================================= // =======================================================
@ -268,12 +286,13 @@ object { Gyros }
object { Le_ConeStack () translate y*0.20 } object { Le_ConeStack () translate y*0.20 }
#break #break
#case (3) #case (3)
object { BasicTextures rotate -y*(3*clock) } object { HorlogeDouble /* rotate -y*(5*clock) */ }
object { Repere translate y*1 }
#break #break
#case (4) #case (4)
object { Trident_A() object { Trident_A()
scale 1.8 scale 1.8
rotate <20, 0, 10> translate 2.2*y rotate <28, 0, 12> translate 2.2*y
rotate -y*clock } rotate -y*clock }
#break #break
#case (5) #case (5)
@ -289,7 +308,6 @@ object { Gyros }
#end // switch selector #end // switch selector
plane { plane {
y, 0 y, 0
texture { Ground_Texture } texture { Ground_Texture }

View File

@ -27,8 +27,8 @@ difference {
#declare HS_element = object #declare HS_element = object
{ {
union { union {
object { HS_element_a texture { GoldDark } } object { HS_element_a texture { GoldDark } }
object { HS_element_b texture { G_Texture } } object { HS_element_b texture { G_Texture } }
} }
} }
/* ============================================================ */ /* ============================================================ */
@ -36,11 +36,11 @@ union {
#declare HS_les_elements = object #declare HS_les_elements = object
{ {
union { union {
#for (Foo, 0, 60, 359) #for (Foo, 0, 360, 60)
#local E = 0.31; #local E = 0.31;
#local Tx = E * sin(radians(Foo)); #local Tx = E * sin(radians(Foo));
#local Ty = E * cos(radians(Foo)); #local Ty = E * cos(radians(Foo));
object { object {
HS_element HS_element
rotate -z*foo rotate -z*foo
translate <Tx, Ty, 0> translate <Tx, Ty, 0>