Shading

Shading is an option for Graphics3D, SurfaceGraphics and funtions that return Graphics3D or SurfaceGraphics. The default setting is (Shading→True) in which case polygons are colored as determined by simulated Lighting or the ColorFunction.  The HiddenSurface option is used to render the surface as a transparent mesh.

Options[SurfaceGraphics, Shading] Options[Graphics3D, Shading]

Plot3D[Exp[-(x^4 + y^4)], {x, -2, 2}, {y, -2, 2}, ShadingTrue] ; Plot3D[Exp[-(x^4 + y^4)], {x, -2, 2}, {y, -2, 2}, ShadingFalse] ;


Created by Mathematica  (May 16, 2004)

Back to Ted’s Tricks index page