...
NSI has a powerful camera description features that allow rendering of multiple points of view at once (as in stereo renders). Moreover, a single camera can be used to render multiple different screens. This is achieved by separating the camera's view description from screen's characteristics such as resolution, crop and shading samples. This means that it is possible to render two different images using the same camera with each image having its own resolution and quality settings.
Code Block | ||||
---|---|---|---|---|
| ||||
/**
Create a perspective camera and make it point down the Z axis.
In NSI, Z- goes straight away from the viewer (same reference
system as in most 3D applications, e.g. Maya).
*/
const char *k_camera_handle = "camera";
nsi.Create( k_camera_handle, "camera" );
|