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="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
8<TITLE>DL-tex</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">DL-tex</H1>
12
13<H2>Description</H2>
14<P>This program shows how commands that manipulate texture registers can be placed in display lists.</P>
15<P>It shows a rotating cube with a different texture on each face. The cube is drawn by calling a single display list. Another display list is used to initialize the texture state. No <a href="../../Texture/GXLoadTexObj.html"><code>GXLoadTexObj</code></a> commands are used in this demo.</P>
16<P>The value in this demo is not in seeing it run, but in the code itself.</P>
17<H2>Coverage</H2>
18<P>Display list functions.</P>
19<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
20  <TBODY>
21    <TR>
22<TD width="30%" bgcolor="#C0C0C0"><EM><STRONG>Functions</STRONG></EM></TD>
23<TD width="25%" bgcolor="#C0C0C0"><EM><STRONG>Parameters</STRONG></EM></TD>
24<TD width="45%" bgcolor="#C0C0C0"><EM><STRONG>Description</STRONG></EM></TD>
25    </TR>
26    <TR>
27<TD width="30%"><A href="../../../gx/DisplayList/GXBeginDisplayList.html"><CODE>GXBeginDisplayList</CODE></A></TD>
28<TD width="25%">list, size</TD>
29<TD width="45%">Two different display lists of different sizes are specified.</TD>
30    </TR>
31    <TR>
32<TD width="30%"><CODE><A href="../../../gx/DisplayList/GXEndDisplayList.html">GXEndDisplayList</A></CODE></TD>
33<TD width="25%">None.</TD>
34      <TD width="45%"></TD>
35    </TR>
36    <TR>
37<TD width="30%"><CODE><A href="../../../gx/DisplayList/GXCallDisplayList.html">GXCallDisplayList</A></CODE></TD>
38<TD width="25%">list, size</TD>
39<TD width="45%">Two different display lists of different sizes are specified.</TD>
40    </TR>
41  </TBODY>
42</TABLE>
43<H2>Operation Method</H2>
44<P>The A Button stops the animation.<br></P>
45<P>START ends the test.</P>
46<H2>Snapshot</H2>
47<P><IMG src="./images/DL-tex.jpg" alt="DL-tex.jpg (5526 bytes)" width="640" height="448"></P>
48<H2>Required Data Files</H2>
49<P><CODE>$REVOLUTION_SDK_ROOT/dvddata/gxTests/tex-06.tpl</CODE></P>
50<H2>Revision History</H2>
51<P>03/01/2006 Initial version.</P>
52</BODY>
53</HTML>