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-02-10 06:44:55 +11:00
|
|
|
#local posX = (idX * 4.56) - 9.5 + (rand(Rng1)-0.5);
|
2025-02-04 11:06:18 +11:00
|
|
|
#local posY = 2.6 + (1.2*(rand(Rng1)-0.5));
|
2025-01-27 13:34:51 +11:00
|
|
|
#local posZ = (idZ * 4.24) - 7.9;
|
|
|
|
#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-01-27 13:34:51 +11:00
|
|
|
rotate <0, Ry, Rz>
|
|
|
|
translate <posX, posY, posZ> }
|
2025-01-07 02:05:57 +11:00
|
|
|
#else
|
2025-01-12 12:33:39 +11:00
|
|
|
object { HexaBenz ()
|
2025-01-27 13:34:51 +11:00
|
|
|
rotate <0, Ry, Rz>
|
|
|
|
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-01-16 00:01:02 +11:00
|
|
|
#local CamX = -8.7+(6.6*NormClock);
|
2025-02-04 11:06:18 +11:00
|
|
|
#local CamY = 2.1+(13.37*Cos_01(NormClock));
|
2025-01-27 13:34:51 +11:00
|
|
|
#local CamZ = 15.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-01-27 13:34:51 +11:00
|
|
|
look_at <0.0, -0.3, 0>
|
|
|
|
angle 60 - (3.97 * NormClock)
|
2025-01-07 02:05:57 +11:00
|
|
|
}
|