<!-- This file copyright Persistence of Vision Raytracer Pty. Ltd. 2003-2004 --> <html> <head> <!-- NOTE: In order to users to help find information about POV-Ray using --> <!-- web search engines, we ask you to *not* let them index documentation --> <!-- mirrors because effectively, when searching, users will get hundreds --> <!-- of results containing the same information! For this reason, the two --> <!-- meta tags below disable archiving and indexing of this page by all --> <!-- search engines that support these meta tags. --> <meta content="noarchive" name="robots"> <meta content="noindex" name="robots"> <meta content="no-cache" http-equiv="Pragma"> <meta content="0" http-equiv="expires"> <title>3.5.8 Triangle Texture Interpolation</title> <link href="povray35.css" rel="stylesheet" type="text/css"> </head> <body> <table class="NavBar" width="100%"> <tr> <td align="left" nowrap="" valign="middle" width="32"> <a href="s_121.html"><img alt="previous" border="0" src="prev.png"></a> </td> <td align="left" valign="middle" width="30%"> <a href="s_121.html">3.5.7 UV Mapping</a> </td> <td align="center" valign="middle"> <strong class="NavBar">POV-Ray 3.6 for UNIX documentation</strong><br> <strong>3.5.8 Triangle Texture Interpolation</strong> </td> <td align="right" valign="middle" width="30%"> <a href="s_123.html">3.5.9 Interior Texture</a> </td> <td align="right" nowrap="" valign="middle" width="32"> <a href="s_123.html"><img alt="next" border="0" src="next.png"></a> </td> </tr> </table> <h3><a name="s03_05_08">3.5.8 </a>Triangle Texture Interpolation</h3> <a name="s03_05_08_i1"><a name="texture_list"></a><a name="s03_05_08_i2"><a name="texture_list, keyword"></a><a name="s03_05_08_i3"> <p> This feature is utilized in a number of visualization approaches: triangles with individual textures for each vertex, which are interpolated during rendering. </p> <p> Syntax: </p> <pre> MESH_TRIANGLE: triangle { <Corner_1>, <Corner_2>, <Corner_3> [MESH_TEXTURE] } | smooth_triangle { <Corner_1>, <Normal_1>, <Corner_2>, <Normal_2>, <Corner_3>, <Normal_3> [MESH_TEXTURE] } MESH_TEXTURE: texture { TEXTURE_IDENTIFIER } | texture_list { TEXTURE_IDENTIFIER TEXTURE_IDENTIFIER TEXTURE_IDENTIFIER } </pre> <p> To specify three vertex textures for the triangle, simply use <code>texture_list</code> instead of texture. </p> <br> <table class="NavBar" width="100%"> <tr> <td align="left" nowrap="" valign="middle" width="32"> <a href="s_121.html"><img alt="previous" border="0" src="prev.png"></a> </td> <td align="left" valign="middle" width="30%"> <a href="s_121.html">3.5.7 UV Mapping</a> </td> <td align="center" valign="middle"> <strong>3.5.8 Triangle Texture Interpolation</strong> </td> <td align="right" valign="middle" width="30%"> <a href="s_123.html">3.5.9 Interior Texture</a> </td> <td align="right" nowrap="" valign="middle" width="32"> <a href="s_123.html"><img alt="next" border="0" src="next.png"></a> </td> </tr> </table> </body> </html>