BRL-CAD
Loading...
Searching...
No Matches
icv_render_info Struct Reference

#include <defines.h>

Data Fields

chardb_filename
 path to the .g geometry database
 
charobjects
 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
 

Detailed Description

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.

Definition at line 76 of file defines.h.

Field Documentation

◆ db_filename

char* db_filename

path to the .g geometry database

Definition at line 77 of file defines.h.

◆ objects

char* objects

space-separated list of top-level objects

Definition at line 78 of file defines.h.

◆ viewrotscale

double viewrotscale[16]

Viewrotscale 4x4 matrix (row-major); [15] = 0.5*viewsize.

Definition at line 81 of file defines.h.

◆ eye_model

double eye_model[3]

eye position in model space (mm)

Definition at line 82 of file defines.h.

◆ viewsize

double viewsize

view width in model units (mm)

Definition at line 83 of file defines.h.

◆ aspect

double aspect

pixel aspect ratio (width/height)

Definition at line 84 of file defines.h.

◆ perspective

double perspective

perspective half-angle in degrees; 0 = orthographic

Definition at line 85 of file defines.h.


The documentation for this struct was generated from the following file: