1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
9<title>pix-fog</title>
10</head>
11
12<body>
13
14<h1 align="left">pix-fog</h1>
15
16
17
18<h2>Description</h2>
19
20<P>This program shows six different fog methods that can be used with the Revolution. The TV screen contains six subscreens, but only four subscreens can be displayed at one time. Each subscreen displays a different fog method.</P>
21<h2>Coverage</h2>
22
23<p>Fog function.</p>
24<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
25  <tr>
26<TD width="30%" bgcolor="#C0C0C0"><em><strong>Functions</strong></em></TD>
27<TD width="25%" bgcolor="#C0C0C0"><em><strong>Parameters</strong></em></TD>
28<TD width="45%" bgcolor="#C0C0C0"><em><strong>Description</strong></em></TD>
29    </tr>
30  <tr>
31<TD width="30%" rowspan="6"><A href="../../../gx/PixelProc/GXSetFog.html"><code>GXSetFog</code></A></TD>
32<TD width="25%"><font face="Courier New"><EM><STRONG><code><EM><STRONG>type</STRONG></EM></code></STRONG></EM></font></TD>
33<TD width="45%"><SPAN>Represents one of six fog types.</SPAN></TD>
34    </tr>
35  <tr>
36<TD width="25%"><font face="Courier New"><EM><STRONG>startZ</STRONG></EM></font></TD>
37<TD width="45%"><SPAN>Can be changed interactively (default=16.0f).</SPAN></TD>
38    </tr>
39  <tr>
40<TD width="25%"><font face="Courier New"><EM><STRONG>endZ</STRONG></EM></font></TD>
41<TD width="45%"><SPAN>Can be changed interactively (default=1024.f).</SPAN></TD>
42    </tr>
43  <tr>
44<TD width="25%"><font face="Courier New"><EM><STRONG>nearZ</STRONG></EM></font></TD>
45      <TD width="45%">0.0</TD>
46    </tr>
47  <tr>
48<TD width="25%"><font face="Courier New"><EM><STRONG>farZ</STRONG></EM></font></TD>
49      <TD width="45%">1.0</TD>
50    </tr>
51  <tr>
52<TD width="25%"><font face="Courier New"><EM><STRONG>color</STRONG></EM></font></TD>
53      <TD width="45%">(128,128,128,255)</TD>
54    </tr>
55  <tr>
56<TD width="30%" rowspan="3"><a href="../../../gx/PixelProc/GXInitFogAdjTable.html"><FONT face="Courier New">GXInitFogAdjTable</FONT></a></TD>
57<TD width="25%"><font face="Courier New"><EM><STRONG>table</STRONG></EM></font></TD>
58<TD width="45%">Address of the fog table.</TD>
59    </tr>
60  <tr>
61<TD width="25%"><font face="Courier New"><EM><STRONG>width</STRONG></EM></font></TD>
62<TD width="45%">640 or 320.</TD>
63    </tr>
64  <tr>
65<TD width="25%"><font face="Courier New"><EM><STRONG>proj. matrix</STRONG></EM></font></TD>
66<TD width="45%">Fixed camera.</TD>
67    </tr>
68  <tr>
69<TD width="30%" rowspan="3"><a href="../../../gx/PixelProc/GXSetFogRangeAdj.html"><FONT face="Courier New">GXSetFogRangeAdj</FONT></a></TD>
70<TD width="25%"><font face="Courier New"><EM><STRONG>enable</STRONG></EM></font></TD>
71<TD width="45%"><font face="Courier New">GX_ENABLE</font> and <font     face="Courier New">GX_DISABLE</font></TD>
72    </tr>
73  <tr>
74<TD width="25%"><font face="Courier New"><EM><STRONG>center</STRONG></EM></font></TD>
75<TD width="45%">Varies according to viewport.</TD>
76    </tr>
77  <tr>
78<TD width="25%"><font face="Courier New"><EM><STRONG>table</STRONG></EM></font></TD>
79<TD width="45%">Address of the fog table.</TD>
80    </tr>
81</TABLE>
82<h2>Operation Method</h2>
83
84<P>The A Button toggles the catalog/zoom up mode.<br>The B Button changes the scene.<br>The X Button changes the tag position/animations.<br>The Y button toggles the fog range adjust feature ON/OFF.<br>The R Button toggles the animation ON and OFF.<br>In catalog mode, the Control Stick moves the cursor to select the subscreen.<br>In zoom up mode, move the cursor using the Control Stick UP or DOWN to change the <font face="Courier New">startZ</font>/<font face="Courier New">endZ</font> settings.<br>In zoom up mode, the Control Stick LEFT/RIGHT changes the parameter.<br>START exits the test.</P>
85<h2>Snapshot</h2>
86<p>Fog types are: <font face="Courier New">NONE</font>, <font face="Courier New">LINEAR</font>, <font face="Courier New">EXP</font> and <font face="Courier New">EXP2</font>.</p>
87
88<P><IMG src="./images/pix-fog-1.jpg" alt="pix-fog-1.jpg" WIDTH="642" HEIGHT="482"></p>
89
90<p>Fog types are: <font face="Courier New">EXP</font>, <font face="Courier New">EXP2</font>, <font face="Courier New">REV-EXP</font> and <font face="Courier New">REV-EXP2</font>.</p>
91
92<P><IMG src="./images/pix-fog-2.jpg" alt="pix-fog-2.jpg" WIDTH="642" HEIGHT="482"><br>
93</p>
94
95<h2>Required Data Files</h2>
96
97<p>None.</p>
98<H2>Revision History</H2>
99<P>03/01/2006 Initial version.</P>
100</body>
101</html>