User Tools

Site Tools


01_user_documentation:03_interacting_with_groimp:02_panels:19_assets_libraries:03_lightdistribution

This is an old revision of the document!


Light Distribution

provided by the plugin LightLibrary

A set of predefined light distribution to use in Physical Light.

Functionalities

  • 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.1790086854.txt.gz ยท Last modified: (external edit)