2025-01-07 02:05:57 +11:00
|
|
|
/*
|
|
|
|
* H E X A C O N E
|
|
|
|
*
|
|
|
|
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
|
|
|
|
*/
|
|
|
|
|
|
|
|
#version 3.7;
|
|
|
|
|
|
|
|
#include "globals.inc"
|
|
|
|
|
|
|
|
#include "contexte.inc"
|
|
|
|
#include "elements.inc"
|
|
|
|
#include "hexabenz.inc"
|
|
|
|
|
|
|
|
// =======================================================
|
|
|
|
|
2025-01-12 12:33:39 +11:00
|
|
|
#for (idX, 0, 4)
|
|
|
|
#for (idZ, 0, 4)
|
2025-01-07 02:05:57 +11:00
|
|
|
|
2025-01-12 12:33:39 +11:00
|
|
|
#local posX = (idX * 4.56) - 6.5;
|
|
|
|
#local posY = 1.3 * (rand(Rng1)-0.5);
|
|
|
|
#local posZ = (idZ * 4.24) - 8.9;
|
2025-01-07 02:05:57 +11:00
|
|
|
#local Ry = (rand(Rng1) - 0.5) * 16;
|
2025-01-12 12:33:39 +11:00
|
|
|
#if (rand(Rng1) < 0.515)
|
|
|
|
object { HexaCone ()
|
|
|
|
rotate y*Ry translate <posX, posY, posZ> }
|
2025-01-07 02:05:57 +11:00
|
|
|
#else
|
2025-01-12 12:33:39 +11:00
|
|
|
object { HexaBenz ()
|
|
|
|
rotate y*Ry translate <posX, posY, posZ> }
|
2025-01-07 02:05:57 +11:00
|
|
|
#end
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
|
|
|
|
// =======================================================
|
|
|
|
|
2025-01-12 12:33:39 +11:00
|
|
|
#if (NormClock < 0.08)
|
|
|
|
light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> }
|
|
|
|
#end
|
|
|
|
|
2025-01-14 00:47:20 +11:00
|
|
|
light_source { < 11, 7, 4>, rgb <NormClock, 0.48, 0.80> }
|
2025-01-12 12:33:39 +11:00
|
|
|
|
|
|
|
// object { Repere scale 5 }
|
2025-01-07 02:05:57 +11:00
|
|
|
|
2025-01-12 12:33:39 +11:00
|
|
|
#local CamX = -8.7+(2.6*NormClock);
|
|
|
|
#local CamY = -5+(6.9*Cos_01(NormClock));
|
|
|
|
#local CamZ = 15.06+(2.9*Cos_010(NormClock));
|
2025-01-07 02:05:57 +11:00
|
|
|
|
|
|
|
camera {
|
2025-01-12 12:33:39 +11:00
|
|
|
location <CamX, CamY, CamZ>
|
2025-01-07 02:05:57 +11:00
|
|
|
look_at <0.0, 0.0, 0>
|
2025-01-12 12:33:39 +11:00
|
|
|
angle 48 - (3.57 * NormClock)
|
2025-01-07 02:05:57 +11:00
|
|
|
}
|