-
Notifications
You must be signed in to change notification settings - Fork 1
Lights and Skymaps
Brian Wandell edited this page Aug 22, 2026
·
2 revisions
ISET3D supports point, spot, area, and environment (skymap) lights, each
with a spectrum specified by a named illuminant, a blackbody temperature, or
RGB. For the full API — piLightCreate/piLightSet, adding, deleting,
rotating, and translating lights, and setting a skymap — see the
iset3d-lights-and-skymaps skill in the ISET3D repository.
Start here:
- t_piIntro_light.m — inspect scene lights, replace them with a spot light, then an environment light.
- t_piIntro_illumination.m (.m) — replace the default lighting and inspect illuminant spectra.
Going deeper:
- t_piLightSpectrum.m — assign built-in spectral descriptions to a spotlight.
- t_arealight.m — area light creation and parameters.
- t_arealightArray.m — arrays of area lights against a textured surface.
-
t_arealightSize.m
— change area light size and compensate the SPD
specscale. - t_arealightSpread.m — rotate, translate, and scale a light while looking directly at it.
- t_lightCube.m — a six-sided cube light emitting different colors per side.
- t_skymapDaylight.m — compute a daylight spectral power distribution from an RGB value.
Manual run (marked % SkipFile — excluded from the automated tutorial
smoke test, but still useful):
- t_lightGoniometric.m — a goniometric light; depends on optional external assets.