|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
PBRT film representation. More...
#include <tinypbrt/detail/film.h>
Data Fields | ||
| 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,1], and they represent x_min, x_max, y_min, and y_max, respectively. These values are in normalized device coordinates, with (0,0) in the upper-left corner of the image. | ||
| tpbrt_uint_t | pixel_bounds [4] | |
| A sub-region of the image to render, specified using pixel coordinates. | ||
| tpbrt_string_t | file_name | |
| The output filename. | ||
| tpbrt_uint_t | x_resolution | |
| The number of pixels in the x direction. | ||
| tpbrt_uint_t | y_resolution | |
| The number of pixels in the y direction. | ||
| tpbrt_float_t | diagonal | |
| Diagonal length of the film, in mm. (This value is only used when the RealisticCamera is used.) | ||
| tpbrt_float_t | iso | |
| Film sensitivity to light; final pixel values are scaled by the "iso" value divided by 100. | ||
| tpbrt_float_t | white_balance | |
| If non-zero, this gives a temperature in kelvin that is used as the reference color temperature used for white balancing. | ||
| tpbrt_float_t | max_component_value | |
| Image sample values with luminance greater than this value are clamped to have this luminance. (This is a hack, but can be useful for eliminating large variance spikes in scenes with difficult light transport.) | ||
| union { | ||
| tpbrt_film_gbuffer_params_t gbuffer | ||
| GBuffer film type parameters. More... | ||
| tpbrt_film_spectral_params_t spectral | ||
| Spectral film type parameters. More... | ||
| } | as | |
| value dependent on type. | ||
| tpbrt_film_type_t | type: 3 | |
| Film type. | ||
| tpbrt_film_sensor_t | sensor: 6 | |
| Characterizes the sensor's response for red, green, and blue colors. | ||
| tpbrt_bool_t | save_fp16: 1 | |
| Whether 16-bit floating point values (as opposed to 32-bit floating point values) should be used when saving images in OpenEXR format. | ||
PBRT film representation.
| tpbrt_float_t tpbrt_film_t::crop_window[4] |
The sub-region of the image to render. The four values specified should be fractions in the range [0,1], and they represent x_min, x_max, y_min, and y_max, respectively. These values are in normalized device coordinates, with (0,0) in the upper-left corner of the image.
| tpbrt_uint_t tpbrt_film_t::pixel_bounds[4] |
A sub-region of the image to render, specified using pixel coordinates.
| tpbrt_string_t tpbrt_film_t::file_name |
The output filename.
| tpbrt_uint_t tpbrt_film_t::x_resolution |
The number of pixels in the x direction.
| tpbrt_uint_t tpbrt_film_t::y_resolution |
The number of pixels in the y direction.
| tpbrt_float_t tpbrt_film_t::diagonal |
Diagonal length of the film, in mm. (This value is only used when the RealisticCamera is used.)
| tpbrt_float_t tpbrt_film_t::iso |
Film sensitivity to light; final pixel values are scaled by the "iso" value divided by 100.
| tpbrt_float_t tpbrt_film_t::white_balance |
If non-zero, this gives a temperature in kelvin that is used as the reference color temperature used for white balancing.
| tpbrt_float_t tpbrt_film_t::max_component_value |
Image sample values with luminance greater than this value are clamped to have this luminance. (This is a hack, but can be useful for eliminating large variance spikes in scenes with difficult light transport.)
| tpbrt_film_gbuffer_params_t tpbrt_film_t::gbuffer |
GBuffer film type parameters.
| tpbrt_film_spectral_params_t tpbrt_film_t::spectral |
Spectral film type parameters.
| union { ... } tpbrt_film_t::as |
value dependent on type.
| tpbrt_film_type_t tpbrt_film_t::type |
Film type.
| tpbrt_film_sensor_t tpbrt_film_t::sensor |
Characterizes the sensor's response for red, green, and blue colors.
| tpbrt_bool_t tpbrt_film_t::save_fp16 |
Whether 16-bit floating point values (as opposed to 32-bit floating point values) should be used when saving images in OpenEXR format.