<html> <head> <title>Enum ShadeMode</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="ShadeMode-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Values" class="navisub">Values</a></td> <td class="navisub"><a href="#ValueDetails" class="navisub">Values' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">drawing</a> :: </p> </td> </tr> <tr> <td class="title">enum ShadeMode</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>The <a href="ShadeMode.html">ShadeMode</a> determines the quality of displaying the object. </dd> </dl> </td> </tr> </table> <hr> <a name="Values"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Values</td> </tr> <tr> <td class="imsum_left"><a href="#FLAT">FLAT</a></td> <td class="imsum_right">With <b>FLAT</b> shading, the faces of the object are rendered in a solid color. </td> </tr> <tr> <td class="imsum_left"><a href="#PHONG">PHONG</a></td> <td class="imsum_right">With <b>PHONG</b> shading, the normal itself is interpolated to get more realistic colors and light reflections. </td> </tr> <tr> <td class="imsum_left"><a href="#SMOOTH">SMOOTH</a></td> <td class="imsum_right">With <b>SMOOTH</b> shading, the colors of the lit vertiecs is interpolated. </td> </tr> <tr> <td class="imsum_left"><a href="#DRAFT">DRAFT</a></td> <td class="imsum_right"><b>DRAFT</b> is a special mode which uses a BSP tree and triangle subdivision for displaying. </td> </tr> </table> <a name="ValueDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Values' Details</td> </tr> <tr> <td class="imdetail"><a name="FLAT" class="membertitle">FLAT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><b>FLAT</b>,<hr> <dl> <dt><b>Description</b></dt> <dd>With <b>FLAT</b> shading, the faces of the object are rendered in a solid color. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="PHONG" class="membertitle">PHONG</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><b>PHONG</b>,<hr> <dl> <dt><b>Description</b></dt> <dd>With <b>PHONG</b> shading, the normal itself is interpolated to get more realistic colors and light reflections. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="SMOOTH" class="membertitle">SMOOTH</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><b>SMOOTH</b>,<hr> <dl> <dt><b>Description</b></dt> <dd>With <b>SMOOTH</b> shading, the colors of the lit vertiecs is interpolated. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DRAFT" class="membertitle">DRAFT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><b>DRAFT</b>,<hr> <dl> <dt><b>Description</b></dt> <dd><b>DRAFT</b> is a special mode which uses a BSP tree and triangle subdivision for displaying. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>