PDA

View Full Version : SWSPKglAArg tech demo


aarku
2004.08.12, 01:23 PM
Here is an updated demo showing SpriteWorld, Squirrel Physics Kit, and glAArg (gullaaarg!!) functioning together. The "terrain" is managed with SPK, and is a SpriteWorld sprite with a custom drawing procedure using glAArg. The textured balls are drawn and loaded with SpriteWorld, and get their position from the SPK simulation. The non-textured blueish balls are the same, except that they use another custom drawing procedure that just calls some basic glAArg stuff. It also features down-facing gravity now!

http://www.tc.umn.edu/~czec0035/files/SWSPKglAArg.tar.gz

Thanks to Skorche for doing a temporary hack on the terrain part of SPK. (And of course all the other people who contributed to or wrote these three tools.)

Obviously the source could be cleaned up a little bit, but it really is fairly clean. If it was more than a tech demo I would modularize things a little more.

-Jon