UPDATE: We’re be remiss not to also point you to Eric’s excellent FLARManager class. He took some of the stuff we’ve covered here and put a far more delicious topping on it.
One of the big things we’ve been wrasslin’ with recently here at Squidder is how to handle multiple instances of multiple markers using FLARToolKit. Well we haven’t totally nailed it — close, but there are still a few niggling issues. So we’re looking to you, dear Squiddite, to help us out.
It contains all the libraries (FLARToolKit, Papervision, even some of our own) you need to get going, even if this your first FLAR project. It’s as simple as extending a single class, creating an array of the markers you want to load in, and rocking and rolling. It also works great even if you’re only dealing with a single symbol.
Before we start this post, we ask that all non-nerds leave the room. Seriously, it’s for your own good.
Alright, now that we’re alone, let’s get down to business. When we first started messing with FLARToolkit, we were confused as hell about how to create our own markers, as were many other people we came across in our augmented reality induced travels. So now that we’ve got a grasp on it, let’s break it down so that future Magellans of the internet won’t make that stop in the Philippines.
This actually came about as a happy little accident while trying to bend FLARToolkit to our will (tracking multiple instances of multiple symbols – a total pain in the ass. But that’s a story for another time). It just so happened that we were rocking out to Kiss’ “God Gave Rock & Roll To You” and it suddenly occurred to us that “Hey, it wouldn’t be so hard to make these things make sounds when they disappear.” So we did. And it was awesome.
A couple of days ago we came across the AS3 library Marilena which is based off the Object Detection from the C library OpenCV. It’s an object detection library which is able to process an image and search for a particular type of object with a set of features. In this case it’s looking for faces (was provided with the library). See more about how it works here.
The input images are driven from the webcam. We added confidence and motion monitoring for the purpose of “snapping” a photo.
But we didn’t stop there. Using the mind blowing-ly good ControllerMate and some simple keyboard mapping classes, we hooked the car up to a wired xbox 360 controller for maximum nerd. Next step, get some shaders going on that sweet Ford Focus. Ah, we couldn’t resist, so we added a shader.
UPDATE: YouTube was being unhappy with our videos for some reason (we suspect it doesn’t get along with Snapz, but who knows), so we’re moving over to Vimeo. We’ve also updated our demo video here, too, to include a slight shadow under the car, as well as part where the car does it’s business without the flar symbol present. Enjoy!
So we here at squidder have been playing around with the FLARToolKit a lot recently. Pretty amazing stuff really. And while fooling around with it, something (perhaps obvious) occurred to us: We love flash. And we also love t-shirts. And Papervision. And Twitter.
And, suddenly, we had a way to combine them all together.
Below is an early technical demo, in which a barcode, containing a twitter username, is embedded within our FLAR pattern. This is important because you don’t need to create a new pattern for each username. Instead, the flash reads the person’s username (up to 8 characters, encoded in 6 bit chunks) and then pulls that person’s latest post from twitter.
The source code is a mess, but we’ll be posting some more how-to details soon. In the meantime, enjoy the video demo below!
Update: Fixed a minor bug when dealing with transparent sources.
Everyone loves pixel bender and everyone loves those apple-like reflections. So why not combine them? That’s why we’ve gone ahead and created a very simple pixel bender filter for creating just this effect, even on video (and it looks especially good on video).
Whew! It’s been a busy few months for your friends over at squidder. But to make up for the fact that we have been totally delinquent bloggers, we bring you Bumblebee.
What is Bumblebee, you ask? It’s a program born out of many many projects where the client has sent us excel documents and we’ve had to either move it to xml by hand or try to wrap our heads around the excel xml mapping scheme (spoiler: it sucks).
So we went ahead and wrote our own mapping program that uses simple templates to map values from an excel xml file to your own xml file.
We’ve love to hear if it helped you at out or if you have any suggestions, bugs or feature requests for future versions. Hit us up at bumblebee at squidder dawt com.
We at squidder wanted to highlight an oldie, but goodie, package, from our heros over at Big Spaceship labs. Out does just about everything you might want a logging tool to do, including the ability to exclude certain classes from speaking out at will.
Strength & honor, Big Spaceship. Strength & honor.