Easter Egg commit (big!)

This commit is contained in:
Tonton Th
2026-04-05 00:27:54 +02:00
parent c9dba8d6aa
commit 43f58d9ce9
30 changed files with 241 additions and 186 deletions

View File

@@ -353,19 +353,15 @@ union {
#declare GyroTrucs = object
{
union {
#for (I, 0, 359, 20)
#declare E = 12 + (3.5*rand(Rng1));
#for (I, 0, 359, 15)
#declare E = 14 + (4.2*rand(Rng1));
#declare Dx = E * sin(radians(I));
#declare Dz = E * cos(radians(I));
#local R = rand(Rng1);
#if (R > 0.76)
object { GyroPhare () translate <Dx, 0, Dz> }
#elseif (R > 0.65)
object { Obj_BasicTexture
texture { T_WIP_redwave }
scale 0.75
rotate y * (5*(.5-rand(Rng1))*clock)
translate <Dx, 0, Dz> }
#elseif (R > 0.45)
object { HexaPole () translate <Dx, 0, Dz> }
#else
object { HexoFlash (0.14, 1.85 + (0.444*rand(Rng1)) )
translate <Dx, 0, Dz> }
@@ -393,9 +389,10 @@ union {
#debug " !!! ACTION !!!\n"
/* FLASHING LIGHT !!! */
#local Rv = 0.5 + (0.1*sin(clock*0.113));
#local Gv = 0.21;
#local Bv = 0.25 * abs(sin(clock*0.014));
#local Bv = 0.25 * abs(sin(clock*0.019));
light_source {
<-32, 40, -7>
colour <Rv, Gv, Bv>
@@ -405,10 +402,10 @@ union {
// ------------------------------------------------------ ##
#declare Selector = int(clock/90);
#declare Selector = int(clock/96);
#debug concat("Selector = ", str(Selector, 6, 0), "\n")
#declare AngleCam = 27 - 3*Cos_01(NormClock);
#declare AngleCam = 29 - 3*Cos_01(NormClock);
#switch (Selector)
#case (0)
@@ -424,11 +421,12 @@ union {
object { ProtoTextures }
#break
#case (3)
object { Blob_Boxed scale 3 translate y*2 }
object { Blob_Boxed scale 3.159 translate < 0, 2, 0> }
object { Blob_Boxed scale 1.414 translate <-3, 3, 0> }
// object { Repere translate y*1 }
#break
#case (4)
object { Un_Autre_Cube (0.666) rotate y*42 translate <3, 1.8, 0> }
object { Un_Autre_Cube (0.666) rotate x*42 translate <3, 1.8, 0> }
object { Un_Autre_Cube (0.888) translate <0, 1.8, 2> }
#break
@@ -441,9 +439,9 @@ plane {
// =======================================================
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
#local CamX = -2.9 + (1.8*Cos_010(NormClock));
#local CamY = 0.61 + (0.9*exp(NormClock));
#local CamZ = -5.777 + (1.2*Cos_01(NormClock));
#local CamZ = -5.777 + (1.3*Cos_01(NormClock));
#local K = 8.6;
#local CamX = CamX * K;
@@ -451,7 +449,7 @@ plane {
#local CamZ = CamZ * K;
camera {
orthographic
// orthographic
location <CamX, CamY, CamZ>
look_at <0, 1.5, 0>