camera adjusts
This commit is contained in:
@@ -56,12 +56,14 @@ object { Le_Decor }
|
||||
#local CamY = 0.42 + (18.36 * Cos_01(NormClock));
|
||||
#local CamZ = 122 - (22.9 * Cos_01(NormClock));
|
||||
|
||||
#local LatX = 3 * NormClock;
|
||||
#local LatY = (Y_mean / Y_count) - (0.5*NormClock);
|
||||
#local LatZ = 2.22;
|
||||
// #debug concat("escadrille: Lat Y ", str(LatY, 7, 3),"\n")
|
||||
|
||||
camera {
|
||||
location <CamX, CamY, CamZ>
|
||||
look_at <0.0, LatY, 0>
|
||||
look_at <LatX, LatY, LatZ>
|
||||
right <image_width/image_height, 0, 0>
|
||||
angle 54 - (35 * NormClock)
|
||||
}
|
||||
|
||||
@@ -15,12 +15,12 @@ object { Le_Decor }
|
||||
// XXX instrumenter la caméra serait un GROS plus !!!
|
||||
// =======================================================
|
||||
|
||||
#declare Debut = <-33, 89, 289> ;
|
||||
#declare Fin = < 36, 78, -2> ;
|
||||
#declare Debut = <-33, 92, 289> ;
|
||||
#declare Fin = < 36, 83, -2> ;
|
||||
#declare Pos = sqrt(NormClock);
|
||||
#declare PosCam = Interpolate(Debut, Fin, Pos);
|
||||
|
||||
#declare LatX = 0.614 * sin(NormClock*11.27);
|
||||
#declare LatX = 0.614 * sin(NormClock*13.37);
|
||||
#declare LatZ = -(150 + (7*NormClock));
|
||||
#declare LatCam = PosCam + <LatX, -95, LatZ>;
|
||||
|
||||
@@ -30,6 +30,6 @@ camera {
|
||||
location PosCam
|
||||
look_at LatCam
|
||||
right <image_width/image_height, 0, 0>
|
||||
angle 64
|
||||
angle 62
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user