Light Setup

Purpose:

The Light interface is used to apply different lighting effects using up to ten independently setup lights. The appearance of the model plotted in view, shaded, or smooth shaded modes can be changed by adding lighting effects.

3 types of lighting models are available: Ambient, Diffuse, and Specular. The position of light sources and their intensity can be modified to achieve the desired effects. By default, two lights are turned on. Additional lights can be turned on/off as desired.

Once a set of lighting options are set, these setting can be saved in an LS-PrePost preferences file for future use. To save the settings, use File ¡ú Save ¡ú Save Configuration. This information will be written to .lspostrc in the working directory.

Function:

Light : Interface to adjust lights.

Material : Interface to adjust material.

Sample:

No sample.

Light:

Select light number from list to define a light

  • Light : Select light

  • On : Turn highlighted light on/off

  • Latitude :Set light latitude position.

  • Longitude :Set light longitude position

  • Ambient : Set light ambient
  • Diffuse : Set light diffuse
  • Specular : Set light specular
  • Reset :Reset selected light/material to default setting
  • Done : Close light dialog

 

Material:

  • Ambient : Set material ambient color
  • Diffuse : Set naterial diffuse color
  • Specular : Set material specular color
  • Shininess : Set material shininess