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

Goniometric light source parameters. More...

#include <tinypbrt/detail/light.h>

Data Fields

tpbrt_string_t file_name
 The filename of the image file that stores a goniometric diagram to use for the lighting distribution.
 
tpbrt_spectrum_t i
 The spectral distribution of emission from the light; the radiant intensity in a particular direction is computed as the product of this value, the "scale" parameter, the appropriate value from the goniometric diagram table, and the light's power, if specified.
 

Detailed Description

Goniometric light source parameters.

Field Documentation

◆ file_name

tpbrt_string_t tpbrt_light_source_goniometric_params_t::file_name

The filename of the image file that stores a goniometric diagram to use for the lighting distribution.

Examples
examples/lights/main.c.

◆ i

tpbrt_spectrum_t tpbrt_light_source_goniometric_params_t::i

The spectral distribution of emission from the light; the radiant intensity in a particular direction is computed as the product of this value, the "scale" parameter, the appropriate value from the goniometric diagram table, and the light's power, if specified.

Examples
examples/lights/main.c.

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