HexaCone/cutoff.pov
2025-03-31 03:55:29 +02:00

47 lines
1010 B
POVRay

/*
* H E X A C O N E - C U T O F F
* nouveau projet du 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 Kbox = (2.03*NormClock);
difference {
object { HexaCone () }
box { -1, 1 translate z*Kbox }
translate y*1.5 + Pos_RedB_1
}
// object { Repere translate y*1.5 + Pos_RedB_1 }
/* this one is for debugging */
// object { OpenBox translate <0, 1.5, Kbox> }
// =======================================================
object { Le_Decor }
// =======================================================
#local CamX = -33.4 + (2.89*Cos_01(NormClock));
#local CamY = 2.5 + (0.24*sqrt(NormClock));
#local CamZ = 5.85 + (2.42*NormClock);
camera {
location <CamX, CamY, CamZ>
look_at <0, 1.5, 0> + Pos_RedB_1
angle 39 - 5*Cos_01(NormClock)
}