FLARManager v0.3 (for FLARToolkit)
ericsoco | 2009/03/28 | 11:11 pmbeen getting started on a new FLARToolkit app, and i’ve been finding myself needing more tools…hence the rapid-fire releases the last couple days.
to make things simpler to update in the future, i moved FLARManager onto svn, and created a separate page for it. you can find all the details, and the source, here:
http://words.transmote.com/wp/flarmanager/
major changes in v0.3 include:
packaged things up proper. was getting to be a respectable pile of classes, so i tidied things up a bit.
added FLARProxy.as. FLARProxy provides a way to test FLARToolkit applications with a mouse and keyboard, instead of using FLARCameraSource or FLARLoaderSource.




oh no... I dont have a svn program in my
Javier Patiño | 2009/03/29 | 4:18 pmoh no… I dont have a svn program in my mac…. do you know some one to download you flarmanager?
you don't have to use SVN to download the latest
ericsoco | 2009/03/29 | 4:37 pmyou don’t have to use SVN to download the latest version, i posted it from the page linked to in this post.
there aren’t any great SVN options for OSX, in my opinion, but i use Versions. it’s pretty good, tho it has some flaws (including a somewhat ridiculous 50€ price tag). another option is subversion + scplugin (http://scplugin.tigris.org/). last i used scplugin it had a lot of bugs, but maybe it’s gotten better since then.
If you have Leopard subversion is already installed. A good
Danilo | 2009/03/31 | 3:19 amIf you have Leopard subversion is already installed. A good free source svn gui is svnx
thanks
Javier Patiño | 2009/04/03 | 1:31 pmthanks
any hints on how to get this running in Flash?
Splengy | 2009/04/09 | 8:45 amany hints on how to get this running in Flash? please?
fyi, i found out that, by releasing FLARManager under Creative
ericsoco | 2009/04/12 | 12:50 pmfyi, i found out that, by releasing FLARManager under Creative Commons, i was in breach of the GPL under which FLARToolkit was originally released. so, FLARManager is now under the GNU GPL. the source has been modified accordingly.
splengy, you should be able to get FLARManager to compile
ericsoco | 2009/04/12 | 12:53 pmsplengy, you should be able to get FLARManager to compile from the Flash IDE by setting your Document Class to any of the four example main classes in FLARManager (”FLARManagerExample_….as”).
note that FLARManager targets flash player 10, which means you’d need Flash CS4 to compile. there is a version for FP9 available here:
http://words.transmote.com/wp/20090312/flarmanager-v01-for-fp9/
but it’s an older version of FLARManager, and i don’t plan to release an updated version for FP9.
[...] flar manager source was a combo of marcs tutorial
Think Again » Blog Archive » pv3d.org AR contest submission one | 2009/04/13 | 9:12 pm[...] flar manager source was a combo of marcs tutorial and erics examples. http://words.transmote.com/wp/20090328/flarmanager-v03/ [...]
hi~ericsoco, is FLARManager free for develop commercial application?
John | 2009/04/28 | 1:02 amhi~ericsoco, is FLARManager free for develop commercial application?
@john -- thanks for asking. FLARManager is, currently, free for commercial
ericsoco | 2009/04/30 | 11:45 am@john — thanks for asking.
FLARManager is, currently, free for commercial development.
note that FLARToolkit is not, however, and you have to abide by their license.
as FLARManager is derived from FLARToolkit, FLARToolkit’s licensing applies to use of FLARManager as well (i.e. you have to either open-source your application, or purchase a license). more info on the ARToolkit license here:
http://www.hitl.washington.edu/artoolkit/license.html
Hey Eric, Great manager...I just refactored my app from the squidder
SMJOHN | 2009/05/03 | 9:46 amHey Eric,
Great manager…I just refactored my app from the squidder multiple marker source to your FLARManager….
I’m getting all these traces on enter frame which is bogging down my app:
2 1 0.09913204920897555 ( 140 )
2 1 0.09913204920897555 ( 140 )
2 1 0.09913204920897555 ( 140 )
2 1 0.09913204920897555 ( 140 )
I suspect they’re xyz vals for the flarnode….I tried a search in FDT but I can’t find where you’re tracing this params…Do you know where I can find this trace to comment it out?
Thanks,
SMJOHN
hm, not sure what those are -- did you just
ericsoco | 2009/05/03 | 7:06 pmhm, not sure what those are — did you just get the latest from SVN? i’ve been doing some work on it lately, and it’s possible you got a revision with some debugging traces left in it. i can’t remember writing any code that would output that stuff, but that doesn’t mean i didn’t do it
try downloading the latest from SVN and see if it’s still there. in general, the latest revision in SVN is not guaranteed to work; the safest bet is to download from the link in this post.
I grabbed it from the zip or whatever you had
SMJOHN | 2009/05/04 | 1:09 pmI grabbed it from the zip or whatever you had it up as before svn. Will try the svn version…
Do you have any idea of how to add a cube or any 3d object to the scene when the marker is detected, but not have it added to the flarnode? I don’t need my model to translate with the position of the node.
I basically want to show my paper marker, spawn my model, then remove the marker and have the model stay in the scene.
sure, just add it like you would add it without
ericsoco | 2009/05/04 | 1:59 pmsure, just add it like you would add it without FLARToolkit, and don’t apply the transform matrix every frame, and don’t bother handling the marker removed event.
Hello.. I have a problem when I try to load
Javier Patiño | 2009/05/09 | 8:30 pmHello.. I have a problem when I try to load a Dae without Collada.as…If I load with DAE.as give me an error… with some doubleside and effects…. why this errors?
BTW - I noticed that the tracker confidence results are
Trent Grover | 2009/05/18 | 8:30 amBTW – I noticed that the tracker confidence results are different depending on whether you mirror your camera source or not. It was driving me nuts until I tracked that down. The problem is fixed by mirroring your original pattern.
Perhaps your pattern loader code can be altered so that it performs a mirror of the pattern array if the camera source is being mirrored? That way I wouldn’t have to keep track of 2 different pattern files.
yep, that's true. i committed a version a couple
ericsoco | 2009/05/18 | 12:57 pmyep, that’s true. i committed a version a couple weeks ago with mirroring turned off when i found this out, and i thought i posted something about this, but maybe i just wrote it in my revision comments. next released version will address this issue.
[...] of the FLARtoolkit. If you have not look into
FLARtoolkit trick: use a colored marker | Andy Li's Blog | 2009/07/04 | 8:22 pm[...] of the FLARtoolkit. If you have not look into the internal classes of FLARtoolkit (because the FLARmanager is so much easier to work with ), there are two detectors: FLARSingleMarkerDetector and [...]
Is it possible to get the X, Y and rotation
William | 2009/09/05 | 5:31 amIs it possible to get the X, Y and rotation values of markers to a trace window, I want to track objects but not use papervision 3d to draw 3d on top. Every flar thing I find has papervision, can we not just put 2d graphics on top?
@william -- of course! that's why i made FLARManager.
ericsoco | 2009/09/05 | 7:52 am@william — of course! that’s why i made FLARManager. papervision not required. and, personally, i’m more interested in the 2D applications than the 3D applications. check out FLARManagerExample_2D to see how to get that information, via FLARMarker.x, .y, and, .rotation2D.
Ahh, thank you. I will have to look.
William | 2009/09/05 | 10:13 amAhh, thank you. I will have to look. I own Flex, am saving for Flash (demo has expired) so will try to build it in Flex and learn from there. Thank you for releasing this, I one day hope to be able to be good enough to release code for free.
Hmm, I cant get it to work :) If
William | 2009/09/05 | 10:47 amHmm, I cant get it to work
If I remove any reference to PV3D I get Matrix errors with a fair few other classes from FLARToolkit. I wonder if you would be so kind as to show code which would simply recognise a marker and trace an x and y value? I’ve looked through your code and tried to replicate it without the outline, simply tracing values, but am stumped.
@william -- sorry, i should have pointed you to FLARManagerTutorial_2D
ericsoco | 2009/09/06 | 1:22 pm@william — sorry, i should have pointed you to FLARManagerTutorial_2D — it should be pretty obvious from that example how to access x, y, and rotation.
[...] you’re a Flex developer, get the FlarManager toolkit here.
Augmented Reality in Flash/Flex aka FLAR. | *harp - Interactive Designer | 2009/10/30 | 9:19 pm[...] you’re a Flex developer, get the FlarManager toolkit here. The Flex libraries are super cool. For Flash developers start here with Saqoosha’s jump [...]
Hi ericsoco, great work thist flarmanager. I was using the V05
Daniel | 2009/11/06 | 8:06 amHi ericsoco, great work thist flarmanager.
I was using the V05 in Flash CS4 with papervision3d and other libraries and everthing is good.
But when I try all examples in V06 I get this errors (sorry this in spanish)
1044: El método de interfaz attachDestination del espacio de nombres org.libspark.flartoolkit.core.labeling:IFLARLabeling no se implementa con la clase org.libspark.flartoolkit.core.labeling:FLARLabeling_BitmapData.
1044: El método de interfaz getAttachedDestination del espacio de nombres org.libspark.flartoolkit.core.labeling:IFLARLabeling no se implementa con la clase org.libspark.flartoolkit.core.labeling:FLARLabeling_BitmapData.
1044: El método de interfaz labeling del espacio de nombres org.libspark.flartoolkit.core.labeling:IFLARLabeling no se implementa con la clase org.libspark.flartoolkit.core.labeling:FLARLabeling_BitmapData.
Warning: 3594: trap no es un método reconocido de la clase dinámica FLARException. (this error repeat many times in several lines)
My libraries are good, well the same directory only changing “v05″ for “v06″
What can I do?
thanks and keep the hard work!!
ahh sorry... my interest is detect marker rotation and move,
Daniel | 2009/11/06 | 8:08 amahh sorry… my interest is detect marker rotation and move, in the example FLARManagerTutorial_2D.as of FLARManager V05 there is nothing about it, is in the V06… please help me and thanks again!
@Daniel -- please look through the comments on the v0.6
ericsoco | 2009/11/06 | 10:28 am@Daniel — please look through the comments on the v0.6 page. this is a bug in CS4 with classes that implement multiple interfaces, and others have already solved this problem and posted the solution there.