benjamin.computer

Structured Light

06-10-2010

structured light

A test of a simple structured light setup. The idea was to use a PS3 Eyetoy and the excellent code written by Kyle MacDonald - sites.google.com/site/structuredlight/ and Memo Akten - www.memo.tv. There are more photos on my Flickr page and indeed, I'll be making some movies soon!

structured light

I strapped together Memo's code under Windows as I finally managed to get hold of the PS3 Eyetoy driver that allows you to do 60fps. There is a special OpenFrameworks 'addon' that is part of Community Core Vision that allows you to run OF programs with 60fps. They don't tell you this ANYWHERE so I'm telling you all now!

There is a thread on the NUIGroup forums that describe using the PS3 Eyetoy with CCV (thats a multitouch table program in Openframeworks btw) and this does work at 60fps but in order to get the structured light scanner to work, I needed the source code to drop into the capture program. Within the CCV Windows Source code, there are some classes that deal with driving the PS3Eyetoy specifically. Dropping these into the Windows version of the decoder worked really well.

I need to take some photos of the setup. Essentially the projector goes below the eyetoy which sits infront of the projector in order to zoom in. Sadly, the throw, or size of the resulting projection really wasn't good enough for this experiment but I shall persevere.

Thanks to Jonty at the London Hackspace for use of his PS3 Eyetoy and the Projector!


benjamin.computer