a place to learn, share and develop augmented reality with Flartoolkit
FLARtoolkit is a Saqoosha project | ARtoollkit is a ARtoolworks projet
Hi,
I have downloaded FlarToolkit and Papervision. But I can't figure out how to add the libraries to my project. I have created an eclipse actionscript project. How do I add the libraries and compile the project?
Can I load Google 3D Warehouse model (.kmz) in the FLARToolkit? It's not a problem to load (.kmz) in the Flash 3d (PaperVision 3D).
Hi there,
Can anyone help me out?I read many posts, blogs and tutorials.I have basic knowledge about papervision3d.I tried to create a small model in blender and exported it in .DAE format. When i am testing my movie then i just simply cannot see anything on the marker(the problem is for sure with the co-ordinates).I have no idea where my object is in 3D co-ordinates. Can someone suggest a way, so that after exporting any collada.dae one can see it easily(or have atleast any idea) where the model is present in the 3D co-ordinates.
Thanks alot
QUESTION by Shachar Oz
How can I get the marker's rotation values without any manager? only
with flartoolkit?
ANSWER by Eric Socolofsky
or var fm:FLARDoubleMatrix34 --
rotationX = Math.atan2(fm.m20, fm.m22);
original thread here
QUESTION by Mikhail I. Tsybizov
Can FLARManager read the animation of the DAE file? I do export including animation from 3ds Max2010 to DAE. But it is not displayed.
Is it the right way, or there is some other way?
ANSWER by Eric Socolofsky
e.g. image on 4 markers, so smaller marker can be used without having too much jittering?
ANSWER BY MAKC
if all 4 markers are of same size and not rotated relative to each other, for example in corners of invisible square, you could simply average their resulting matrices - and that would place your model into square center.
that is, if they are ALL detected :)
This thread is a resum from this original from Fabien Sayer at Google Groups.
No. Right now FLARtoolkit doesn't support color markers. If you have seen some company examples and they use color markers, that's other technology but no FLARtoolkit.
Here is the sample code to get the screen coordinates of the marker. (Originally from Makc's post)
var i:int, sq:FLARSquare = detector.getSquare ();
for (i = 0; i < 4; i++) {
var ix:int = sq.sqvertex[i].x;
var iy:int = sq.sqvertex[i].y;
var c:uint = 0xFFFF0000;
bd.setPixel (ix + 0, iy + 0, c);
bd.setPixel (ix - 1, iy + 0, c);
bd.setPixel (ix + 1, iy + 0, c);
bd.setPixel (ix + 0, iy - 1, c);
bd.setPixel (ix + 0, iy + 1, c);
Recent comments
8 hours 43 min ago
1 day 7 hours ago
1 day 12 hours ago
2 days 12 hours ago
3 days 6 hours ago
5 days 11 hours ago
6 days 13 hours ago
1 week 9 hours ago
1 week 1 day ago
1 week 2 days ago