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<P><CODE>geo-particle</CODE> 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 <CODE>GX_TO_ZERO</CODE>. The color of each particle is point-sampled from a texture.</P> 18<h2>Coverage</h2> 19<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640"> 20 <tr> 21<TD width="30%" bgcolor="#C0C0C0"><em><strong>Functions</strong></em></TD> 22<TD width="25%" bgcolor="#C0C0C0"><em><strong>Parameters</strong></em></TD> 23<TD width="45%" bgcolor="#C0C0C0"><em><strong>Description</strong></em></TD> 24 </tr> 25 <tr> 26<TD width="30%" rowspan="2"><a href="../../../gx/Geometry/GXSetPointSize.html"><CODE>GXSetPointSize</CODE></a></TD> 27<TD width="25%" align="left"><SPAN class="argument"><CODE>width</CODE></SPAN></TD> 28<TD width="45%">Specifies the width using a <CODE>u8</CODE>-type value. Specify a width value in 1/6 steps from 0 through 42.5.</TD> 29 </tr> 30 <tr> 31<TD width="25%" align="left"><SPAN class="argument">tex_offsets</SPAN></TD> 32<TD width="45%">Ignored (<CODE>GX_TO_ZERO</CODE> if texture is used).</TD> 33 </tr> 34 <tr> 35<TD width="30%" rowspan="2"><a href="../../../gx/Geometry/GXSetLineWidth.html"><CODE>GXSetLineWidth</CODE></a></TD> 36<TD width="25%" align="left"><SPAN class="argument">size</SPAN></TD> 37<TD width="45%">Specifies the width using a <CODE>u8</CODE>-type value. Specify a width value in 1/6 steps from 0 through 42.5.</TD> 38 </tr> 39 <tr> 40<TD width="25%" align="left"><SPAN class="argument">tex_offsets</SPAN></TD> 41<TD width="45%">Ignored.</TD> 42 </tr> 43</TABLE> 44 45<h2>Using the Demo</h2> 46<P>PAUSE exits the test.</P> 47<P>The main stick changes the orientation of the particle emitter.</P> 48<p>The X button toggles the control mode.</p> 49 50<p> <u><strong>Particle Type Control</strong></u> 51<ul> 52<li><SPAN>The B button selects particle type (points, lines, texture points).</SPAN></li> 53</ul> 54 55<p> <u><strong>Point Size Animation Control</strong></u> 56 57<ul> 58<li><SPAN>The B button selects size animation type (constant size per particle, animated-growing smaller, animated-growing larger).</SPAN></li> 59</ul> 60<P>The A button pauses the animation while pressed down.</P> 61<P>The L/R button changes the point size.</P> 62 63<h2>Snapshot</h2> 64<P>Particle Type = Points<BR>Size Animation = Animated - Growing Larger<br></P> 65<p><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> 66 67<P>Particle Type = Lines<br>Size Animation = Animated - Growing Larger<br></P> 68<p><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> 69 70<P>Particle Type = Texture Points<br>Size Animation = Constant per particle<br></P> 71<p><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> 72 73<h2>Required Data Files</h2> 74<p>Requires <CODE>geo-00.tpl</CODE> from the <CODE>$REVOLUTION_SDK_ROOT/dvddata/gxTests</CODE> directory.</p> 75 76<H2>Revision History</H2> 77<P>2006/03/01 Initial version.<br> 78</P> 79 80<hr><p>CONFIDENTIAL</p></body> 81</html>