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_distant_params_t Struct Reference

Distant light source parameters. More...

#include <tinypbrt/detail/light.h>

Data Fields

tpbrt_spectrum_t l
 Spectral distribution of the radiance emitted by the light source.
 
tpbrt_point_t from
 "from" and "to" define the direction vector along which illumination from the light arrives at the scene. The defaults give a light that shines along the z axis.
 
tpbrt_point_t to
 "from" and "to" define the direction vector along which illumination from the light arrives at the scene. The defaults give a light that shines along the z axis.
 

Detailed Description

Distant light source parameters.

Field Documentation

◆ l

tpbrt_spectrum_t tpbrt_light_source_distant_params_t::l

Spectral distribution of the radiance emitted by the light source.

Examples
examples/lights/main.c.

◆ from

tpbrt_point_t tpbrt_light_source_distant_params_t::from

"from" and "to" define the direction vector along which illumination from the light arrives at the scene. The defaults give a light that shines along the z axis.

Examples
examples/lights/main.c.

◆ to

tpbrt_point_t tpbrt_light_source_distant_params_t::to

"from" and "to" define the direction vector along which illumination from the light arrives at the scene. The defaults give a light that shines along the z axis.

Examples
examples/lights/main.c.

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