All posts tagged with "wrong geometries"

A Crash Course in Moving A Legacy OpenGL Codebase to Core OpenGL 3.2

I’m actually absconding from┬áthe usual subject of these blogposts this week to do technical writing which people might find useful – mainly because a lot of the information on this seems to be scattered all over the Internet. One of the issues with our Mac port of Clockwork Empires which has prevented it from launching when we wanted to is that we discovered – a bit late in our schedule – that we couldn’t fix all of the shader issues on OS X without porting the entire game from what we were using (OpenGL’s “compatibility” mode plus a ton of extensions, dating back to when this codebase was started ages and ages ago) to what is called OpenGL Core 3.2, which is part of the OpenGL Architectural Review Board’s attempt to remove all of the “cruft” that had accumulated in their codebase throughout the years. In the process of doing this, they removed a lot of the nice stuff about OpenGL that makes it a good teaching tool, which is sort of annoying; you can’t just throw together a program any more and get stuff up on the screen, not without doing large quantities of work. Oh well.

On OS X Mavericks, you can only get access to OpenGL features newer than version 2.1 if you create a core OpenGL context; they aren’t even accessible as extensions, which is just flat out weird. OS X’s OpenGL implementation has been charitably described as “a mess” by everybody involved for some time, as the issue seems to be that all the driver engineering teams at Apple are now cranking out OpenGL implementations for your iPhone (and these are quite good), while neglecting the desktop platform. The situation used to be *worse* before Mavericks, if you can believe it. The net result of this is that I had to take a legacy codebase, with numerous pecadilloes, and port it to what is almost, but not quite, a new graphics API.

Your Monday Morning rendering artifacts. (Sign up for our newsletter to see more broken stuff.)

Your Monday Morning rendering artifacts. (Sign up for our newsletter to see more broken stuff.)

Ugh.

{ read this article }

Posted in Clockwork Empires | Tagged , , , , , , , , , , , , ,
9 Comments

I SMOULDER WITH PROGRAMMER RAGE

Have you ever had one of those weeks where everything seems to go wrong? Work is being done. Oh yes, work is being done. But at every step, we are beset upon by mystery and woe! ARGH.

Loading doors! Mr. Triolo animated them. They are lovely:

Good, well-behaved shutters. (Seen in Maya.)

Good, well-behaved shutters. (Seen in Maya.)

Let’s put them through the same process that we use for importing everything else into the game, la la…

{ read this article }

Posted in Clockwork Empires, Programming | Tagged , , , , , , , , , , , , , , , , , , , , , , , ,
20 Comments

Conquest of the Wizardlands: Pocket Dimensions & Banksters

What with all this talk of pocket dimensions and wizards and somesuch, we thought it would be helpful to give a little tour of the sorts of things you’ll see in the upcoming Dungeons of Dredmor expansion pack Conquest of the Wizardlands.

Daniel and I talked about how to approach writing this post and we’ve agreed to do something a little different that we haven’t done in quite some time. Instead of just listing the features, we’re going to dig a bit into the game design process and discuss the thoughts behind the decisions we made in coming up with these features and their functionality.

Let’s start with the big feature that may do the most to change how Dredmor is played.

Pocket Dimensions & You: A Room Without a View

{ read this article }

Posted in Dungeons of Dredmor, Game Design | Tagged , , , , , , , , , , , , , , , ,
30 Comments