|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Uniform grid media parameters. More...
#include <tinypbrt/detail/media.h>
Data Fields | |
| tpbrt_float_array_t | density |
| nx*ny*nz density values, in row-major order. | |
| tpbrt_spectrum_t | le |
| Spectral distribution of the medium's emitted radiance. | |
| tpbrt_point3_t | p0 |
| Extent of the density grid in the medium's space: the coordinates of the lookup point are found with respect to these bounds before the density interpolant weights are computed. | |
| tpbrt_float_t | le_scale |
| Scale factor applied to the medium's emitted radiance. | |
| tpbrt_point3_t | p1 |
| Extent of the density grid in the medium's space: the coordinates of the lookup point are found with respect to these bounds before the density interpolant weights are computed. | |
| tpbrt_uint_t | nx |
| Grid size in x-coordinates. | |
| tpbrt_uint_t | ny |
| Grid size in y-coordinates. | |
| tpbrt_uint_t | nz |
| Grid size in z-coordinates. | |
| tpbrt_media_scattering_t | scattering |
| Scattering value. | |
| tpbrt_float_t | scale |
| Scale factor applied to the absorption and scattering cross sections. | |
| tpbrt_float_t | g |
| The medium's Henyey-Greenstein phase function asymmetry parameter. | |
| tpbrt_float_array_t | temperature |
| nx*ny*nz blackbody temperature values in kelvin, in row-major order. If specified, these are trilinearly interpolated and then converted to blackbody emission spectra to describe the medium's emission. | |
| tpbrt_float_t | temperature_offset |
| Offset value that is added to the emission temperature, if present. | |
| tpbrt_float_t | temperature_scale |
| Scale factor applied to the offset emission temperature to get a temperature in kelvin before the blackbody emission is determined. | |
Uniform grid media parameters.
| tpbrt_float_array_t tpbrt_media_uniform_grid_params_t::density |
nx*ny*nz density values, in row-major order.
| tpbrt_spectrum_t tpbrt_media_uniform_grid_params_t::le |
Spectral distribution of the medium's emitted radiance.
| tpbrt_point3_t tpbrt_media_uniform_grid_params_t::p0 |
Extent of the density grid in the medium's space: the coordinates of the lookup point are found with respect to these bounds before the density interpolant weights are computed.
| tpbrt_float_t tpbrt_media_uniform_grid_params_t::le_scale |
Scale factor applied to the medium's emitted radiance.
| tpbrt_point3_t tpbrt_media_uniform_grid_params_t::p1 |
Extent of the density grid in the medium's space: the coordinates of the lookup point are found with respect to these bounds before the density interpolant weights are computed.
| tpbrt_uint_t tpbrt_media_uniform_grid_params_t::nx |
Grid size in x-coordinates.
| tpbrt_uint_t tpbrt_media_uniform_grid_params_t::ny |
Grid size in y-coordinates.
| tpbrt_uint_t tpbrt_media_uniform_grid_params_t::nz |
Grid size in z-coordinates.
| tpbrt_media_scattering_t tpbrt_media_uniform_grid_params_t::scattering |
Scattering value.
| tpbrt_float_t tpbrt_media_uniform_grid_params_t::scale |
Scale factor applied to the absorption and scattering cross sections.
| tpbrt_float_t tpbrt_media_uniform_grid_params_t::g |
The medium's Henyey-Greenstein phase function asymmetry parameter.
| tpbrt_float_array_t tpbrt_media_uniform_grid_params_t::temperature |
nx*ny*nz blackbody temperature values in kelvin, in row-major order. If specified, these are trilinearly interpolated and then converted to blackbody emission spectra to describe the medium's emission.
| tpbrt_float_t tpbrt_media_uniform_grid_params_t::temperature_offset |
Offset value that is added to the emission temperature, if present.
| tpbrt_float_t tpbrt_media_uniform_grid_params_t::temperature_scale |
Scale factor applied to the offset emission temperature to get a temperature in kelvin before the blackbody emission is determined.