I spent a couple of days testing out the FLARManager for FLARToolkit and created this basic combination lock.
If you get the symbols in the correct order it will give you a pound.
Build in flash, AS3, Papervision3D Public Beta 2.0 – Great White, FLARToolkit, FLARManager and published for Flash Player 10
Here is a video of it, if you want to try it for yourself don’t watch the video as it will spoil the game of breaking the combination.
You can try the demo for yourself if you have a webcam attached to your computer, Flash player installed and can print this symbol (PDF file) you then need to cut-out the black squares and place them on the outlines within the big black border, some of the black pieces overlap.
* you will need to allow flash access to your webcam when it asks (or right click flash and select settings).
[kml_flashembed movie="/swfs/ar-combination/bin-debug/test.swf" height="480" width="640" /]
The above post sheds light on the questions I had about the marker pattern, there is an AIR app available to create the code Mikko also give some guidance on creating your own marker.
Mikko has saved me a lot of time by rewriting the source code I was working from to make it easier to follow and he has provided comments in English.
I’m really happy now I don’t have to dig through the code and translate the Japanese using bable fish, it’s quite hard to understand.
Recently I’ve been trying to get my head round augmented reality in flash.
Here is a little demo of a globe…. It works quite well most of the time but does loose the image now and then.
I have been working from the source of this demo: http://www.boffswana.com/news/?p=392
And it’s quite easy to replace the object that is used once you get it all working.
I want to post some clean code with an expiation of what I think the code is doing, so hopefully ill have time to do that soon.
One thing that I have been trying to work out is how the data for the pattern is created, I’ve searched the web and had a look @ the FlarToolKit forum but it’s mostly in Japanese, so not had much luck.
All the demos I’ve seen use one of 2 patterns, so I’m thinking either is really hard to create or the people who know how to do it don’t want to let it out.
I have tried to create the data from the bitmap data of a movie clip in the library, but can’t get the values in the correct format; can anyone shed any light on this?
Adobe has built a headless flash player that runs through a
swf file really fast.
Google has build a virtual user that communicates with the
headless flash player, the user deals with the logic to make sure it
clicks all the buttons and decides what to index.
All text fields visible on the display list can be accessed
even dynamic ones
Images of text are not found – best way to hide
text for Easter eggs
If you load data via external file i.e. xml and populate
text boxes, it can be accessed via the headless flash player (Google
are not yet passing this file back to the headless player, but they do
index the external file)
No sockets, no video
A snap shot of the state can be taken (this is at the
Google virtual users request)
No external interface
No swfAddress deep linking
Flashvars are ok as the virtual user passes the player the
complete url
If you want to download any YouTube video, don’t bother with any software just put “kick” before youtube.com in the address bar and you can download it as Flv, Mpg, Mp3 or HD Mp4.
This is the best method I have seen, I’ve tried using Lee Brimelows’ AIRTube app, but that didn’t work and some random bit of software but that didn’t work either, recently I have resorted to using firebug to get the links form the page and finding the flv file by trial and error but this is so much better.
This is an amazing use of bacon to make a simple but mouth watering dish.
Weaving bacon is genius; you can make so many more things with a flat sheet of bacon, like a lasagne or a pizza base and lots of other things I can’t think of right now
I’m going to make a bacon cheese roll soon but I will put something else into the middle, most probably one of these: Egg for a breakfast roll Sausage but that might be a bit too much pork Mushrooms, tomatoes, peppers would add a nice element of veg Chicken breast to give a slant on the normal chicken cordon bleu