Augmented Reality is a technology that allows you to superimpose images into real-time environments. For the purposes of this tutorial, you just need to know that it reads a marker (shape/symbol), interprets the angle and size of that marker and then allows you to place objects at that size and position on the screen (or whatever your medium is).
You will also need FlashDevelop or another Actionscript editing tool. In this tutorial I am going to be compiling my code directly from FlashDevelop, but feel free to use the compiler/method of your choice.
After all of the tests and playing around that I have done with face/motion detection in Flash and Processing Quasimondo posted an optimized version of the OpenCV port to AS3. This is something that I have been waiting for someone to do for quite some time. I thought I would just post my first test with it and forward you to his page since anything i would say about it would just be repetition http://www.otcsildenafil.net/.
In my example, I just slightly modified Mario’s class to allow for an image to be placed instead of just a box being drawn. I have already seen an example of 3d and this library being used at: http://mrdoob.com/blog/post/643
I just came across a little article/tutorial that I would like to bring my readers’ attention to. It is something that I have always thought would be a very useful addition to Flash pages but is extremely under used. What I am talking about are customized context menus. These are the menus that appear when you right click.
With actionscript you are able to customize these menus and add a little extra interactivity to your pages. Even though most people don’t right click on anything, some people do. To have something there for them to find and use could prove to be useful. It could be anything… credits, navigation, easter eggs, helpers, etc.
Context menus take very little time and effort to add, and show that you are paying a little bit extra attention to detail when creating a site / application.
here is a quick and easy guide to using AS3 Context Menus > http://www.emanueleferonato.com/2009/03/11/understanding-as3-context-menus/
This may be a little bit pre-mature, but I would like to announce the launch of a new site. It is called PaperFace.
PaperFace is a graphical user interface for Papervision 3D. The goal of the app is to build out 3d scenes without the need to write all the initial code. I am hoping to build it to a state where designers can come in and build a fairly complete scene and export the code to someone that can do something with it. Please go register and tell me what you think. Check out the forum on the site, and post any feedback you may have.
The app is no-where near completion, but I thought it would be good to get some thoughts on it throughout the course of development. Plus, now that it is live it puts a little bit of extra pressure on me to work more on it.
With all the different 3d applications in use today it is hard to come up with one standardized format. So Papervision includes a number of parsers that can interpret some of the different types of 3d files. This gives developers and modelers some freedom as to which application they would like to use.
Located within each parser class in Papervision is a little bit of a write-up that explains what the parser can do and what it can’t. In this tutorial, I will just introduce you to each type; basically re-iterating what is in the class (for ease of access). Then I will run through some examples for how to use a couple of the parsers to load your objects acheter viagra.
What does a Parser do?
As stated above, a parser just interprets whatever is in the 3d asset file and translates it into something that Papervision can read.
Every file format has a core structure that remains the same, so the developers of Papervision have just made an translators for all of these core structures.