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

Go to the source code of this file.

Data Structures

struct  tpbrt_camera_orthographic_params_t
 Orthographic camera parameters. More...
 
struct  tpbrt_camera_perspective_params_t
 Perspective camera parameters. More...
 
struct  tpbrt_camera_spherical_params_t
 Spherical camera parameters. More...
 
struct  tpbrt_camera_realistic_aperture_t
 Realistic camera aperture. More...
 
struct  tpbrt_camera_realistic_params_t
 Realistic camera parameters. More...
 
struct  tpbrt_camera_t
 PBRT Camera representation. More...
 

Macros

#define _TINYPBRT_CAMERA_H_
 

Enumerations

enum  tpbrt_camera_type_t {
  TPBRT_CAMERA_TYPE_ORTHOGRAPHIC = 0 , TPBRT_CAMERA_TYPE_PERSPECTIVE = 1 , TPBRT_CAMERA_TYPE_REALISTIC = 2 , TPBRT_CAMERA_TYPE_SPHERICAL = 3 ,
  TPBRT_CAMERA_TYPE_MAX_NUM = 4
}
 Used to declare camera type. More...
 
enum  tpbrt_camera_spherical_mapping_t { TPBRT_CAMERA_SPHERICAL_MAPPING_EQUAL_AREA = 0 , TPBRT_CAMERA_SPHERICAL_MAPPING_EQUI_RECTANGULAR = 1 , TPBRT_CAMERA_SPHERICAL_MAPPING_MAX_NUM = 2 }
 Spherical camera mapping. More...
 
enum  tpbrt_camera_realistic_aperture_type_t { TPBRT_CAMERA_REALISTIC_APERTURE_TYPE_FILE_NAME = 0 , TPBRT_CAMERA_REALISTIC_APERTURE_TYPE_BUILTIN = 1 , TPBRT_CAMERA_REALISTIC_APERTURE_TYPE_MAX_NUM = 2 }
 Realistic camera aperture value type. More...
 
enum  tpbrt_camera_realistic_aperture_builtin_t {
  TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_CIRCULAR = 0 , TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_GAUSSIAN = 1 , TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_SQUARE = 2 , TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_PENTAGON = 3 ,
  TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_STAR = 4 , TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_MAX_NUM = 5
}
 Realistic camera aperture builtin type. More...
 

Macro Definition Documentation

◆ _TINYPBRT_CAMERA_H_

#define _TINYPBRT_CAMERA_H_