43 lines
736 B
POVRay
43 lines
736 B
POVRay
/*
|
|
* H E X A C O N E
|
|
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
|
|
*/
|
|
|
|
#version 3.7;
|
|
|
|
#include "globals.inc"
|
|
|
|
#include "colors.inc"
|
|
#include "metals.inc"
|
|
#include "textures.inc"
|
|
|
|
#include "contexte.inc"
|
|
#include "elements.inc"
|
|
|
|
// ---------------------------------------
|
|
|
|
#declare PosX = 0.333;
|
|
#declare PosY = 1.20 + (NormClock*0.22);
|
|
#declare PosZ = (NormClock-0.5) * 29.22;
|
|
|
|
object { HexaCone translate <PosX, PosY, PosZ> }
|
|
#if ( clock > 130 )
|
|
light_source {
|
|
<2, 0.30, -2> color Red
|
|
spotlight
|
|
radius .044
|
|
falloff 2
|
|
tightness 10
|
|
point_at <PosX, PosY, PosZ>
|
|
}
|
|
#end
|
|
camera {
|
|
location <-1.56, 1.03, 9.76>
|
|
look_at <PosX, PosY, PosZ>
|
|
// focal_point <0, 1, 0>
|
|
// aperture 0.046
|
|
// blur_samples 30
|
|
angle 36
|
|
}
|
|
|