JMSL Chart Programmer's Guide
3D Drawing Elements >> Lights  Previous Page  Contents  Next Page

Lights

Lights are used in conjunction with the surface fill color to shade surfaces where no color is defined.

The ChartLights node is automatically created by the Chart3D node. It provides a default set of lights. As with any node, it can be disabled by setting its "Paint" attribute to false.

More control over lighting is possible by using lighting chart nodes. There are three types of light nodes:

Each of these nodes has a "Color" attribute to define the color of the light.



©  Visual Numerics, Inc.  All rights reserved.  Previous Page  Contents  Next Page