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

PBRT Camera representation. More...

#include <tinypbrt/detail/camera.h>

Data Fields

tpbrt_float_t shutter_open
 The time at which the virtual camera shutter opens.
 
tpbrt_float_t shutter_close
 The time at which the virtual camera shutter closes.
 
tpbrt_transform_animated_t transform
 Transform handle.
 
tpbrt_media_handle_t interior_media_handle
 Interior media handle.
 
tpbrt_media_handle_t exterior_media_handle
 Exterior media handle.
 
union { 
 
   tpbrt_camera_orthographic_params_t   orthographic 
 Orthographic camera parameters. More...
 
   tpbrt_camera_perspective_params_t   perspective 
 Perspective camera parameters. More...
 
   tpbrt_camera_spherical_params_t   spherical 
 Spherical camera parameters. More...
 
   tpbrt_camera_realistic_params_t   realistic 
 Realistic camera parameters. More...
 
} as 
 Initialized value depends on current type value.
 
tpbrt_camera_type_t type: 4
 Camera type.
 

Detailed Description

PBRT Camera representation.

Examples
examples/scene_info/main.c.

Field Documentation

◆ shutter_open

tpbrt_float_t tpbrt_camera_t::shutter_open

The time at which the virtual camera shutter opens.

Examples
examples/scene_info/main.c.

◆ shutter_close

tpbrt_float_t tpbrt_camera_t::shutter_close

The time at which the virtual camera shutter closes.

Examples
examples/scene_info/main.c.

◆ transform

tpbrt_transform_animated_t tpbrt_camera_t::transform

Transform handle.

Examples
examples/scene_info/main.c.

◆ interior_media_handle

tpbrt_media_handle_t tpbrt_camera_t::interior_media_handle

Interior media handle.

◆ exterior_media_handle

tpbrt_media_handle_t tpbrt_camera_t::exterior_media_handle

Exterior media handle.

◆ orthographic

tpbrt_camera_orthographic_params_t tpbrt_camera_t::orthographic

Orthographic camera parameters.

Examples
examples/scene_info/main.c.

◆ perspective

tpbrt_camera_perspective_params_t tpbrt_camera_t::perspective

Perspective camera parameters.

Examples
examples/scene_info/main.c.

◆ spherical

tpbrt_camera_spherical_params_t tpbrt_camera_t::spherical

Spherical camera parameters.

◆ realistic

tpbrt_camera_realistic_params_t tpbrt_camera_t::realistic

Realistic camera parameters.

Examples
examples/scene_info/main.c.

◆ [union]

union { ... } tpbrt_camera_t::as

Initialized value depends on current type value.

Examples
examples/scene_info/main.c.

◆ type

tpbrt_camera_type_t tpbrt_camera_t::type

Camera type.

Examples
examples/scene_info/main.c.

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