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

Rgb grid media parameters. More...

#include <tinypbrt/detail/media.h>

Data Fields

tpbrt_rgb_array_t le
 nx*ny*nz RGB colors that specify a grid of emission spectra.
 
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_float_t g
 The medium's Henyey-Greenstein phase function asymmetry parameter.
 
tpbrt_rgb_array_t sigma_a
 nx*ny*nz RGB colors that specify the grid of absorption cross sections.
 
tpbrt_rgb_array_t sigma_s
 nx*ny*nz RGB colors that specify the grid of scattering cross sections.
 
tpbrt_float_t scale
 Scale factor applied to the absorption and scattering cross sections.
 
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.
 

Detailed Description

Rgb grid media parameters.

Field Documentation

◆ le

tpbrt_rgb_array_t tpbrt_media_rgb_grid_params_t::le

nx*ny*nz RGB colors that specify a grid of emission spectra.

◆ p0

tpbrt_point3_t tpbrt_media_rgb_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.

◆ le_scale

tpbrt_float_t tpbrt_media_rgb_grid_params_t::le_scale

Scale factor applied to the medium's emitted radiance.

◆ p1

tpbrt_point3_t tpbrt_media_rgb_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.

◆ g

tpbrt_float_t tpbrt_media_rgb_grid_params_t::g

The medium's Henyey-Greenstein phase function asymmetry parameter.

◆ sigma_a

tpbrt_rgb_array_t tpbrt_media_rgb_grid_params_t::sigma_a

nx*ny*nz RGB colors that specify the grid of absorption cross sections.

◆ sigma_s

tpbrt_rgb_array_t tpbrt_media_rgb_grid_params_t::sigma_s

nx*ny*nz RGB colors that specify the grid of scattering cross sections.

◆ scale

tpbrt_float_t tpbrt_media_rgb_grid_params_t::scale

Scale factor applied to the absorption and scattering cross sections.

◆ nx

tpbrt_uint_t tpbrt_media_rgb_grid_params_t::nx

Grid size in x-coordinates.

◆ ny

tpbrt_uint_t tpbrt_media_rgb_grid_params_t::ny

Grid size in y-coordinates.

◆ nz

tpbrt_uint_t tpbrt_media_rgb_grid_params_t::nz

Grid size in z-coordinates.


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