Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

LightSources

Usage

LightSources is an option for Graphics3D and related functions that specifies the properties of point light sources for simulated illumination.


Notes

• The basic form is LightSources -> { ,  , ... }, where the  are the specifications for each light source.
• Each  has the form {direction, color}. The direction is specified as {x, y, z}, where the components are with respect to the final display area. The  and  are horizontal and vertical in the plane of the display;  is orthogonal to the display. Positive  is in front. Only the relative magnitude of the components is relevant; the overall normalization of the vector is ignored. The color can be specified by GrayLevel, Hue or RGBColor.
• Simulated illumination determines the shading of polygons in three-dimensional pictures.
• The shading of a particular surface element is computed as a sum of contributions from point light sources, plus a contribution from ambient light.
• Surface properties are specified by SurfaceColor directives.
• Light reflection properties assumed for surfaces are described in the notes for SurfaceColor.
• See also: AmbientLight.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: