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

Orthographic camera parameters. More...

#include <tinypbrt/detail/camera.h>

Data Fields

tpbrt_float_t frame_aspect_ratio
 The aspect ratio of the film.
 
tpbrt_float_t screen_window [4]
 The bounds of the film plane in screen space.
 
tpbrt_float_t lens_radius
 The radius of the lens.
 
tpbrt_float_t focal_distance
 The focal distance of the lens. If "lensradius" is zero, this has no effect. Otherwise, it specifies the distance from the camera origin to the focal plane.
 

Detailed Description

Orthographic camera parameters.

Field Documentation

◆ frame_aspect_ratio

tpbrt_float_t tpbrt_camera_orthographic_params_t::frame_aspect_ratio

The aspect ratio of the film.

◆ screen_window

tpbrt_float_t tpbrt_camera_orthographic_params_t::screen_window[4]

The bounds of the film plane in screen space.

Examples
examples/scene_info/main.c.

◆ lens_radius

tpbrt_float_t tpbrt_camera_orthographic_params_t::lens_radius

The radius of the lens.

◆ focal_distance

tpbrt_float_t tpbrt_camera_orthographic_params_t::focal_distance

The focal distance of the lens. If "lensradius" is zero, this has no effect. Otherwise, it specifies the distance from the camera origin to the focal plane.


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