Mathematica 9 is now available

Lighting

Usage

LightingGraphics3D和指定在三维图形中是否使用模拟灯光的相关函数的一个选项。


Notes

Lighting -> True 使用模拟灯光。周围的光度由选项AmbientLight指定。选项LightSources给出点光源的位置和强度。
Lighting -> False 不使用任何模拟灯光。在SurfaceGraphics, 多面体根据它们的高度或给出的选项ColorFunction画阴影。
• 参见 Mathematica 全书: 1.9.7, 节 1.9.7, 节 2.9.9 and 节 2.9.12.
• 同时参见: Shading, ColorFunction, SurfaceColor.
Further Examples

The first plot uses the default setting (True) for Lighting; the second turns the lighting off and uses a color function.

Evaluate the cells to compare the graphics.

In[1]:=  

In[2]:=  



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.