AS3 Augmented Reality

6 comments

Months ago, I saw lots of video examples on blogs and YouTube and finally I got some time and found AS3 sources from some brilliant japanese guys (Libspark).
They built an AS3 library called FLARToolKit which is translated from a Java library (NyARToolkit).
This library can detect a “marker” on a video source and calculate its position in a three-dimensional space.
Theses coordinates can be easily used with Papervision3D and applied on a Collada Object or anything else.

Here is my AS3 Augmented Reality Example, done with a Spongle Bob 3DS file found for free on TurboSquid.

You wanna test it?

1. Download the marker in the PDF document and print it.
2. Allow Flash to access to your webcam when it asks.
3. Point the webcam at the printed marker.

This movie requires Flash Player 9

QAS3 Augmented Reality

6 comments

Join the conversation
  • gilles - July 12, 2009 reply

    Sorry but where is the link to the flex app?

    Quentin Lengelé

    Quentin Lengelé - July 14, 2009 reply

    Not published yet.

  • pan666 - January 3, 2010 reply

    Hi,

    After i allowed Flash to access my webcam nothing happens :(.
    The window is just white.

    Quentin Lengelé

    Quentin Lengelé - January 5, 2010 reply

    Working fine for me…

  • jojo - November 23, 2010 reply

    Hello,

    Do you mind sharing how you deploy the swf on the web server? My AR swf works fine locally but not on the Web.
    Any advice will be greatly appreciated!

    Quentin Lengelé

    Quentin Lengelé - November 25, 2010 reply

    Do you load any DAE files or other types?
    The problem is certainly the fact that your server do not allow special MIME types like DAE extension.
    You have to add these MIME types in the config of your server.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.