Archive for the ‘Papervision3d’ Category

Augmented reality

Thursday, December 3rd, 2009

Since we like this “Augmented Reality in flash” concept so much we decided to publish a marker on our new businesscards , my colleque Johan has a different marker from mine and in order to trigger different models/3d scenes on different markers I searched for an easy solution. Out of the box FLAR is not suitable to do this, luckily someone else (transmote.com) already build an extension based on FLAR called FLARManager. Not only does this FLARManager support multiple markers at the same time in a single camview, this guy also abstracted the marker detection in a way that you can access the detected transform matrix and apply it on your favorite graphics frameworks, whether it’s native flash sprites (2d/2.5d) , papervision, away3d, sandy3d or whatever.. I sticked, for the time being to papervision because i already got used to that framework, the better way to go is perhaps away3d because it’s more based on flash new 2.5 d capabilities and perhaps faster because of that.  In order to make things easier for myself I edited this stuff a little so now I can easily tweak markers/3dmodels connections and also tweak size and position and orientation of the diffrent 3d objects. Check the new demo movie on Youtube and keep checking on us because we are planning something more on this stuff..

Augmented reality

Tuesday, November 24th, 2009

Yes,

While I’ve done some cam motion tracking experiments in the past, to superimpose 3d animations on top of real life footage, this augmented reality stuff is  killing me, I like it a lot. A few months ago  I never once heard of the terminology “Augmented reality” while right now it is very much hot and happening. There are applications like Layar (http://layar.com) which brings this technology via the mobile platforms (Android and iPhone)  to the masses, today I created a more modest application that works with the flash FLAR framework. In order to do some 3d superimposing over a webcam view you need some kind of tracking information. In this case you don’t have a compass, gps or tilting sensor so we use a tracking marker that is optically recognized, so what you have to do is hold this marker in front of your webcam and this marker is used to calculate a transform matrix for your 3d object. Check the video for the full experience: