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

Cloud media parameters. More...

#include <tinypbrt/detail/media.h>

Data Fields

tpbrt_float_t density
 Additional scale factor applied to the computed cloud density.
 
tpbrt_float_t frequency
 Parameter that controls the frequency at which the cloud's density varies.
 
tpbrt_point3_t p0
 Extent of the cloud in the medium's space.
 
tpbrt_float_t g
 The medium's Henyey-Greenstein phase function asymmetry parameter.
 
tpbrt_point3_t p1
 Extent of the cloud in the medium's space.
 
tpbrt_float_t wispiness
 Parameter that controls how wispy the cloud density is.
 
tpbrt_spectrum_t sigma_a
 The cloud's absorption cross section.
 
tpbrt_spectrum_t sigma_s
 The cloud's scattering cross section.
 

Detailed Description

Cloud media parameters.

Field Documentation

◆ density

tpbrt_float_t tpbrt_media_cloud_params_t::density

Additional scale factor applied to the computed cloud density.

◆ frequency

tpbrt_float_t tpbrt_media_cloud_params_t::frequency

Parameter that controls the frequency at which the cloud's density varies.

◆ p0

tpbrt_point3_t tpbrt_media_cloud_params_t::p0

Extent of the cloud in the medium's space.

◆ g

tpbrt_float_t tpbrt_media_cloud_params_t::g

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

◆ p1

tpbrt_point3_t tpbrt_media_cloud_params_t::p1

Extent of the cloud in the medium's space.

◆ wispiness

tpbrt_float_t tpbrt_media_cloud_params_t::wispiness

Parameter that controls how wispy the cloud density is.

◆ sigma_a

tpbrt_spectrum_t tpbrt_media_cloud_params_t::sigma_a

The cloud's absorption cross section.

◆ sigma_s

tpbrt_spectrum_t tpbrt_media_cloud_params_t::sigma_s

The cloud's scattering cross section.


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