Camera position

Menu

//=============================================================//
// Put camera.txt in the directory InsertMenu
// Don't forget to put camera.inc in your include directory
// Author : Jean Montambeault
//=============================================================//
//========================== camera.txt ===========================//
#declare Zoom = 1;
#declare Distance = 20;
#declare Azimut = 0; // Moving angle
#declare Rising = 10; // angle in degrees above (positive) or under (negative) the XZ plane; limitations : -90 < Rising < 90
#declare Interest_Center = <0,0,0>;

#include "camera.inc"
Camera (Distance, Azimut, Rising, Interest_Center);
//=============================================================//

// Put camera.inc in the include directory
// Don't forget to put camera.txt in the directory InsertMenu
//========================= camera.inc ============================//
#macro Camera (Distance, Azimut, Rising, Interest_Center)
#declaere Rising = radians (Rising);
#declare Azimut = radians (Azimut + 270);

#ifndef (Zoom)
#declare Zoom = 1;
#end

#declare Kodak = camera {
  &nbps;right 4/3*x
  &nbps;up y
  &nbps;direction <0, 0, Zoom>
  &nbps;location Interest_Center +
  &nbps;look_at Interest_Center
}
camera {Kodak}
#end
//=============================================================//