3-D Visualization Previous page   Next Page

Patch Edge Coloring

Each patch face has a bounding edge, which you can color as

Note that patch edge colors can be flat or interpolated only when you specify a color for each vertex. For flat edge coloring, MATLAB uses the color of the vertex preceding the edge to determine the color of the edge. The order in which you specify the vertices establishes which vertex colors a particular edge.

The following examples illustrate patch edge coloring:


Previous page  Specifying Patch Coloring Example -- Specifying Flat Edge and Face Coloring Next page

© 1994-2005 The MathWorks, Inc.