Project Unearth Part 5: Speed Boost

By Shamus Posted Wednesday Jul 9, 2014

Filed under: Programming 62 comments

Let’s talk about these speed problems I keep alluding to. The framerate is half of what it should be. I’ve mucked about, looking for inefficiencies. I’ve made some minor changes but haven’t seen the framerate change all that much.

I suppose I’ve been spoiled by my days at Activeworlds. Back then I used Microsoft Developer Studio 6 to write my code. It was pretty old (1998) but it was the Professional Edition, which had top-notch tools for profiling performance. You could just fire up the program, run it for a couple of minutes, and then it would show you where all the time went.

This is far more accurate and convenient than manually measuring time from within the program as its running. You’ve got to put this timing code everywhere you want to measure, then you’ve got to surround it with additional lines of code to disable it when it isn’t needed. Then you have to run the program again and again, measuring performance and adding more and more clock-checks to zero in on the source of the problem.

But now that I’ve gone indieSUPER indie. I’m so indie, I’m not even working on an actual game! I’m using Visual Studio: Hippie Freeloader Edition, which doesn’t include the profiler.

This is an interesting look at how we perceive pricesOr at least, how I perceive them. But I’m willing to bet I’m not the only one.. I would say that $1,200, while steep, isn’t unreasonable for a robust tool like Visual Studio. You can use it to make retail-ready software. Companies can and do use this thing to make millions of bucks. But since Microsoft gives away the free version and the free version does nearly everything the pro version does, it doesn’t feel like I’m paying $1,200 for a development environment. It feels like I’m paying $1,200 for a profiling tool. And there’s no way that’s worth itSeriously. This is NOT me shaking my tin cup or beating around the bush for more donations. No matter how much money I had, I’m not sure I could ever bring myself to spend that much for the profiling tool.. I keep hoping MS will discount some old version and I can pick up the pro edition for a few hundredI do see offers here & there around the web, but they always strike me as being sketchy. It’s always some company I’ve never heard of and I’m always worried I’d be buying a bootleg version..

The point of all this bellyaching is that we’re going to have to look for our performance bottleneck the hard way. But before we get to that, I need to talk about my normal map some more. You’ll see why in a bit.

Continue reading ⟩⟩ “Project Unearth Part 5: Speed Boost”

 


 

Experienced Points: The Video Game Industry is Going Through Very Awkward Growing Pains

By Shamus Posted Tuesday Jul 8, 2014

Filed under: Column 30 comments

I have an odd column this week. It actually began as a Diecast question. (Which I’ve misplaced. Sorry!) It was something along the lines of “Why are games so stuck in a rut?” But it didn’t make it into the Diecast. Then I tried to turn it into a blog post. Then the thing sort of took on a life on its own. I started with speculating on what was going on at the major development houses, and wound up with this long comparison to Hollywood.

Also, I’m talking about Hollywood. Hopefully I didn’t butcher the history too hard. There’s only so much catching up you can do on Wikipedia before you have to buckle down and start writing.

Still, it’s nice to be positive for once. Or if not positive, then at least not-negative. Hm. Maybe it was still kind of negative. But it was negative in an understanding way. Sorry. That’s the best I can do.

 


 

Project Unearth Part 4: Enclosed Solids

By Shamus Posted Monday Jul 7, 2014

Filed under: Programming 64 comments

Last time I promised we’d be dealing with rendering performance problems. Lies. We’re going to backtrack instead. I skimmed a lot of concepts back in part 2, and I think we need to talk about stencil shadows in more detail before we can proceed.

I’ve gone over this before, but polygons have front and back faces. Typically, the back face isn’t drawn. If I’m staring at a wall in (say) Doom 3:

unearth_backface1.jpg

In the real world, if I pass through the wallHow? and turn around, I’d find myself looking at the back side of this blue wall. But in a videogame…

unearth_backface2.jpg

