3-D Visualization Previous page   Next Page

Lighting Overview

Lighting is a technique for adding realism to a graphical scene. It does this by simulating the highlights and dark areas that occur on objects under natural lighting (e.g., the directional light that comes from the sun). To create lighting effects, MATLAB defines a graphics object called a light. MATLAB applies lighting to surface and patch objects.

Lighting Examples

These examples illustrate the use of lighting in a visualization context.


Previous page  Lighting as a Visualization Tool Lighting Commands Next page

© 1994-2005 The MathWorks, Inc.