Combining OpenGL and CairoGraphics
Return to home page
Comments Loading...
2008-04-08

Recently I've been trying to make a game in VisualWorks using OpenGL and FMODEx. It's very fun and a good spare time project. FreqWars, the game I'm making, is coming along nicely with multiplayer support now.

I stumbled upon a project called perfectstorm which is a Lisp game using OpenGL and CairoGraphics. This intrigued me because it sounded very similar to what I'm doing in Smalltalk.. except in Lisp.

One thing they've done that I hadn't done was to come up with a nice high quality way to produce textures. They use CairoGraphics! .. which is great, because Travis Griggs has already hooked up CairoGraphics to VisualWorks. So below is a short demonstration of a scene rendering 6 textures for the 6 sides of a cube using CairoGraphics.. redrawn and animated every frame.

OpenGL-20080408-CairoGraphicsTextures.mov