Things that drive me nuts about OpenGL

By Shamus Posted Thursday May 29, 2014

Filed under: Programming 78 comments

A little while ago someone linked to this list of complaints on OpenGL from Valve Developer Rich Geldreich. It’s pretty common knowledge that I use OpenGL in all my projects, and some people are wondering what I think of this list.

Here we’re talking about the OpenGL API. API is Application Programming Interface. If I write some code and bundle it up in a package for others to use, then the API dictates how you (another programmer) can use it. It’s the control panel for my code. The design of an API involves a lot of things. I can give you lots of power at the expense of making things really complicated. I can make things very clear at the expense of making you do a lot of typing. I can save you some typing at the expense of making everything inscrutable abbreviations. A good API is easy to read, offers you exactly the functionality you need, and once you learn half of it you can intuit how the rest works. A bad API will send you to the docs again and again so you can figure out why it’s not working even though it totally should because I copy-pasted right from the example and it’s still not working what the hell!?!?

I can’t actually comment on a lot of the points Geldreich makes. The author is coming at OpenGL from a very different angle. I’ve never messed with console ports. I haven’t touched Microsoft’s toolset since the 90’s. I’m usually mucking around with procedural content, not pushing the hardware as hard as I can. (Although my current project is a tiny step in correcting this.) All of this means that I don’t have anything to compare OpenGL to, because I haven’t really used it in difficult circumstances or explored the alternatives. Furthermore, my low-tech work means I’m just less sensitive to quirks in the system.

On the PC, the two big players have been Direct 3D and OpenGL, and I gather they’ve been playing tug-of-war since the 90’s. At first OpenGL was faster. Then D3D. Then OpenGL again. Now it sounds like D3D has the performance edge. Again, I’m just extrapolating. I don’t have any first-hand experience with D3D.

But I suppose I can comment on a couple of these points. Here is what I think, put in plain language for non-coders. (Bolded text is from original article.)

Continue reading ⟩⟩ “Things that drive me nuts about OpenGL”

 


 

Skyrim EP37: Lowlifé

By Shamus Posted Wednesday May 28, 2014

Filed under: Spoiler Warning 75 comments


Link (YouTube)

In the past we’ve praised Bethesda for environmental storytelling. You look around some area, observe the placement of items, and find that they tell a story. It makes the place seem richer and more real.

The ratway is not that. The ratway is the opposite of that. The ratway is a place where the world stops making sense and you have to make up your own story to mentally patch the nonsense.

Well, I suppose the thieves put up all the traps to kill all the beggars? For some reason? And the bartender… I guess he doesn’t want customers? And Gian the Fist is standing in the corner of a featureless room because he… uh… is guarding the bear traps? You know, the ones that he blunders into when he comes to fight you. And the rats have been specially trained to only attack people who aren’t already inhabitants of the sewers. And the semi-furnished rooms with fresh food in the middle of the sewer maze are probably just a pantry. For the distant bar. I guess. And the hobos that live down here are in peaceful harmony with the rats and each other, but then attack dangerous-looking travelers because… cult, maybe?

It’s nonsense.

Also: Dr. Rutskarn, Professor of Elder Scrolls Studies at Chocolate Hammer University, has begun a new course, which you can attend via this handy link: The Altered Scrolls: Arena (Part 1: Storyline and Worldbuilding).

I’m prepared to believe that Dr. Rutskarn knows more about the Elder Scrolls than most of the people working at Bethesda. I don’t know if that’s a dig at Rutskarn, or at Bethesda, but I’m pretty sure it’s a dig at somebody.

 


 

Experienced Points: The Great Framerate Debate

By Shamus Posted Tuesday May 27, 2014

Filed under: Column 140 comments

Right now there’s this debate going on about the performance of the PS4 compared to the Xbox One. I don’t own either console, but I have spent mare than my share of time fussing with framerate and resolution, both as a consumer and a developer. So my column this week is a primer on the topic that will hopefully give people a sense of perspective before they beat each other to death with charts and graphs of benchmarking results.

And just informally: How many of us are console gamers? I know I lean pretty hard towards the PC, simply because it’s most convenient for me to game at my computer (where I don’t need to share) than in the living room (where I share with four other people) and because PC gaming is far cheaperProvided that – like me – that you would own a gaming-capable PC whether you played games on it or not.. I wonder how much of this impacts the shape of our community here.

