HexaCone/cutoff.pov

43 lines
900 B
POVRay
Raw Normal View History

2025-01-27 13:33:53 +11:00
/*
* 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 "elements.inc"
#include "hexabenz.inc"
// =======================================================
2025-01-28 02:38:55 +11:00
// #debug concat("------ cutoff clock = ", str(clock,5,0),"\n")
2025-01-27 13:33:53 +11:00
2025-01-28 02:38:55 +11:00
#declare Kbox = (2.03*NormClock);
2025-01-27 13:33:53 +11:00
/* this one is for debugging */
2025-01-28 02:38:55 +11:00
// object { OpenBox translate <0, 1.5, Kbox> }
2025-01-27 13:33:53 +11:00
difference {
2025-02-04 11:06:18 +11:00
object { HexaCone () }
2025-01-27 13:33:53 +11:00
box { -1, 1 translate z*Kbox }
translate y*1.5
}
// =======================================================
object { Le_Decor }
2025-01-28 02:38:55 +11:00
// object { Repere }
2025-01-27 13:33:53 +11:00
// =======================================================
#local CamX = -2.7 + (1.4*Cos_01(NormClock));
2025-01-27 13:33:53 +11:00
#local CamY = 2.58 + (0.034*sqrt(NormClock));
camera {
location <CamX, CamY, 5.40>
2025-02-04 11:06:18 +11:00
look_at <0, 1.6, 0>
angle 39 - 5*Cos_01(NormClock)
2025-01-27 13:33:53 +11:00
}