|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Spot light source parameters. More...
#include <tinypbrt/detail/light.h>
Data Fields | |
| tpbrt_spectrum_t | i |
| Spectral distribution of the light's emitted radiant intensity. | |
| tpbrt_point_t | from |
| One of two points defining the lighting vector. | |
| tpbrt_point_t | to |
| One of two points defining the lighting vector. | |
| tpbrt_float_t | cone_angle |
| The angle that the spotlight's cone makes with its primary axis. For directions up to this angle from the main axis, the full radiant intensity given by "I" is emitted. After this angle and up to "coneangle" + "conedeltaangle", illumination falls off until it is zero. | |
| tpbrt_float_t | cone_delta_angle |
| The angle at which the spotlight intensity begins to fall off at the edges. | |
Spot light source parameters.
| tpbrt_spectrum_t tpbrt_light_source_spot_params_t::i |
Spectral distribution of the light's emitted radiant intensity.
| tpbrt_point_t tpbrt_light_source_spot_params_t::from |
One of two points defining the lighting vector.
| tpbrt_point_t tpbrt_light_source_spot_params_t::to |
One of two points defining the lighting vector.
| tpbrt_float_t tpbrt_light_source_spot_params_t::cone_angle |
The angle that the spotlight's cone makes with its primary axis. For directions up to this angle from the main axis, the full radiant intensity given by "I" is emitted. After this angle and up to "coneangle" + "conedeltaangle", illumination falls off until it is zero.
| tpbrt_float_t tpbrt_light_source_spot_params_t::cone_delta_angle |
The angle at which the spotlight intensity begins to fall off at the edges.