| Element type: | miSCENE_CAMERA |
| Data type: | miCamera |
| Sizes: | - |
| Defaults: | as described below |
typedef struct miCamera {
miBoolean orthographic; /* orthographic rendering? */
float focal; /* focal length */
float aperture; /* aperture */
float aspect; /* aspect ratio of the image */
miRange clip; /* min/max clipping */
int x_resolution; /* x resolution */
int y_resolution; /* y resolution */
struct {int xl, yl, xh, yh;}
window; /* corners of subwindow */
miTag volume; /* opt. volume shader */
miTag environment; /* opt. environment shader */
miTag lens; /* opt. lens shader */
miTag output; /* opt. output shaders/files */
int frame; /* current frame number */
float frame_time; /* ... as time in seconds */
int frame_field; /* 0=frame, 1/2=field number */
float x_offset; /* x image offset in pixels */
float y_offset; /* y image offset in pixels */
miTag userdata; /* optional user data blocks */
miTag pass; /* opt. pass function chain */
float focus; /* not used */
float radius; /* not used */
miBoolean pass_mask; /* not used */
miTag buffertag; /* frame buffer object */
miCamera_stereo stereo; /* stereo rendering method */
float eye_separation; /* left-right eye distance */
float parallax_distance; /* stereo fusion distance */
int spare[7]; /* not used */
} miCamera;
A translator must provide: nothing.
A translator may provide: all fields.
miCAMERA_STEREO_OFF)
miCAMERA_STEREO_OFFAXIS.
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.