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

Realistic camera parameters. More...

#include <tinypbrt/detail/camera.h>

Data Fields

tpbrt_string_t lens_file
 Specifies the name of a lens description file that gives the collection of lens elements in the lens system. A number of such lenses are available in the lenses directory in the pbrt-v4 scenes distribution.
 
tpbrt_float_t aperture_diameter
 Diameter of the lens system's aperture, specified in mm. The smaller the aperture, the less light reaches the film plane, but the greater the range of distances that are in focus.
 
tpbrt_float_t focus_distance
 Distance in meters at which the lens system is focused.
 
tpbrt_camera_realistic_aperture_t aperture
 Allows specifying the shape of the camera aperture.
 

Detailed Description

Realistic camera parameters.

Field Documentation

◆ lens_file

tpbrt_string_t tpbrt_camera_realistic_params_t::lens_file

Specifies the name of a lens description file that gives the collection of lens elements in the lens system. A number of such lenses are available in the lenses directory in the pbrt-v4 scenes distribution.

Examples
examples/scene_info/main.c.

◆ aperture_diameter

tpbrt_float_t tpbrt_camera_realistic_params_t::aperture_diameter

Diameter of the lens system's aperture, specified in mm. The smaller the aperture, the less light reaches the film plane, but the greater the range of distances that are in focus.

Examples
examples/scene_info/main.c.

◆ focus_distance

tpbrt_float_t tpbrt_camera_realistic_params_t::focus_distance

Distance in meters at which the lens system is focused.

◆ aperture

tpbrt_camera_realistic_aperture_t tpbrt_camera_realistic_params_t::aperture

Allows specifying the shape of the camera aperture.


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