1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css"> 8<TITLE>smp-onetri_dl</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">smp-onetri_dl</H1> 12 13<H2>Description</H2> 14<P>This program draws a 3D grid by repeating a simple model over and over (after a drawing by M.C. Escher). This program was originally conceived to draw something interesting but still be simple enough to fit on one page of code (we didn't quite make it). This program demonstrates the basics of defining a vertex format, loading a matrix, and rendering shaded polygons.</P> 15<P>This program is exactly the same as <code>smp-onetri</code>, except that the model data is stored in a display list and rendered using <code>GXCallDisplayList</code>.</P> 16<H2>Coverage</H2> 17<P>N/A</P> 18<H2>Operation Method</H2> 19<P>Press the Menu button to quit.</P> 20<H2>Snapshot</H2> 21<P><IMG src="./images/smp-onetri.gif" alt="smp-onetri.gif (35210 bytes)" width="640" height="448"></P> 22<H2>Required Data Files</H2> 23<P>None.</P> 24<H2>Revision History</H2> 25<P>2006/03/01 Initial version.</P> 26<hr> 27<P>CONFIDENTIAL</p> 28</BODY> 29</HTML>