a good camera

This commit is contained in:
Tonton Th 2025-09-27 02:19:49 +02:00
parent 6dde4cbf0f
commit f0e69c9478

View File

@ -15,31 +15,28 @@
#include "trident.inc" #include "trident.inc"
// ======================================================= // =======================================================
// #include "dynamic.inc"
object { Le_Decor } object { Le_Decor }
// =======================================================
#debug "ACTION !!!\n" #debug "ACTION !!!\n"
#include "dynamic.inc" #include "dynamic.inc"
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
// ======================================================= // =======================================================
#declare CamY = 7 + (3*Cos_01(NormClock)); #declare CK = 2.59 * Cos_01(NormClock);
#declare CamY = 7 + (4*Cos_01(NormClock));
#declare LatX = 20 * cos(NormClock*1.81); #declare LatX = 20 * cos(CK*1.08);
#declare LatY = 3.8; #declare LatY = 3.0 - sqrt(NormClock);
#declare LatZ = 20 * sin(NormClock*2.53); #declare LatZ = 20 * sin(CK);
object { Repere scale 2 translate <LatX, LatY, LatZ> } // object { Repere scale 2 translate <LatX, LatY, LatZ> }
camera { camera {
// orthographic // orthographic
location <0, CamY, 0> location <0, CamY, 0>
look_at <LatX, LatY, LatZ> look_at <LatX, LatY, LatZ>
angle 70 angle 75
} }