OK, for the past few months, I have been playing with Flash augmented reality. Its fun, but it takes time to figure out how the technology works. So here’s a summary for you…
- FLAR – Flash Augmented Reality
- flarToolKit – this is the API being used for Flash Augmented Reality, made by saqoosha (Japanese)
- flarManager – an API built on top of the flarToolKit to make it easier to use, made by Eric Socolofsky
- .pat – pattern files, needs to be generated in order for the API (flarToolKit) to identify your marker
- nyId markers – new addition to flarToolKit which does not need pattern files, these are predetermined markers which cannot be modified and has numbers associated with them
Getting Started (easiest way) – you will be needing a webcam to make this work
- Download FLARManager
- Open flex builder (in my case, I’m using flex builder 4), then go to FILE > IMPORT FLEX PROJECT (FXP)
- A window will pop up, and with FILE selected, click BROWSE, find the zip you downloaded and select that, click finish once you are done
- You will then see the FLARManager folder on the outline panel (left hand side)
- Select SRC > default package > FLARManagerExampleLauncher.as — the as file should pop up on the right hand side
- You will likely see an error message saying “Cannot create HTML Wrapper, right-click….” on the “Problems” panel. To solve this, just right click and select “Recreate HTML templates”.
- print out the markers located inside the FLARManager Folder – FLARManager > resources > flarToolkit > patterns > patterns01.pdf
- cut out the markers (or not) then go back to your FLARManagerExampleLauncher.as file
- push the play button and show the markers to the webcam!
Check out part 2 (FLARManager – Changing DAE) on how to change Mario into your own DAE.