Saturday, May 31, 2008

Ogre

Well I finally got Ogre to compile. Bugger knows how I'm going to graft Openframeworks libraries into it. I only really need sound and the VideoGrabber, but those are still tall orders.

If you want to play with Ogre on a PC you'll need the following:

Visual Studio 9. Trying to get it to work with Code Blocks is more trouble than it's worth, especially as it breaks Openframeworks when you get the bare minimum working. Plus VS9 is pretty damn good. I'm amazed that Microsoft made it.
The Ogre SDK
DirectX Runtime

Then you'll want to read the following:

Installing the Ogre SDK
Setting up an application. No the Ogre Application Wizard doesn't work on VS9. This means we have to do some twiddling with project settings to get it to work. But despite this being a pain, it teaches you how to set up projects properly and will help you in the long run.
My thread in the Ogre Forum about trying to get VC9 to compile Ogre. I didn't quite read the instructions in the previous link thoroughly, but those instructions also assumed some knowledge I didn't have. Most of the difficulty of getting Ogre to compile is down to correct project settings and correct file placement. So you have to use your initiative a little to figure it out. Now I'm at the following stage:

Ogre Tutorials

I'm going to settle in to this stuff now to put off the nightmare that combining Ogre and Openframeworks will be.

Bruce Sterling on the future of interaction design
Magic Pen
Artificial Stupidity
Fruit Mystery game
Cat with Bow Golf game
Floating Head
The Control Master (a Run Wrake film)
Metal Gear Solid 4 game play demo

C++ optimisation strategies
Processing for Javascript

As a side note I got a new phone recently. So I downloaded the latest Mobile Processing and spent one Sunday writing a new and more clever game of Snake vs the Computer for it. It uses the new A* algorithm I built and shows the Snake's thoughts about which path to take ahead of it.

Snake AI 2