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-02-19 12:49:16 +11:00
|
|
|
#for (idX, 0, 5)
|
|
|
|
#for (idZ, 0, 5)
|
2025-01-07 02:05:57 +11:00
|
|
|
|
2025-02-19 12:49:16 +11:00
|
|
|
#local posX = (idX * 4.72) - 11.6 + (rand(Rng1)-0.5);
|
|
|
|
#local posY = 3.1 + (1.2*(rand(Rng1)-0.5));
|
|
|
|
#local posZ = (idZ * 4.37) - 7.9;
|
2025-01-27 13:34:51 +11:00
|
|
|
#local Rx = (rand(Rng1) - 0.5) * 8;
|
|
|
|
#local Ry = (rand(Rng1) - 0.5) * 14;
|
|
|
|
#local Rz = (rand(Rng1) - 0.5) * 11;
|
2025-01-12 12:33:39 +11:00
|
|
|
#if (rand(Rng1) < 0.515)
|
|
|
|
object { HexaCone ()
|
2025-02-19 12:49:16 +11:00
|
|
|
rotate <Rx, Ry, Rz>
|
2025-01-27 13:34:51 +11:00
|
|
|
translate <posX, posY, posZ> }
|
2025-01-07 02:05:57 +11:00
|
|
|
#else
|
2025-01-12 12:33:39 +11:00
|
|
|
object { HexaBenz ()
|
2025-02-19 12:49:16 +11:00
|
|
|
rotate <Rx, Ry, Rz>
|
2025-01-27 13:34:51 +11:00
|
|
|
translate <posX, posY, posZ> }
|
2025-01-07 02:05:57 +11:00
|
|
|
#end
|
|
|
|
#end
|
|
|
|
#end
|
|
|
|
|
|
|
|
// =======================================================
|
|
|
|
|
2025-01-27 13:34:51 +11:00
|
|
|
object { Le_Decor }
|
2025-01-12 12:33:39 +11:00
|
|
|
|
2025-02-10 06:44:55 +11:00
|
|
|
// object { Repere scale 5 translate y }
|
2025-01-07 02:05:57 +11:00
|
|
|
|
2025-02-19 12:49:16 +11:00
|
|
|
#local CamX = -8.7 + (6.6*Cos_01(NormClock));
|
|
|
|
#local CamY = 2.95 + (18.64*Cos_01(NormClock));
|
|
|
|
#local CamZ = 16.86 + (12.9*Cos_01(NormClock));
|
2025-01-07 02:05:57 +11:00
|
|
|
|
|
|
|
camera {
|
2025-01-12 12:33:39 +11:00
|
|
|
location <CamX, CamY, CamZ>
|
2025-02-19 12:49:16 +11:00
|
|
|
look_at <0.0, -NormClock, 0>
|
2025-01-27 13:34:51 +11:00
|
|
|
angle 60 - (3.97 * NormClock)
|
2025-01-07 02:05:57 +11:00
|
|
|
}
|