01_user_documentation:03_interacting_with_groimp:02_panels:19_assets_libraries:03_lightdistribution
Table of Contents
Light Distribution
provided by the plugin LightLibrary
A set of predefined light distribution to use in Physical Light.
Functionalities
From the panel it is possible to use the following functions on a selected distribution:
- add as light source: to add as a light source to the LightExplorer
- add to scene: to create a lightNode with a physical light with selected distribution as input and add it to the current scene
- apply: apply on a selected object if possible (if the object is a light Node, or a light source). If the current light source of this object is spectral the new one will be used as light input on the spectral Light
- Light Sources: open the Light explorer
in RGG
To use this IES through RGG code a set of functions can be used:
to get a LightDistribution:
iesLib("LED Floodlight (wide)")
to get a PhysicalLight object:
physicalLightLib("LED Floodlight (wide)")
to get a SpectralLight with a PhysicalLight as a source (see Spectral library).
spectralPhysicalLightLib("High-PressureSodium(HPS)","LED Floodlight (wide)")
A simple working example could be:
protected void init () [ Axiom ==> LightNode().(setLight(physicalLightLib("LED Floodlight (wide)"))); ]
01_user_documentation/03_interacting_with_groimp/02_panels/19_assets_libraries/03_lightdistribution.txt ยท Last modified: (external edit)

