|
BRL-CAD
|
#include <defines.h>
Data Fields | |
| char * | db_filename |
| path to the .g geometry database | |
| char * | objects |
| space-separated list of top-level objects | |
| double | viewrotscale [16] |
| Viewrotscale 4x4 matrix (row-major); [15] = 0.5*viewsize. | |
| double | eye_model [3] |
| eye position in model space (mm) | |
| double | viewsize |
| view width in model units (mm) | |
| double | aspect |
| pixel aspect ratio (width/height) | |
| double | perspective |
| perspective half-angle in degrees; 0 = orthographic | |
Optional rendering metadata that can be embedded in image files (e.g., PNG tEXt chunks). When present, it records the scene and camera setup used to produce the image, enabling exact ray reconstruction for debugging with nirt.
All floating-point values are stored as full-precision doubles so they can be serialised with std::numeric_limits<double>::max_digits10 significant digits and read back without loss.
| double viewrotscale[16] |
| double perspective |