Friday, July 24, 2009

Project Mod SVN 9

Here's the evening's update. I implemented controllers, which basically have a step function and can manipulate things. Player is a subclass of controller with two additional functions: getViewPos and getViewQuat. The game client uses these to control the camera. To test the framework I wrote a CarPlayer class that manages a few rigid bodies and constraints to make a simple front wheel drive car with steering.



Next up:

  • Lighting - I implemented a hacky shadow mapping system after SVN 7 which looked really nice, but I set it aside because the code was so ugly. I'll need to think of a way to keep the GL state management code out of the SinglePlayerGame class, and maybe split some of the texture/model management from the GUI class into some kind of video state manager.

  • Screenshot / video capture - For the spamming of YouTube, and because this build looks much cooler in motion.

  • More test textures and models - This will not be one of those cool but ugly open source projects.

No comments:

Post a Comment