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

Homogeneous media parameters. More...

#include <tinypbrt/detail/media.h>

Data Fields

tpbrt_float_t g
 The medium's Henyey-Greenstein phase function asymmetry parameter.
 
tpbrt_float_t le_scale
 Scale factor applied to the medium's emitted radiance.
 
tpbrt_spectrum_t le
 Spectral distribution of the medium's emitted radiance, if any.
 
tpbrt_media_scattering_t scattering
 Homogeneous scattering value.
 
tpbrt_float_t scale
 Scale factor applied to the absorption and scattering cross sections.
 

Detailed Description

Homogeneous media parameters.

Field Documentation

◆ g

tpbrt_float_t tpbrt_media_homogeneous_params_t::g

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

◆ le_scale

tpbrt_float_t tpbrt_media_homogeneous_params_t::le_scale

Scale factor applied to the medium's emitted radiance.

◆ le

tpbrt_spectrum_t tpbrt_media_homogeneous_params_t::le

Spectral distribution of the medium's emitted radiance, if any.

◆ scattering

tpbrt_media_scattering_t tpbrt_media_homogeneous_params_t::scattering

Homogeneous scattering value.

◆ scale

tpbrt_float_t tpbrt_media_homogeneous_params_t::scale

Scale factor applied to the absorption and scattering cross sections.


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