Depth-of-Field in O3D

July 14th, 2010

Yesterday, I decided to learn more about O3D render/scene graphs in order to implement multi-pass shading effects. It’s still a bit of a hack, but I’ve written a few helper functions for myself to abstract away some of the leg-work in assigning render targets and uniforms whilst creating ViewInfo objects, as well as creating materials with shaders.

I do have one problem with accessing the depth buffer as a texture, but I’ve posted on the O3D-discuss mailing list and I’m hopeful someone will have an answer there. This has meant that I’ve had to write a custom phong-shader which writes the depth to the alpha channel. Anyway, read on to see what I came up with.
Read the rest of this entry »

First steps with O3D and WebGL

July 13th, 2010

Today, I’ve been reading up and playing around with Google’s O3D library for WebGL. Read on to see what I have so far, although it’s pretty much just a bastardisation of the “Hello, Cube” sample.

(N.B. to view this you’ll need a WebGL-enabled browser. See here.
Read the rest of this entry »

Laika Gameplay Video

March 14th, 2010

Laika as it currently plays:
Read the rest of this entry »

BeerTracker

March 6th, 2010

Have you ever wondered: “where’s the nearest place can I get a drink?” N900 users, look no further! Although as yet unfinished, BeerTracker aims to solve this debacle by providing a quick and feature-frugal map to your closest pubs in the style of the Aliens motion tracker.
Read the rest of this entry »

NTFS Symbolic Link on MPD

February 21st, 2010

Since my recently-acquired N900 has an MPD client application, I thought I’d finally get around to setting up MPD on my desktop; remote control through WiFi! On the desktop, my music collection is stored on an NTFS drive which I then link to my home directory ($HOME/Music). When setting up MPD, I decided to go through the ‘mpd’ user route; i.e. running the daemon for multiple users: this seemed to make the most sense for handling remote connections. I then linked the music collection directory to /var/lib/mpd/music and had MPD update:
Read the rest of this entry »