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>geo-particle</title>
10</head>
11
12<body>
13
14<h1 align="left">geo-particle</h1>
15
16<h2>Description</h2>
17
18<P><font face="Courier New">geo-particle</font> tests point size and line width using a simple particle system. Each particle can be a line or a point of various widths. This demo also tests texture points using <font face="Courier New">GX_TO_ZERO</font>. The color of each particle is point-sampled from a texture.</P>
19<h2>Coverage</h2>
20<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640">
21  <tr>
22<TD width="30%" bgcolor="#C0C0C0"><em><strong>Function</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%" rowspan="2"><a href="../../../gx/Geometry/GXSetPointSize.html"><FONT face="Courier New">GXSetPointSize</FONT></a></TD>
28<TD width="25%" align="left"><font face="Courier New"><em><strong>width</strong></em></font></TD>
29<TD width="45%">Specifies the width using a <FONT face="Courier New">u8</FONT> type value. Specify a width value in 1/6 steps from 0 through 42.5.</TD>
30  </tr>
31  <tr>
32<TD width="25%" align="left"><font face="Courier New"><em><strong>tex_offsets</strong></em></font></TD>
33<TD width="45%">Ignored (<font face="Courier New">GX_TO_ZERO</font> if texture is used).</TD>
34  </tr>
35  <tr>
36<TD width="30%" rowspan="2"><a href="../../../gx/Geometry/GXSetLineWidth.html"><FONT face="Courier New">GXSetLineWidth</FONT></a></TD>
37<TD width="25%" align="left"><font face="Courier New"><em><strong>size</strong></em></font></TD>
38<TD width="45%">Specifies the width using a <FONT face="Courier New">u8</FONT> type value. Specify a width value in 1/6 steps from 0 through 42.5.</TD>
39  </tr>
40  <tr>
41<TD width="25%" align="left"><font face="Courier New"><em><strong>tex_offsets</strong></em></font></TD>
42<TD width="45%">Ignored.</TD>
43  </tr>
44</TABLE>
45<h2>Operation Method</h2>
46
47<P>The menu button exits the test.</P>
48<P>The main stick changes the orientation of the particle emitter.</P>
49<p>The X button toggles the control mode:</p>
50
51<p>&nbsp;&nbsp;&nbsp; <u><strong>Particle Type Control</strong></u>
52
53<ul>
54<li><SPAN>The B button selects particle type (points, lines, texture points).</SPAN></li>
55</ul>
56
57<p>&nbsp;&nbsp;&nbsp; <u><strong>Point Size Animation Control</strong></u>
58
59<ul>
60<li><SPAN>The B button selects size animation type (constant size per particle, animated-growing smaller, animated-growing larger).</SPAN></li>
61</ul>
62<P>The A button pauses the animation while pressed down.</P>
63<P>The L/R button changes the point size.</P>
64<h2>Snapshot</h2>
65<P>Particle Type = Points<BR>Size Animation = Animated - Growing Larger<br></P>
66<p>
67<img src="./images/geo-particle-0.gif" alt="<img src="geo-particle-2.gif" alt="geo-particle-0.gif (8989 bytes)" WIDTH="638" HEIGHT="480">" width="642" height="479"></p>
68
69<P>Particle Type = Lines<br>Size Animation = Animated - Growing Larger<br></P>
70<p>
71<img src="./images/geo-particle-1.gif" alt="<img src="geo-particle-2.gif" alt="geo-particle-1.gif (8660 bytes)" WIDTH="638" HEIGHT="480">" width="641" height="480"></p>
72
73<P>Particle Type = Texture Points<br>Size Animation = Constant per particle<br></P>
74<p>
75<img src="./images/geo-particle-2.gif" alt="<img src="geo-particle-2.gif" alt="geo-particle-2.gif (12423 bytes)" WIDTH="638" HEIGHT="480">" width="638" height="480"></p>
76
77<h2>Required Data Files</h2>
78
79<p>Requires <CODE>geo-00.tpl</CODE> from the <CODE>$REVOLUTION_SDK_ROOT/dvddata/gxTests</CODE> directory.</p>
80<H2>Revision History</H2>
81<P>2006/03/01 Initial version.</P>
82<hr>
83<P>CONFIDENTIAL</p>
84</BODY>
85</HTML>