SHADING

 

 Color shading mode.

  SHADING controls the color shading of SURFACEZ9CYVV and PATCH1T5W1TX objects.

  SURFACEZ9CYVV and PATCH1T5W1TX objects are created by the functions SURF1F43EU2, MESH2O6LFXR,

  PCOLOR7C1IVA, FILL18RXKU2, and FILL3TPOAWQ. 

 

 

  SHADING FLAT sets the shading of the current graph to flat.

  SHADING INTERP sets the shading to interpolated.

  SHADING FACETED sets the shading to faceted, which is the default.

 

 

  Flat shading is piecewise constant; each mesh line segment or

  surface patch has a constant color determined by the color value

  at the end point of the segment or the corner of the patch which

  has the smallest index or indices.

 

 

  Interpolated shading, which is also known as Gouraud shading, is

  piecewise bilinear; the color in each segment or patch varies linearly

  and interpolates the end or corner values.

 

 

  Faceted shading is flat shading with superimposed black mesh lines.

  This is often the most effective and is the default.

 

 

  SHADING is an M-file that sets the EdgeColor and FaceColor properties

  of all SURFACEZ9CYVV objects in the current axes. It sets them to the

  correct values that depend upon whether the SURFACEZ9CYVV objects are

  representing meshes or surfaces.

 

 

  See also SURF1F43EU2, MESH2O6LFXR, PCOLOR7C1IVA, FILL18RXKU2, FILL3TPOAWQ, SURFACEZ9CYVV, PATCH1T5W1TX.