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>ind-warp</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">ind-warp</H1>
12
13<H2>Description</H2>
14<P>This program uses an indirect texture to warp the lookup of an image texture.&nbsp; The indirect warp texture is generated dynamically for each frame.</P>
15<H2>Coverage</H2>
16<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
17  <TBODY>
18    <TR>
19<TD width="30%" bgcolor="#C0C0C0"><EM><STRONG>Functions</STRONG></EM></TD>
20<TD width="25%" bgcolor="#C0C0C0"><EM><STRONG>Parameters</STRONG></EM></TD>
21<TD width="45%" bgcolor="#C0C0C0"><EM><STRONG>Description</STRONG></EM></TD>
22    </TR>
23    <TR>
24<TD width="30%"><A href="../../../gx/Indirect/GXSetNumIndStages.html"><CODE><CODE>GXSetNumIndStages</CODE></CODE></A></TD>
25<TD width="25%"><FONT face="Courier New"><EM><STRONG>number of stages</STRONG></EM></FONT></TD>
26      <TD width="45%">1</TD>
27    </TR>
28    <TR>
29<TD width="30%" rowspan="3"><A href="../../../gx/Indirect/GXSetIndTexOrder.html"><CODE>GXSetIndTexOrder</CODE></A></TD>
30<TD width="25%"><FONT face="Courier New"><EM><STRONG>indirect stage</STRONG></EM></FONT></TD>
31<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_INDTEXSTAGE0</font>.</FONT></TD>
32    </TR>
33    <TR>
34<TD width="25%"><FONT face="Courier New"><EM><STRONG>Texture coordinate.</STRONG></EM></FONT></TD>
35<TD width="45%"><FONT face="Courier New">GX_TEXCOORD0</FONT></TD>    </TR>
36    <TR>
37<TD width="25%"><FONT face="Courier New"><EM><STRONG>texture map</STRONG></EM></FONT></TD>
38<TD width="45%"><FONT face="Courier New">GX_TEXMAP1</FONT></TD>
39    </TR>
40    <TR>
41<TD width="30%" rowspan="3"><A href="../../../gx/Indirect/GXSetIndTexCoordScale.html"><CODE><CODE>GXSetIndTexCoordScale</CODE></CODE></A></TD>
42<TD width="25%"><FONT face="Courier New"><EM><STRONG>indirect stage</STRONG></EM></FONT></TD>
43<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_INDTEXSTAGE0</font>.</FONT></TD>
44    </TR>
45    <TR>
46<TD width="25%"><FONT face="Courier New"><EM><STRONG>S scale</STRONG></EM></FONT></TD>
47<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_ITS_4</font>.</FONT></TD>
48    </TR>
49    <TR>
50<TD width="25%"><FONT face="Courier New"><EM><STRONG>T scale</STRONG></EM></FONT></TD>
51<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_ITS_4</font>.</FONT></TD>
52    </TR>
53    <TR>
54<TD width="30%" rowspan="5"><A href="../../../gx/Indirect/GXSetTevIndWarp.html"><CODE>GXSetTevIndWarp</CODE></A></TD>
55<TD width="25%"><FONT face="Courier New"><EM><STRONG>TEV stage</STRONG></EM></FONT></TD>
56<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_TEVSTAGE1</font>.</FONT></TD>
57    </TR>
58    <TR>
59<TD width="25%"><FONT face="Courier New"><EM><STRONG>indirect stage</STRONG></EM></FONT></TD>
60<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_INDTEXSTAGE0</font>.</FONT></TD>
61    </TR>
62    <TR>
63<TD width="25%"><FONT face="Courier New"><EM><STRONG>signed offsets</STRONG></EM></FONT></TD>
64<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_TRUE</font>.</FONT></TD>
65    </TR>
66    <TR>
67<TD width="25%"><FONT face="Courier New"><EM><STRONG>replace mode</STRONG></EM></FONT></TD>
68<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_FALSE</font>.</FONT></TD>
69    </TR>
70    <TR>
71<TD width="25%"><FONT face="Courier New"><EM><STRONG>indirect texture matrix</STRONG></EM></FONT></TD>
72<TD width="45%"><FONT face="Courier New"><font face="Courier New">GX_ITM_0</font>.</FONT></TD>
73    </TR>
74  </TBODY>
75</TABLE>
76<H2>Operation Method</H2>
77<P>START stops warp. The Control Stick rotates the object on the  x and y axis.<br>The L and R Buttons rotate the object on the z axis.<br>The C Stick scales the object.<br>�B<BR> The A/B Buttons change the selected parameter.<br>The X/Y Buttons select which parameter to change.</P>
78<H2>Snapshot</H2>
79<P><IMG src="./images/ind-warp-0.jpg" alt="ind-warp-0.jpg (24818 bytes)" width="640" height="448"></P>
80<P><IMG src="./images/ind-warp-1.jpg" alt="ind-warp-1.jpg (24807 bytes)" width="640" height="448"></P>
81<P><IMG src="./images/ind-warp-2.jpg" alt="ind-warp-2.jpg (20266 bytes)" width="640" height="448"></P>
82<H2>Required Data Files</H2>
83<P><FONT face="Courier New">$REVOLUTION_SDK_ROOT/dvddata/gxTests/tex-01.tpl</FONT>.</P>
84<H2>Revision History</H2>
85<P>03/01/2006 Initial version.</P>
86</BODY>
87</HTML>