Archive for the ‘Augmented Reality’ Category

Away3DLite + Augmented Reality = Free Camaro!

As promised the demo above includes bare bones source code (right click to view source)  for getting FLARManager up and running with Away3dLite.  And for a limited time, it comes with your very own Camaro!  99% of the credit goes to Eric Socolofsky as the code is just a trimmed down version of his example code included in FLARManager.  The model has been provided free by the modeler “Race Tracks” at turbosquid.  In order to use this demo, you need to do the following:

  • Download and print this marker
  • Turn on your webcam and point it at yourself.
  • Start the demo, point the printed marker at the webcam, and enjoy!

If the above steps aren’t clear, check out the video demo from my prior blog post.  For those out there constantly evaluating how far we can push the performance of away3dlite, you might like to know that the model consists of right around 1000 faces.  1000+ faces along with the video processing of patterns and I’m still maintaining right around 30 FPS.  Not bad at all.

Away3D: Augmented Reality

Here’s a quick demo I did of using augmented reality in Away3D.  The quick description is that your webcam is used to identify the position and orientation of the marker (which I’m holding).  With these values identified, FLARToolkit and FLARManager are used to translate your Away3D scene and objects relative to the marker.  You are adding interaction into your Away3D apps using natural movements rather than the typical mouse and keyboard combos.

While the demo itself doesn’t give a great picture of the practical applications, they are showing up more quickly then you might imagine.  One particularly interesting example is the Layar browser, which uses global positioning rather than marker identification to make its alterations to reality.  Rather than try to explain it, check it out here:

And I’m sure plenty more applications are on the way. Want to get on board and start churning out your own augmented reality (AR) apps in Flash?  Check out FLARToolkit and FLARManager for yourself.  You may also want to take a look at the original ARToolkit, which is based in C++, or NyARToolkit, the Java/C# port on which FLARToolkit is based.

Too lazy for all that research?  Stay tuned and I’ll post up the source from the bare bones example I had in the first video of this post.