SELinux - very handy

Those NSA techs know a thing or two about security - you’d kind of hope that was the case I suppose, especially if you’re part of the world’s current dominant superpower (at least for now ;)). They came up with SELinux in response to a need for kernel-level mandatory access controls which were very configurable to many levels of security clearance, and indeed in its entirety it’s a pretty complex policy-driven security system which greatly enhances both the granularity and strength of security policies over and above the typical Directory Access Control (DAC) approach you get with regular Linux filesystems.

Read more →

Surfing the game wave

So, enough work-related posts lately, let’s talk about games. I’m being seriously fickle with my gaming love these days. The Wii came out, I got Yoshi’s Island DS for Xmas, and I still had NWN2 and KOTOR unfinished from 2006, and now I’ve been foolish enough to pick up Castlevania: Portrait of Ruin on import on a whim, since a couple of our local shops imports US games now and then.

Read more →

I don’t really have time for this, but I need to get to know Redhat Enterprise Linux a little since the machine that will eventually be our new server is running on it. In recent years I’ve gotten pretty comfortable with Debian which is great for servers IMO - its racy teen offspring Ubuntu might be getting all the attention lately on the desktop, but Debian is a solid workhorse with a sensible stability / security policy and lots of really sensible and useful tools.

Read more →

Stay on target!

It’s coming. Eihort, that is. I’ve been working on pretty much nothing else since just before Christmas and the items on the TODO are, one by one, getting ticked off. Annoying gotchas with the texture shadow enhancements delayed me for a bit but the going is smoother now. I have a hard deadline of the end of the week to finish the majority of the new code. That’s because for the 3-4 weeks after that I have commitments to third parties and thus any OGRE work will have to be done around that.

Read more →

Gah

Sorry for the downtime of the site, and any bounced mails you might have had from my personal domain over the weekend. This domain’s contact email, unlike all the other domains I administer, was set to the old webmail account I used when I set it up, which I don’t check very often, and so I missed the renewal reminders. Dumb mistake, especially since this happened a few years back too and I thought I’d altered it, but obviously not.

Read more →

As you probably already know, I live on a tiny island just off the French coast. Many of you might not realise just how small it is - about 78 square kilometers in total and about 62,000 people. The upside is the quality of life is a lot better than many places, one of the downsides is that a small population and a significant economic skew towards financial services means there aren’t that many software development people about.

Read more →

I spent yesterday sorting out all the dependencies for Eihort - that meant updating to the latest versions of almost everything. For the core that meant rebuilding FreeType (v2.3.0), FreeImage (CVS - I submitted a patch because they had a small scoping bug in VC8), and Zziplib (0.13.47). I’m building all these with VC8 SP1 now, since I intend to supply binaries for Eihort with the SP installed. For the recent Dagon stable release I used my laptop which doesn’t have SP1 on it, to make it easier to update for those who are sans-SP1, but with Eihort it’ll be full-bore only.

Read more →

I finally got around to giving the Athene model a combined normal mapping and depth-shadowmapping shader - you might have noticed I’d avoided doing any close-ups of it in previous shots, it’s because it I hadn’t gotten around to it yet and Athene was still using the old normal mapping shader. As you can see she self-shadows nicely now and the shadow detail nicely follows the normal mapped detail like the folds in her cloak.

Read more →

Wow, I had a really interesting mail today. Here’s how it starts: Subject: PLEASE READ this is not an advertisement or a joke! Ok, that alone earned you a few points on my spam filter’s scoring system. But, then it gets more interesting: Dear Steve, AKA sinbad, My name is [omitted in case name was stolen from elsewhere]. That name is actually an alias (mine I mean). I must use thise alias because of what I am about to tell you.

Read more →

Preprocessor macros are very useful for re-using the same shader source code in small variant ways. For example (snippet from my depth shadowmap code): #if PCF // use depths from prev, calculate diff depths += depthAdjust.xxxx; float final = (finalCenterDepth shadowUV.z) ? 1.0f : 0.0f; final += (depths.x shadowUV.z) ? 1.0f : 0.0f; final += (depths.y shadowUV.z) ? 1.0f : 0.0f; final += (depths.z shadowUV.z) ? 1.

Read more →