Just another site

Category Archives: WebGL

WebGL and Windows XP

Developing on a Windows XP machine requires a extra bit of work to get things going due to hardware acceleration in Chrome being blacklisted on XP because of hanging and system crashes. But it can be ignored, (at your peril) like this:

From the taskbar or start menu, right click on the launch Chrome icon and select properties. From the dialog box, add –ignore-gpu-blacklist to the end of the target string.

Not all graphics cards support WebGL but you can test your browser at the link below:

Here’s a run down of the spec required to run WebGL:

Additionally, here’s a handy list of those Chrome flags:


Node js

I watched an interesting seminar on Node js today. It has a single threaded non-blocking architecture; which for all intense and purposes allows it to act as a multithreaded process, (handling multiple concurrent or otherwise requests), but is super cpu efficient.

I think it has great potential for web based gaming,  but the only drawback is its immaturity, specifically a lack of database drivers.

I will continue to follow its progress closely and hope to include it in something good soon. JavaScript has come a long way in the last few years!

Choosing a WebGL framework

Having skimmed past the deprecated Google o3d, I’ve taken a good look at scenejs, three and glge as potential frameworks.

Scene is primarily used for creating 3d scenes and uses the JSON data format for all its 3d data, which is great for parsing the 3d data super fast. But I don’t think it’s aimed at games.

I honestly didn’t spend too much time with three, but did find a couple of great reads concerning three and other WebGL frameworks here, as well as a comparison of the three (below):

three vs scene vs glge

Anyway, I went with GLGE. It has great examples, great documentation and uses an easy to use xml based scene graph as well as an easy to learn code base.

Here’s a couple of good starting points for glge:

Additionally, here’s a handy tool for inspecting a WebGL app, used in a similar fashion to inspecting a website with Firebug. (for chrome):

Also here’s something special to aim for – a port of Quake II right in the browser. (


Unfortunately my work with OpenGL ES stuttered for Android and I didn’t get time to start anything significant.

But I’ve recently stumbled across a new technology which is a little closer to home. So taking my revised interest with 3d graphics, and everything I learned from OpenGL for Android, I’ve moved onto something new.

As my core skill set resides in Web development, I think the new WebGL technology could be a very good fit.

Learning WebGL ( has a great set of lessons to get everyone started with WebGL and contain familiar ports of the NeHe tutorials. But as I found moving to a framework as soon as possible worked well with OpenGL ES, and with my background in 3d graphics, I’m currently reviewing a range of differenct WebGL frameworks.