Skip navigation links
LuciadFusion
2023.1.08

Package com.luciad.view.lightspeed.services.effects

Support for various global graphics effects in an ILspView.

See: Description

Package com.luciad.view.lightspeed.services.effects Description

Support for various global graphics effects in an ILspView. Examples of such effects include lighting and fog.

Each ILspView has an instance of TLspGraphicsEffects, which is available via TLspViewServices. TLspGraphicsEffects serves as a central repository for ALspGraphicsEffect objects, which describe the effects that should be applied in the view. It is up to layers and painters to translate the requested effects into actual OpenGL rendering code; this package does not implement or dictate how an effect should be applied to a particular layer.

The most important category of effects is lighting. This package describes ambient and directional light sources. The latter can be either a stationary light or a camera-relative light.

Note that TLspViewBuilder.defaultEffects() can be used as a convenient way to add a default lighting and fog setup to any view.

Since:
2013.0
Skip navigation links
LuciadFusion
2023.1.08