3-D Visualization | ![]() ![]() |
Lighting Commands
MATLAB provides commands that enable you to position light sources and adjust the characteristics of lit objects. These commands include the following.
Command |
Purpose |
camlight |
Create or move a light with respect to the camera position |
lightangle |
Create or position a light in spherical coordinates |
light |
Create a light object |
lighting |
Select a lighting method |
material |
Set the reflectance properties of lit objects |
You might find it useful to set light or lit-object properties directly to achieve specific results. In addition to the material in this topic area, you can explore the following lighting examples as an introduction to lighting for visualization.
![]() | Lighting Overview | Light Objects | ![]() |
© 1994-2005 The MathWorks, Inc.