…I just look back into the level. The back side of the blue wall (and indeed, of all the walls) isn’t drawn. It would be a waste to do so, since you’d never see it during the normal course of play. Similarly, if you stuck your head inside a Minecraft cube, you wouldn’t find your head in a box. Instead, you would find yourself outside the world looking in, as with the Doom image above.

Let’s go back to the horrible MS Paint diagram I was using before:

Continue reading ⟩⟩ “Project Unearth Part 4: Enclosed Solids”

 


 

Misc.

By Shamus Posted Monday Jul 7, 2014

Filed under: Notices 78 comments

A few announcements:

1) Annotations are “fixed”.

By annotations I mean these thingsHi there!. And by “fixed” I mean they work for me in both IE and Chrome. Wait. I don’t have Firefox installed? Since when? Odd. I always have a version of Firefox installed. And unusedBecause as much as I worry about dystopian mega-corps of the future, I just… like Chrome slightly more, ok?.

Let me know in the comments if annotations are still malfunctioning.

2) No Spoiler Warning this week.

Josh is pretty sure our next session will be our final visit to Skyrim. Sure, we could pad out the season with sidequests and DLC, but I think we’ve all had our say and we’re starting to suffer from Bethesda fatigue. It’s time to move on.

But we don’t want to wrap up the season unless the whole cast is there. Rutskarn and Mumbles couldn’t make it this week, so we put the whole thing off. It might take a few tries to make it happen.

3) No Diecast this week.

With just Josh, Chris, and myself, we didn’t have a lot to talk about. The mailbag was kind of empty. (Except for questions for Rutskarn.) We hadn’t been playing much in the way of games, or at least not anything we’re ready to talk about. So a Diecast would have been an hour of Josh talking about Dark Souls while Chris and I tried to change the subject.

We’ve got content this week (coding and my Escapist column) but not the usual multimedia content. Just text. I’m sure we’ll pull through somehow.

 


 

Patreon Update

By Shamus Posted Sunday Jul 6, 2014

Filed under: Personal 71 comments

My Patreon campaign has completed its first month. Some people wanted to know how it went. So let’s talk about that. First, the disclaimer:

I want to stress that none of this is an attempt to pressure you to give. I would much rather you read without giving than feel guilted into leaving. I do this because I like to make content and you're here because you like the content, but neither one of us is under any particular obligation. Having said that, we're going to talk money using real numbers so if you're not comfortable with that then you'll probably want to skip the rest of this…

Continue reading ⟩⟩ “Patreon Update”

 


 

Skyrim EP51: The Peace Talks Were Successful!

By Shamus Posted Friday Jul 4, 2014

Filed under: Spoiler Warning 100 comments


Link (YouTube)

“So Catburt, even though the dragon Parthanblarg has lived in Skyrim for thousands of years without causing trouble, and even though he’s been indispensable in our efforts to save the world, and even though he’s been pretty trusting of us so far, he needs to die. And even though you’re nominally his friend and we’ve been retconned as ‘dragon hunters’, we’re asking YOU to do it.”

It is shocking how quickly this game will shift between great ambition and utter stupidity. Without even noticing. Without even pausing for a breath.

I can’t even wrap my head around how silly it is to have all of the great leaders of Skyrim hike to and from the mountaintop, with no escort, during wartime, all at once, through bears and trolls and allegedly bad weather, on foot. Frankly, I kind of think the Thalmor blew it here. Just one assassination would have caused the whole thing to backfire and make the war that much bloodier.

A few weeks ago we were talking about our favorite seasons of Spoiler Warning. For the record: This is my new favorite episode. Especially the end.

Catburt is a horrible son of a bitch, and I love him for it. He is absolutely the hero Skyrim deserves.

 


 

Skyrim EP50: Learn to Fight Fair!

By Shamus Posted Thursday Jul 3, 2014

Filed under: Spoiler Warning 92 comments


Link (YouTube)

Man, I’m so glad that Josh broke the combat system so we don’t have to waste a third of every episode on pointless battles. That sure is a timesaver.