I can display images on marker using flarToolkit in flash as3 but can anyone suggest a good link/tutorial which explains how to use animation with augmented reality in flash?
-
Given the fact that AR in flash is still very new, I don't think you're bound to find an actual tutorial on animation with AR in Flash. That being said, Flash is built around animation, so you shouldbe able to use standard MovieClip animations along with programmatic tweens (eitherby hand or by using a tween library like TweenLite). – Branden Hall Jun 21 '09 at 04:24
-
Tx a lot for your reply.Actually i know how to create animation and other stuff in flash but what i want to achieve is to have for e.g.a cartoon character appearing on a marker, dancing on it and singing a song.May be you can guide me how to achieve that.I watched many videos in which people have achieved it but haven't able to figure out how to do it exactly. – funkydokta Jun 21 '09 at 12:44
2 Answers
Well, more than anything else you need to understand PaperVision3D to really be able to do cool stuff with flarToolkit.
Fundamentally flarToolkit is analyzing the camera's output and figuring out where, in 3D space, the marker exists and how it is oriented. You can then take that data and use it with PaperVision3D (or really, any 3D engine, though I believe the current version of flarToolkit is fairly tied to PV3d).
So first off, here's a basic tutorial for flarTookit: http://www.mikkoh.com/blog/?p=182
Then you'll want to bone up on PV3D: http://blog.papervision3d.org/ http://pv3d.org/
You can make things as simple as 2D animations that are essentially planes in 3D space to full on 3D characters - it's up to you and your imagination!

- 4,468
- 18
- 19
As Branden mentions, Augmented Reality is essentially a container for PV3D/Away3D/Etc.. code that is then run and the output is transformed to fit the values given to it by the FLARToolkit.
Here is a post that shows you how to do some basic animation + using As3dMod : http://www.harrynorthover.com/blog/2009/04/15/getting-started-with-augmented-reality-flartoolkit/
-
Thanks for reply. Do you think that on this site all magic is done using pv3d. http://ge.ecomagination.com/smartgrid/#/augmented_reality – funkydokta Jun 25 '09 at 07:34