Tuesday 31 July 2012

One Week Only - Augmented Reality Project

As I'm on holiday until Thursday with some old friends visiting from Denmark we decided to do a kind of "invention exchange". We're geeking out and building a "Bullseye" table. Let me explain, Bullseye is some proprietary research software used in some museums and exhibition stands, it's image tracking software that runs on the GPU and can INDIVIDUALLY track hundreds of little paper targets on the surface of the table in real-time.

It's written in Java and outputs the data via a couple of common multi-touch formats so it can be used by game engines such as Unity3D.

The hard part is calibrating the cheap and nasty camera equipment since we're using cheap stuff we can find around the house but as this is a prototype quality isn't an issue.



Today we're converting an old MAME cocktail arcade cabinet to use as the table. We'll fit a relatively inexpensive projector (around 200 UKP) under the table to project the game onto the underside of the table.

The little paper Bullseye targets are glued under objects (LEGO works fine but you can use model tanks/Battletech/Star Wars figures etc). The web cam under the table sees the shadow of the target and the Bullseye software sends the filtered camera image to the shader on the GPU. This scans the image for the geometry of the targets and writes the information to a small texture. Each target has an ID, position and rotation value. Fingers and other shadows will be tracked as objects with NO ID or rotation. The rotation is worked out from the shapes on the outer circle. The inner circle contains a binary representation of the target ID.

Tracking over 64 objects at 10 fps using a $10 camera is reasonably OK so long as the calibration is fine. As you increase the camera resolution and frame speed you can track more objects. One of the tables built already by the Bullseye developers is fast enough to run a virtual air-hockey game using some very expensive cameras.

For our prototype we're going to try and put together a simple Apache helicopter arming table and send that data into Combat-Helo. Failing that a simple snake or sound game. As time is running out we need to get a move on. More updates as we go.

Information on TUIO protocols and multi-touch displays can be found here http://www.tuio.org/




Sunday 15 July 2012

We interrupt this program.

Had planned and written a blog update to go out this weekend however some of the details I anticipated would be in it are still to be confirmed.

So here instead is a 30 second video of waves in Leadwerks engine I recorded earlier while working on water in various 3D engines. Normal service will be resumed as soon as possible.


(Actually I leave this scene running while playing Art of Noise in the background)