2#ifndef _TINYPBRT_FILM_H_
3#define _TINYPBRT_FILM_H_
tpbrt_coord_system_type_t
Coordinate System type.
Definition coord.h:20
tpbrt_film_sensor_t
Film sensor type.
Definition film.h:60
tpbrt_film_type_t
Film value type.
Definition film.h:23
@ TPBRT_FILM_SENSOR_SONY_ILCE_6400
Sony ILCE 6400 sensor.
Definition film.h:90
@ TPBRT_FILM_SENSOR_CANON_EOS_1DX_MKII
Canon EOS 1DX MK II sensor.
Definition film.h:66
@ TPBRT_FILM_SENSOR_CANON_EOS_5D_MKII
Canon EOS 5D MK II sensor.
Definition film.h:74
@ TPBRT_FILM_SENSOR_CANON_EOS_100D
Canon EOS 100D sensor.
Definition film.h:64
@ TPBRT_FILM_SENSOR_CANON_EOS_200D
Canon EOS 200D sensor.
Definition film.h:68
@ TPBRT_FILM_SENSOR_SONY_ILCE_7RM3
Sony ILCE 7RM3 sensor.
Definition film.h:94
@ TPBRT_FILM_SENSOR_CANON_EOS_200D_MKII
Canon EOS 200D MK II sensor.
Definition film.h:70
@ TPBRT_FILM_SENSOR_HASSELBLAD_L1D_20C
Hasselblad L1D 20C sensor.
Definition film.h:84
@ TPBRT_FILM_SENSOR_CANON_EOS_5D_MKIV
Canon EOS 5D MK IV sensor.
Definition film.h:78
@ TPBRT_FILM_SENSOR_SONY_ILCE_7M3
Sony ILCE 7M3 sensor.
Definition film.h:92
@ TPBRT_FILM_SENSOR_NIKON_D810
Nikon D810 sensor.
Definition film.h:86
@ TPBRT_FILM_SENSOR_CANON_EOS_M
Canon EOS M sensor.
Definition film.h:82
@ TPBRT_FILM_SENSOR_MAX_NUM
Count of available film sensor types.
Definition film.h:98
@ TPBRT_FILM_SENSOR_NIKON_D850
Nikon D850 sensor.
Definition film.h:88
@ TPBRT_FILM_SENSOR_CANON_EOS_5D_MKIII
Canon EOS 5D MK III sensor.
Definition film.h:76
@ TPBRT_FILM_SENSOR_SONY_ILCE_9
Sony ILCE 9 sensor.
Definition film.h:96
@ TPBRT_FILM_SENSOR_CANON_EOS_5D
Canon EOS 5D sensor.
Definition film.h:72
@ TPBRT_FILM_SENSOR_CIE_1931
The CIE 1931 spectral response curves.
Definition film.h:62
@ TPBRT_FILM_SENSOR_CANON_EOS_5DS
Canon EOS 5DS sensor.
Definition film.h:80
@ TPBRT_FILM_TYPE_RGB
Stores RGB images using the current color space when the Film directive is encountered.
Definition film.h:25
@ TPBRT_FILM_TYPE_GBUFFER
In addition to RGB, stores multiple additional channels that encode information about the visible geo...
Definition film.h:27
@ TPBRT_FILM_TYPE_SPECTRAL
stores a discretized spectral distribution at each pixel, in addition to RGB (for convenience when vi...
Definition film.h:29
@ TPBRT_FILM_TYPE_MAX_NUM
Count of available film types.
Definition film.h:31
float tpbrt_float_t
Float type.
Definition fwd.h:83
uint32_t tpbrt_uint_t
Unsigned int type.
Definition fwd.h:78
uint8_t tpbrt_bool_t
Bool type.
Definition fwd.h:68
GBuffer film type parameters.
Definition film.h:38
tpbrt_coord_system_type_t coordinate_system
Tells in which coordinate system geometric data is stored.
Definition film.h:40
Spectral film type parameters.
Definition film.h:47
tpbrt_float_t lambda_min
Minimum wavelength for spectral range.
Definition film.h:51
tpbrt_float_t lambda_max
Maximum wavelength for spectral range.
Definition film.h:53
tpbrt_uint_t nbuckets
Number of buckets that the spectral range is discretized into.
Definition film.h:49
PBRT film representation.
Definition film.h:105
tpbrt_float_t iso
Film sensitivity to light; final pixel values are scaled by the "iso" value divided by 100.
Definition film.h:119
tpbrt_string_t file_name
The output filename.
Definition film.h:111
tpbrt_float_t white_balance
If non-zero, this gives a temperature in kelvin that is used as the reference color temperature used ...
Definition film.h:121
tpbrt_float_t max_component_value
Image sample values with luminance greater than this value are clamped to have this luminance....
Definition film.h:123
tpbrt_film_spectral_params_t spectral
Spectral film type parameters.
Definition film.h:130
tpbrt_uint_t pixel_bounds[4]
A sub-region of the image to render, specified using pixel coordinates.
Definition film.h:109
tpbrt_uint_t y_resolution
The number of pixels in the y direction.
Definition film.h:115
tpbrt_uint_t x_resolution
The number of pixels in the x direction.
Definition film.h:113
tpbrt_float_t crop_window[4]
The sub-region of the image to render. The four values specified should be fractions in the range [0,...
Definition film.h:107
tpbrt_float_t diagonal
Diagonal length of the film, in mm. (This value is only used when the RealisticCamera is used....
Definition film.h:117
tpbrt_film_gbuffer_params_t gbuffer
GBuffer film type parameters.
Definition film.h:128
tpbrt_film_type_t type
Film type.
Definition film.h:134
tpbrt_film_sensor_t sensor
Characterizes the sensor's response for red, green, and blue colors.
Definition film.h:136
tpbrt_bool_t save_fp16
Whether 16-bit floating point values (as opposed to 32-bit floating point values) should be used when...
Definition film.h:138
union tpbrt_film_t::@4 as
value dependent on type.
Simple string representation (not always terminated with '\0', the size determines the length of the ...
Definition common.h:20