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

Nano vdb 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 sigma_a
 The absorption cross section; this value is scaled by the NanoVDB volume's density at each point.
 
tpbrt_spectrum_t sigma_s
 The scattering cross section; this value is scaled by the NanoVDB volume's density at each point.
 
tpbrt_string_t file_name
 Filename of the NanoVDB volume.
 
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.
 
tpbrt_float_t scale
 Additional scale factor applied to the absorption and scattering cross sections.
 

Detailed Description

Nano vdb media parameters.

Field Documentation

◆ g

tpbrt_float_t tpbrt_media_nano_vdb_params_t::g

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

◆ le_scale

tpbrt_float_t tpbrt_media_nano_vdb_params_t::le_scale

Scale factor applied to the medium's emitted radiance.

◆ sigma_a

tpbrt_spectrum_t tpbrt_media_nano_vdb_params_t::sigma_a

The absorption cross section; this value is scaled by the NanoVDB volume's density at each point.

◆ sigma_s

tpbrt_spectrum_t tpbrt_media_nano_vdb_params_t::sigma_s

The scattering cross section; this value is scaled by the NanoVDB volume's density at each point.

◆ file_name

tpbrt_string_t tpbrt_media_nano_vdb_params_t::file_name

Filename of the NanoVDB volume.

◆ temperature_offset

tpbrt_float_t tpbrt_media_nano_vdb_params_t::temperature_offset

Offset value that is added to the emission temperature, if present.

◆ temperature_scale

tpbrt_float_t tpbrt_media_nano_vdb_params_t::temperature_scale

Scale factor applied to the offset emission temperature to get a temperature in kelvin before the blackbody emission is determined.

◆ scale

tpbrt_float_t tpbrt_media_nano_vdb_params_t::scale

Additional scale factor applied to the absorption and scattering cross sections.


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