Hang on, let’s find out. Let me find one of those free survey things and we can settle this:

What best describes your gaming habits?
I'm mostly a PC gamer. (Windows, Linux, Mac.)
I mostly play current-gen consoles like Wii U, Xbox One, and PS4.
I mostly play on last-gen consoles: Wii, Xbox 360, and PS3.
I mostly play on much older consoles: PS2, original Xbox, or earlier.
I mostly play on mobile devices.
Games what? I’m here for the programming posts.
This poll lacks the sophistication to describe my gaming habits.

Poll Maker

Yes, I know it’s not scientific. But it’s useful and I’m curious.

EDIT: Or maybe this poll is just broken? This is the fourth one I tried, with the previous ones being various flavors of horrible. This entire endeavor is feeling very “Amateur hour in the Internet of 1998” right now. Ah well. I’m tired of watching these half-ass websites try and fail at this simple task.

 


 

Errant Signal – Civilization

By Shamus Posted Tuesday May 27, 2014

Filed under: Video Games 100 comments


Link (YouTube)

See, this is why I love the work that Chris does. 14 minutes of thoughts on what the mechanics of Civilization (the game) says about how the developers view or frame civilization (not the game). I never really thought about things from this angle until now. My complaints with the game never went much deeper than “These spearmen shouldn’t be able to defeat my tank”.

I’ve actually never really cared all that much about the historical leaders. Aside from the comedy of having Mohandas Gandhi dropping nukes on you, I always thought it detracted from the sort of high-level abstractions going on in the rest of the game. Why is Montezuma still prancing around in animal skins when his civ has landed on the moon? How is Lincoln “President” of a nation when we’re in the bronze age and Democracy-type ideas are thousands of years away? And hang on, is he really supposed to be immortal? Are all the leaders? I understand this is the kind of thing you’re not supposed to think about, which makes it all the more confusing that these idiots keep calling me up on their bronze-age civ-phones and making me think about it.

I understand why this is done. The leaders give a face to the game. They make the human element visible, to save the game from being all about grids and charts. But it’s strange, you know?

 


 

Diecast #60: Wolfenstein, Google Rant, Transistor

By Shamus Posted Monday May 26, 2014

Filed under: Diecast 131 comments

Download MP3 File
Download Ogg Vorbis File

Hosts: Chris, Josh, Shamus, and Mumbles.

Show notes: Continue reading ⟩⟩ “Diecast #60: Wolfenstein, Google Rant, Transistor”

 


 

Skyrim EP36: Shffere!

By Shamus Posted Sunday May 25, 2014

Filed under: Spoiler Warning 143 comments


Link (YouTube)

You know we’re on a roll when we stop complaining about a Bethesda game so we can complain about another, older Bethesda game. Next week we’re getting back on the main quest.

Also, you can tell I was getting tired when we recorded this. Almost everything out of my mouth was a reflexive movie quote, which is a sure sign that my higher functions have shut down and I’ve reverted to some sort of atavistic parrot-like behavior.

If my head had been fully operational, I might have pointed out that the cannibalism intro is about as clumsy as it can be: A random NPC runs up to you, makes a ridiculous assumption, blathers a bunch of exposition that they have no reason to reveal, and your dialog response boils down to a binary “I accept” / “maybe I’ll accept later”.

This is a really fun game, but calling it a role-playing game is like calling Serious Sam a stealth game. Skyrim will let you do anything BUT roleplay.

 


 

Skyrim EP35: Ennis the Menace

By Shamus Posted Friday May 23, 2014

Filed under: Spoiler Warning 68 comments


Link (YouTube)

That thing at the 9:50 mark? Where Josh slams face-first into Ysolda? I did that all the time, every chance I got, to a couple of very specific people in Whiterun. If I accidentally missed, I’d turn around and make sure I gave them the Flying Elbow of the Player Character.

For the record, my targets were Ulfred Battle-Born (because he’s a massive dick who gets on my nerves) and the guy who carries lumber around for Belethor. I’m always disappointed that slamming that guy doesn’t cause him to drop the lumber. I like to imagine I’m throwing his stuff on the ground like a bully shoving a kid so he drops his books. I’ve sort of built up this head canon where this guy is always getting picked on by the Dovakin and he never knows why.