/*
 *		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  "contexte.inc"
#include  "hexacone.inc"
#include  "hexabenz.inc"
#include  "hexawood.inc"
#include  "trident.inc"

// ---------------------------------------

#include  "dynamic.inc"

#declare PosX = 2.95;
#declare PosY = 2.60 + (NormClock*0.28);
#declare PosZ = (NormClock-0.5) * 41.27;
object { HexaCone () translate <PosX, PosY, PosZ> }

object { HexaCone () translate <PosX+2.96, PosY+1.82, PosZ-15.5> }
object { HexaBenz () translate <PosX-1.96, PosY+2.42, PosZ-17.5> }

object { Le_Decor }


#if ( (clock < 141) )
light_source {
	<3, 0.30, -8>	color Blue
	spotlight
	radius .044
	falloff 2
	tightness 3
	point_at <PosX, PosY, PosZ>
	}
#end

#if ( (clock > 230) & (clock < 300) )
light_source {
	<2, 0.30, -2>	color Green
	spotlight
	radius .044
	falloff 2
	tightness 3
	point_at <PosX, PosY-0.30, PosZ>
	}
#end

camera	{
	location	<-2.76, 1.83, 8.76>
	look_at		<PosX+0.09, PosY, PosZ-0.03>
	// focal_point	<0, 1, 0>
	// aperture	0.046
	// blur_samples	30
	angle		34
	}