tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
Coordinates

Enumerations

enum  tpbrt_coord_system_type_t { TPBRT_COORD_SYSTEM_TYPE_CAMERA_WORLD = 0 , TPBRT_COORD_SYSTEM_TYPE_CAMERA = 1 , TPBRT_COORD_SYSTEM_TYPE_WORLD = 2 , TPBRT_COORD_SYSTEM_TYPE_MAX_NUM = 3 }
 Coordinate System type. More...
 

Detailed Description

Enumeration Type Documentation

◆ tpbrt_coord_system_type_t

Coordinate System type.

Enumerator
TPBRT_COORD_SYSTEM_TYPE_CAMERA_WORLD 

Translates the scene so that the camera is at the origin.

TPBRT_COORD_SYSTEM_TYPE_CAMERA 

Uses camera space (performance may suffer due to the scene being rotated).

TPBRT_COORD_SYSTEM_TYPE_WORLD 

Uses world space (accuracy may suffer due to floating-point precision).

TPBRT_COORD_SYSTEM_TYPE_MAX_NUM 

Count of available coordinate system types.