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. <A href="../../../gx/Texture/GXLoadTexObj.html"><CODE>GXLoadTexObj</CODE></A> commands are not 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 18<H2>Coverage</H2> 19<P>Display list functions.</P> 20<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640"> 21 <TBODY> 22 <TR> 23<TD width="30%" bgcolor="#C0C0C0"><EM><STRONG>Functions</STRONG></EM></TD> 24<TD width="25%" bgcolor="#C0C0C0"><EM><STRONG>Parameters</STRONG></EM></TD> 25<TD width="45%" bgcolor="#C0C0C0"><EM><STRONG>Description</STRONG></EM></TD> 26 </TR> 27 <TR> 28<TD width="30%"><A href="../../../gx/DisplayList/GXBeginDisplayList.html"><CODE>GXBeginDisplayList</CODE></A></TD> 29<TD width="25%"><SPAN class="argument">list</SPAN>, <SPAN class="argument">size</SPAN></TD> 30<TD width="45%">Two different display lists of different sizes are specified.</TD> 31 </TR> 32 <TR> 33<TD width="30%"><CODE><A href="../../../gx/DisplayList/GXEndDisplayList.html">GXEndDisplayList</A></CODE></TD> 34<TD width="25%">None.</TD> 35 <TD width="45%"> </TD> 36 </TR> 37 <TR> 38<TD width="30%"><CODE><A href="../../../gx/DisplayList/GXCallDisplayList.html">GXCallDisplayList</A></CODE></TD> 39<TD width="25%"><SPAN class="argument">list</SPAN>, <SPAN class="argument">nbytes</SPAN></TD> 40<TD width="45%">Two different display lists of different sizes are specified.</TD> 41 </TR> 42 </TBODY> 43</TABLE> 44 45<H2>Using the Demo</H2> 46<P>The A Button stops the animation.</P> 47<P>START ends the test.</P> 48 49<H2>Snapshot</H2> 50<P><IMG src="./images/DL-tex.jpg" alt="DL-tex.jpg (5526 bytes)" width="640" height="448"></P> 51 52<H2>Required Data Files</H2> 53<P><CODE>$REVOLUTION_SDK_ROOT/dvddata/gxTests/tex-06.tpl</CODE></P> 54 55<H2>Revision History</H2> 56<P> 572006/03/01 Initial version.<br> 58</P> 59 60<hr><p>CONFIDENTIAL</p></body> 61</HTML>