[Plib-cvs] plib/doc/ssgAux index.html,1.4,1.5
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2002-08-13 05:11:36
|
Update of /cvsroot/plib/plib/doc/ssgAux In directory usw-pr-cvs1:/tmp/cvs-serv27221/plib/doc/ssgAux Modified Files: index.html Log Message: Updated documentation for ssgAux. Fixed a bug in the fountain in the water demo. Added some syntactic sugar to dynamics. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssgAux/index.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index.html 27 Oct 2001 05:34:47 -0000 1.4 +++ index.html 13 Aug 2002 05:11:32 -0000 1.5 @@ -41,8 +41,259 @@ SSGA_TYPE_CUBE </pre> +<H1>ssgaWaveSystem</H1> +This class is for handling water waves. +<pre> + + class ssgaWaveSystem ; + +</pre> +It generates a large polygonal mesh which it distorts in [...229 lines suppressed...] +and 'gone away'. +<p> +All the particles have to be the same size - but you can use +the 'setSize' function to change their size on-the-fly - for example +to make a cloud of bubbles that grow over time. +<p> +ssgaParticleSystem is derived from ssgVtxArray - so you can apply textures and +other state things using the usual ssgVtxArray::setState(ssgSimpleState*) +call. I applied a texture with a fuzzy alpha-blended circle. +<p> +While debugging this, I got a bug which caused a picture of Tux to be +applied instead of the droplet texture - it was absolutely hilarious +to see 2000 tiny penguins shooting up in a fountain and falling gently +to earth! + <hr> -This document is under construction. <hr> <ADDRESS> <A HREF="http://www.sjbaker.org"> |