HexaCone/escadrille.pov
2025-02-04 01:06:18 +01:00

53 lines
1.1 KiB
POVRay

/*
* 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"
// =======================================================
#for (idX, 0, 4)
#for (idZ, 0, 4)
#local posX = (idX * 4.56) - 7.5 + (rand(Rng1)-0.5);
#local posY = 2.6 + (1.2*(rand(Rng1)-0.5));
#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;
#if (rand(Rng1) < 0.515)
object { HexaCone ()
rotate <0, Ry, Rz>
translate <posX, posY, posZ> }
#else
object { HexaBenz ()
rotate <0, Ry, Rz>
translate <posX, posY, posZ> }
#end
#end
#end
// =======================================================
object { Le_Decor }
// object { Repere scale 5 }
#local CamX = -8.7+(6.6*NormClock);
#local CamY = 2.1+(13.37*Cos_01(NormClock));
#local CamZ = 15.86+(12.9*Cos_01(NormClock));
camera {
location <CamX, CamY, CamZ>
look_at <0.0, -0.3, 0>
angle 60 - (3.97 * NormClock)
}