HexaCone/survol.pov

49 lines
929 B
POVRay
Raw Normal View History

2025-02-02 03:31:21 +11:00
/*
* H E X A C O N E - S U R V O L
* 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"
#include "hexawood.inc"
2025-02-02 03:31:21 +11:00
// =======================================================
/*
* on fait passer un hexatruc
*/
2025-02-19 12:49:16 +11:00
#declare A = <-SzSol, 16, 9>;
#declare B = < SzSol+4, 18, 11>;
2025-02-04 11:06:18 +11:00
#declare P = Interpolate(A, B, NormClock);
object { HexaCone () rotate y*((12*NormClock)+80) translate P }
2025-02-19 12:49:16 +11:00
#include "dynamic.inc"
2025-02-04 11:06:18 +11:00
2025-02-02 03:31:21 +11:00
object { Le_Decor }
2025-02-10 06:44:05 +11:00
// object { Repere translate y*2 }
2025-02-02 03:31:21 +11:00
// =======================================================
2025-02-19 12:49:16 +11:00
#declare Debut = <-3, 57, 47> ;
#declare Fin = < 2, 53, 7> ;
2025-02-02 03:31:21 +11:00
#declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos);
2025-02-04 11:06:18 +11:00
#declare LatCam = PosCam + <-1, -20, -(NormClock+9)>;
2025-02-02 03:31:21 +11:00
camera {
location PosCam
look_at LatCam
angle 54
2025-02-02 03:31:21 +11:00
}