Monthly Archives: November 2009

Webcam stream dynamically RGB splitted

3d_video
Wow, long header for this post. But this is a simple experiment! I was inspired by a cool RGB splitting effect on an image I saw recently, but I figured it would look cool to have it be even more interactive. This led me to develop this: DEMO
It’s a simple webcam stream which rgb splits the bitmapdata in 3d space according to the mouse position – just move around your mouse cursor and see.

Nothing crazy actionscript wise – but it looks cool, right?

3D Planes

Here’s a little experiment, transforming your webcam screenshot into a bunch of 3D planes.
Basically I was interested in the performance of this because it might have been a cool idea for an image transition – but I had hoped for faster and better looking results! It’s pretty cool though anyway, so check it out below.

Click the screen when ready to take a snapshot (no images are saved from the application)

Demo 1 – this is with a planesize of 16 pixels and made with away3D Lite.
Demo 2 – this is with a planesize of 16 pixels and made with the native 3D in Flash.
Demo 3 – same as demo 2 but with planesize of 8.
Demo 4 – same as demo 2 but with bitmapFill instead of plain color fills.
Demo 5 – same as demo 1 but made with Papervision.

I’m a big fan of the open source 3D engines such as Away3D (and the smaller Lite version), Papervision etc. But it seems that for this simple 3D “effect”, the native 3D in Flash Player 10 performs a little better. Surprisingly Papervision also did this better than Away3D Lite – if anyone knows why, please share with me, because every other demo I’ve made with Away3D Lite has proved it better performing than any other engine!

NOTE: If you’re not seeing any video, you should propably right-click and change your camera settings for Flash.