Developer Documentation
|
OpenFlipper includes a data type "DATA_CAMERA" for visualizing cameras. A camera consists of the modelview and the projection matrix. Additionally it requires the aspect ratio and the near/far plane distances.
To use the dataType, create an empty object of type DATA_CAMERA
Now that you have the camera node, you have to set some variables.
This will setup all required parameters of your camera. Don't forget to call
to make your changes visible.