Archive for December, 2009

Texture mapping in Away3dlite

Wednesday, December 9th, 2009

–movie moved to more section–

Well another day, another testcase, video on a 3d object as a texture, yes that can be done! So here it is, the new youtube augmented vid on a box. You like watching video’s the oldschool way?  Then it’s better to checkout the YOUTUBE version.

So the augmented app in the movie is a little bit different then the stuff I tried before in that there is no 3d tool/collada files used to make this flock of butterflies. It was programmed in actionscript just like normal sprites. The butterflies consist of 2 boxes for the wings and those are embedded in another set of boxes to be able to pivot them in the right spot. The wings are textured with png with alpha channel. All in actionscript/papervision3d. You like?!?

(more…)

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..