FLARManager: Augmented Reality in Flash
what is this?
FLARManager is a lightweight framework that makes it easier to build FLARToolkit augmented reality applications for Flash. it is compatible with a variety of 3D engines (currently: Alternativa3D, Away3D, Papervision3D, and Sandy3D), and provides a more robust event-based system for managing marker addition, update, and removal. it supports detection and management of multiple patterns, and multiple markers of a given pattern.
where can i get it?
FLARManager can be downloaded via SVN at http://transmote.com/codeshare/FLARManager. released versions are available in the /deploy folder, and current development lives in the /dev folder. (note, i don’t make any guarantee the code in /dev will work, or even compile!
alternatively, you can download from here:
download FLARManager
i’ll try to keep this link pointed at the most recently released version.
the FLARManager source also includes the FLARToolkit library and SWCs for all supported 3D frameworks. if you want to keep on top of things, you might want to update those on your own (via the links on this page). i’ll be keeping the FLARToolkit lib pretty fresh, but i’m not focusing on 3D framework development so those libraries will likely get a bit crusty.
note: FLARManager is built to compile to Flash Player 10. there is a Flash Player 9 version available here, but it’s based on v0.1, and i don’t have plans to upgrade it. i highly recommend you update to Flash Player 10 if you haven’t already.
what are the licensing options?
FLARManager is available for download and use under two licenses:
- GPL License: FLARManager can be used for free under the GNU General Public License, v3. Source code of applications using FLARManager under the GPL must be provided free of charge on request.
- Commercial License: Source code of FLARManager applications can be protected with a commercial license, offered exclusively by ARToolworks. Applications using the commercial license do not have to provide source code, but must pay a licensing fee. Contact ARToolworks at sales@artoolworks.com for more information.
how do i use it?
take a look at the Quickstart on Inside FLARManager. the FLARManager distribution comes with a number of tutorials, accessible via the nav bar above (click on the FLARMANAGER (FOR FLARTOOLKIT) link), and also a number of more specific examples. you can also find full documentation here.
additionally, there is a FLARToolkit forum, with some lovely, friendly folks on it who can help you get up and running.
what can i do with it?
you could make a hat, or a brooch, or a pterodactyl…
FLARManager gives access to both 2D and 3D information about detected markers, which provides a wide range of opportunities. have an interesting project you created with FLARManager? let me know and i’ll post it here!
you can take a look through this page to see a list of noteworthy projects created with FLARToolkit and FLARManager. Diego Gopen authors ARVertising, a blog that follows trends in AR in marketing and advertising.






i couldn't find the application/Main class after i download from
rcnow | 2009/03/30 | 1:53 pmi couldn’t find the application/Main class after i download from SVN
then i try to import the project, it replies that the unzipped folder i select is not an Flex project.
I guess it is becz of missing “/.settings folder and .project and .actionScriptProperties files”
whoops, sorry bout that. uploaded the FB project files
ericsoco | 2009/03/30 | 2:43 pmwhoops, sorry bout that. uploaded the FB project files to the repository and also updated the zip files. thanks for catching that.
I can't make the Vector class works :( Though I'm using
Victor | 2009/03/31 | 4:02 amI can’t make the Vector class works
Though I’m using Flash cs4 IDE and FlashDevelop, both compiling for flashplayer 10 but I can only use you older version with Array in place of Vectors.
I’m running out of idea
Thanks for the great work ericsoco , it can now
rcnow | 2009/03/31 | 8:18 amThanks for the great work ericsoco ,
it can now import into the Flex Bulider 3,
But when i try to compile , it seems not recognized the ” ” identified after the “Vector.”
and give errors
” 1084: Syntax error: expecting identifier before lessthan. FLARManager/src FLARManagerExample_PV3D.as at line 33 , 36, 40 ,29 & 39″
I am using AS3 , is there any sort of plugin that i will need to install ?
Thanks !
@rcnow: the compile error about Vector means you need to upgrade
ericsoco | 2009/03/31 | 9:31 am@rcnow:
the compile error about Vector means you need to upgrade Flex Builder to v3.2. the FB Project included with FLARManager is already set up to target Flash Player 10, but you probably don’t have the FP10 version of playerglobal.swc.
to upgrade, go to Help>Search for Flex Builder Updates…. once you’ve updated, i believe the project should compile with no problems. let me know if it doesn’t.
@Victor:
sorry, i don’t have CS4 so can’t try to reproduce your problem. one thing i would suggest is to make a new .fla, add this code:
var vec:Vector. = new Vector. ();
and get that to compile. once you figure out what to do there, transfer that knowledge to getting FLARManager to compile. good luck…
hello ericscoco, thx for your help, i have update my
rcnow | 2009/03/31 | 2:32 pmhello ericscoco, thx for your help, i have update my Flext Builder to V3.02 and SDK to 3.2
i also add the new playerglobal.swc for player 10, however,
When i try to run the application
it gave the following errors
************************************************************************************
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.transmote.flar.source::FLARCameraSource/init()[C:\Documents and Settings\Rafale\My Documents\Flex Builder 3\FLARManager\src\com\transmote\flar\source\FLARCameraSource.as:108]
at com.transmote.flar.source::FLARCameraSource()[C:\Documents and Settings\Rafale\My Documents\Flex Builder 3\FLARManager\src\com\transmote\flar\source\FLARCameraSource.as:49]
at com.transmote.flar::FLARManager/createDefaultSource()[C:\Documents and Settings\Rafale\My Documents\Flex Builder 3\FLARManager\src\com\transmote\flar\FLARManager.as:357]
at com.transmote.flar::FLARManager()[C:\Documents and Settings\Rafale\My Documents\Flex Builder 3\FLARManager\src\com\transmote\flar\FLARManager.as:84]
at FLARManagerExample_PV3D/init()[C:\Documents and Settings\Rafale\My Documents\Flex Builder 3\FLARManager\src\FLARManagerExample_PV3D.as:46]
at FLARManagerExample_PV3D()[C:\Documents and Settings\Rafale\My Documents\Flex Builder 3\FLARManager\src\FLARManagerExample_PV3D.as:34]
***********************************************************************************
it seems it is complaining about FLARCameraSource.as @ 108
Could it not able to locate my Web Cam?
Thanks man
yep, i think that's exactly the problem. what platform are you
ericsoco | 2009/03/31 | 3:20 pmyep, i think that’s exactly the problem.
what platform are you on? what kind of webcam are you using? is the webcam in use by another application?
PS, i added a more descriptive error there, and committed
ericsoco | 2009/03/31 | 3:24 pmPS, i added a more descriptive error there, and committed it to SVN. it will be up to each developer to provide feedback to the end user if no camera is found, however.
I was also having the same issue as rcnow. The problem
Sam Hassan | 2009/04/01 | 6:35 amI was also having the same issue as rcnow.
The problem is when the FLARCameraSource tries to auto select the built in USB camera, I’m using a PC so that might be an issue with that.
The solution:
In the FLARCameraSource class change the line (around line 108):
this.camera = Camera.getCamera(i.toString());
to:
this.camera = Camera.getCamera();
hey sam, thanks for the note. i rewrote this
ericsoco | 2009/04/01 | 9:12 pmhey sam, thanks for the note. i rewrote this section to do a better job of selecting cameras across platforms, with the following code:
// if no “USB Video Class Video” camera found, use default camera.
if (i == uint.MAX_VALUE) {
this.camera = Camera.getCamera();
} else {
this.camera = Camera.getCamera(i.toString());
}
problem was that my loop counter was getting set to uint.MAX_VALUE at the end of the loop, and most computers don’t have 4,294,967,296 cameras installed.
updated to svn.
Hi eric, how´re you doing? I had to download the
juan_carlos | 2009/04/05 | 2:40 pmHi eric, how´re you doing? I had to download the flex trial version, but i got the PV3D example working in my PC. By the way, thanks for the great work.
When i upload the swf and html to a server, and try to check it out in a navigator I get the following error:
Error: Error #2032: Error de secuencia. URL: ../resources/flar/FLARparams.dat
at com.transmote.flar::FLARManager/onCameraParamsLoadError()[C:\Documents and Settings\TOSHIBA\Escritorio\FLARManager\v03\src\com\transmote\flar\FLARManager.as:324]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
I already had a security problem so i had to add the compiler argument “-use-network=false” …. now i don´t know what else to do. Thanks, man
hey juan. did you upload the FLARParams.dat file to
ericsoco | 2009/04/06 | 9:04 pmhey juan. did you upload the FLARParams.dat file to the correct path? that path is relative to your swf. so if your swf is at http://mysite.com/demo/myflardemo.swf, you should also have http://mysite.com/resources/flar/FLARParams.dat.
i saw a discussion on the FLARToolkit forums about this, people were talking about MIME types. i don’t have issues on my server, but perhaps you should take a look at that thread here:
http://groups.google.com/group/flartoolkit-userz/browse_thread/thread/ea683ff8ea4715b5
i’m not sure that’s going to help though; seems like their solution was to rename the file to an extension the server didn’t have a problem serving up. FLARParams.dat is not plain text tho, it’s binary. so, not sure…let us know if you figure it out.
fyi, i found out that, by releasing FLARManager under Creative
ericsoco | 2009/04/12 | 12:49 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.
@ericsoco - You should be able to dual license your
Peter Velichkov | 2009/04/17 | 5:17 am@ericsoco – You should be able to dual license your work. Also have you modified in any way PV3D or FLARToolkit, if not I think it is a good idea to remove it from the repository, because it is a pain in the a** to download the svn, also having 10 times the repository of papervision3d for each deploy is not very nice for my filesystem (and me
)
Cheers
@peter -- sorry about the svn headache, i hear you.
ericsoco | 2009/04/17 | 9:22 am@peter — sorry about the svn headache, i hear you. one way around this is to only download the ‘dev’ folder, not the ‘deploy’ folder; you don’t need all the extra old deployments anyway. sorry i wasn’t explicit about that before. i’ll make a note of it.
i include PV3D and FLARToolkit simply for ease of distribution; i did make some minor modifications to FLARToolkit, but those are committed to libspark. i have not made any changes to PV3D. if you have suggestions on how to package things to ease the burden of an accidental top-level SVN checkout, please, fire away.
re: dual licensing, how does that work? doesn’t that create conflicts between the two licenses?
Dear all, I'm trying to replace the cubes in the PV3D
John | 2009/04/18 | 8:59 amDear all,
I’m trying to replace the cubes in the PV3D example with several DAE models.
Does anyone have any experience with this and perhaps some sweet source?
@ericsoco - if you believe that you should distribute pv3d
Peter Velichkov | 2009/04/22 | 1:06 pm@ericsoco – if you believe that you should distribute pv3d and flartoolkit with flarmanager maybe compile SWC files distribute those (not the whole tree).
About dual licensing – I’m not big expert but it is possible, there are many examples of software distributed under two.
@John – fire me a mail if you need help with flar
[...] re-factored the earlier multimarker flar prototype to use the
Starscream, Boba Fett and Jabba the Hut…er…Jasmine the Cat…FlarToolkit AND 3D Animated Models - Sunil’s Blog | 2009/05/05 | 7:26 pm[...] re-factored the earlier multimarker flar prototype to use the FLARManager 0.3 from Eric Socolofsky at transmote.com. I was able to trace out the string names of the individual [...]
I've got the manager working great! Now I want to replace
dennis | 2009/05/09 | 12:51 amI’ve got the manager working great!
Now I want to replace the cubes with movieclips, any tutorial on how to do this?
Would be superb!
you can get x and y positions of detected markers
ericsoco | 2009/05/09 | 9:51 amyou can get x and y positions of detected markers from FLARMarkerOutline (in a FLARMarkerEvent handler, it’s flarMarkerEvent.marker.outline). i think i already committed a new revision that also gives access to z, rotationX/Y/Z, and also provides a Vector3D with x/y/z/rotation(Z). it’s still under heavy development, though.
so anyway, once you have that info, just drop in your movieclip at that position.
Hmm, do not completely understand what you are saying there. I
dennis | 2009/05/09 | 10:05 amHmm, do not completely understand what you are saying there.
I wish I could just drop a mc in there, but that’s the problem, don’t know how to.
Can you modify the code for me, once I have that, I guess I will understand it way better.
Thanks
simular to this http://blog.flashmech.net/2008/04/skin-a-pv3d-cube-using-movieassetmaterial/, but i cannot find where to
dennis | 2009/05/09 | 10:22 amsimular to this http://blog.flashmech.net/2008/04/skin-a-pv3d-cube-using-movieassetmaterial/, but i cannot find where to implement it in your simplecubes code, sorry for spamming, thanks in advance
[...] 推荐BLOG: http://bk4d.enjoysthin.gs/ http://flabaka.com/blog/ FlarManager http://www.squidder.com/2009/03/05/for-nerds-only-custom-flar-markers-explained/ [...]
Diesel | 2009/05/18 | 9:16 pm[...] 推荐BLOG: http://bk4d.enjoysthin.gs/ http://flabaka.com/blog/ FlarManager http://www.squidder.com/2009/03/05/for-nerds-only-custom-flar-markers-explained/ [...]
Hi I have imported the FlarManager in Flex 3.0 but
rufi | 2009/05/22 | 3:35 amHi I have imported the FlarManager in Flex 3.0 but I keep getting an annoying error.
Launch Failed!
File not Found: …… FlarManagerExample_2D.html.
Could you please help me out?
Cheers.
@rufi: looks like your project settings are incorrect. the
ericsoco | 2009/05/22 | 8:06 am@rufi: looks like your project settings are incorrect. the Flex Builder project that is committed along with the source attempts to create an html file in the ‘bin-debug’ folder for each of the four examples. i don’t know exactly what your trouble is, but you should tinker with the Project Properties (right/ctrl-click your project in the Flex Navigator > Properties, specifically ActionScript Build Path > Output folder, ActionScript Compiler > Generate HTML wrapper file, and Run/Debug Settings.
Thanks mate. I have checked all the settings and it seems
rufi | 2009/05/26 | 3:37 amThanks mate.
I have checked all the settings and it seems to match with what you have mentioned. I have the screen shot but i can’t attach it here. Everytime i try to run any of those .as file including FLARManagerExample_2D.as it gives me the above mentioned error.
I don’t understand why it’s not creating the HTML file. I have imported the project as per the guidelines.
Any possible pointers?
Cheers.
@rufi -- hm, strange. the magic google tells me
ericsoco | 2009/05/27 | 12:07 am@rufi — hm, strange. the magic google tells me that your project file might be corrupted; you might try re-downloading it.
another thing i feel like i’ve done in the past with a similar error is to manually create a file with the name Flex Builder is looking for, just an empty text file named FLARManagerExample_2D.html, and put it in the bin-debug folder. then Flex Builder can find and edit it.
hth…
[...] which would not be enough for my immersive game.
Multiple Markers - Numba44 | 2009/06/01 | 8:56 am[...] which would not be enough for my immersive game. I searched for a solution to this and came across FLARManager. It is an extension of FLARToolkit which makes it easier to implement multiple markers and [...]
This is useless, can't compile in Flash IDE... what a
meow | 2009/06/02 | 9:16 amThis is useless, can’t compile in Flash IDE… what a waste of time
@meow: right, because the whole world uses only the Flash
ericsoco | 2009/06/02 | 9:38 am@meow: right, because the whole world uses only the Flash IDE. if you want to be a little more constructive with your comments, perhaps we can help you get it working in the Flash IDE; there’s no reason it shouldn’t compile, if you target Flash Player 10 and create a Document class and link to it from the IDE.
Hi! it is great, there is a way to limit the
Akiles | 2009/06/04 | 1:15 pmHi!
it is great, there is a way to limit the quantitiy of detection by markers, i mean, if i put 2 same markers only one is detected. But i can put a lot of markers, but only one detection by marker at time.
@akiles, sorry, i don't quite understand -- you want to
ericsoco | 2009/06/04 | 5:27 pm@akiles, sorry, i don’t quite understand — you want to restrict detection to only one marker of a given pattern at once? so that no matter how many markers of pattern N are visible in front of the camera, only one is active? if that’s what you want to do, just set a flag (boolean) in your MARKER_ADDED event handler that will not recognize addition of any other markers until a MARKER_REMOVED event fires.
if you want to do so for each of many patterns, use an array of booleans, with the patternId as the array indices.
Great, this is just what I've been looking for. Downloading
Alwyn | 2009/06/17 | 2:26 amGreat, this is just what I’ve been looking for. Downloading now and going to experiment with it right away!
[...] FLARManager (for FLARToolkit) [...]
transmote speaks… » FLARManager v0.4 | 2009/06/21 | 3:19 pm[...] FLARManager (for FLARToolkit) [...]
this is a very stupid question but where is the
s1ckn3ss | 2009/06/25 | 11:56 amthis is a very stupid question but where is the marker you used with your examples? can i just replace a marker throwing a new .pat file in the flex builder?
And finally (and coming from a different way) if i work with visual papervision http://www.juxtinteractive.com/work/vizualpv3d/ can i just ake an animated scene, put it on scene and make it work?? are there any warnings about it?.
Greetings from the end of the world, you’re developing a hell of a work.
@s1ckn3ss: the markers are in the resources/flar/patterns/pat8 folder. you can
ericsoco | 2009/06/25 | 12:12 pm@s1ckn3ss:
the markers are in the resources/flar/patterns/pat8 folder. you can put them wherever you want, as long as you specify the path to them to load when you initialize FLARManager (via an external config file or a Vector of FLARPatterns).
i don’t know anything about visual papervision, sorry…my focus is not really on the 3D end.
Greetings! First of all i want to say thanks, this
Craig beswetherick | 2009/06/26 | 9:32 amGreetings! First of all i want to say thanks, this work is amazing and im always excited to play around using it! Im currently building a game using the FlarManager to control the player as part of a 2nd year University project.
A problem I have however is that the games frame rate is really low, 12fps. Now i spent some time playing around with the source from Mikkos Blog and I was able to get an average frame rate of about 30 which i was really happy about.
Before i begin diving into the code to try and optimise some areas, is there anything you would reccomend to increase the performance? My game only requires a single marker so I imagine taking the multiple marker detection out might speed things up a little.
Anyways any guidance would be greatly appreciated and thanks again for your work so far.
i wish i could edit that...
Craig beswetherick | 2009/06/26 | 9:32 ami wish i could edit that…
edited. ;) strange to hear there is a framerate difference.
ericsoco | 2009/06/26 | 10:27 amedited.
strange to hear there is a framerate difference. my guess would be that it has to do with the size of the video you’re sending to FLARToolkit.
which version of FLARManager are you using? if v0.4, what values are you using in your flarConfig.xml file for sourceWidth, sourceHeight, displayWidth, displayHeight, and downsampleRatio?
[...] FLARManager is a small framework that makes building FLARToolkit
Some nice tools | ARvertising | 2009/07/04 | 9:38 am[...] FLARManager is a small framework that makes building FLARToolkit applications easier. it also decouples the marker-tracking functionality from Papervision3D, and provides a more robust event-based system for managing marker addition, update, and removal. it supports detection and management of multiple patterns, and multiple markers of a given pattern. * FLARManager – http://words.transmote.com/wp/flarmanager/ [...]
hello, i'm a brazillian programmer, sorry in my bad english,
augusto | 2009/07/09 | 7:32 pmhello, i’m a brazillian programmer, sorry in my bad english, but i have a questions for you…
can i build a project based on your project? what modeificates its necessary to put other object, i try but not work, and i don’t have any experience with papervision3d, can i put a object in other format? if yes how? plese help-me a have many interest in this but i dont understand a large of this language… and finally, can you respond this message for my e-mail too? thanks…
hey augusto. sorry i don't speak better portuguese ;) you
ericsoco | 2009/07/09 | 9:44 pmhey augusto. sorry i don’t speak better portuguese
you can definitely build a project based on FLARManager — that’s the whole idea! it’s a tool designed to make writing FLARToolkit apps easier and more flexible. you can find tutorials here:
http://words.transmote.com/wp/flarmanager/inside-flarmanager/
and documentation here:
http://words.transmote.com/wp/flarmanager/flarmanager-documentation/
Maybe I'm blind but the v0.41 from the page link
Axiom | 2009/07/16 | 4:09 pmMaybe I’m blind but the v0.41 from the page link seems to be missing the flex .project files. Flex builder won’t recognize. Trying svn in the background as I right this.
Thx.
Nope, not in the SVN too, any pointers on how
Axiom | 2009/07/16 | 4:16 pmNope, not in the SVN too, any pointers on how to import/create a new project in Flex builder with new FLARManager? Flex is making by brain hurt…
crapola. sorry bout that, axiom. i just added
ericsoco | 2009/07/16 | 8:26 pmcrapola. sorry bout that, axiom. i just added the project files to SVN and also the zipped downloadable. please give either of those a shot and let me know if that did not fix the problem.
[...] application was developed using FLARtoolkit, Papervision 3D, FLARmanager and
Augmented Businesscard (English) | TOXIN LABS - weblog of a german design student from wuerzburg | 2009/07/18 | 8:04 am[...] application was developed using FLARtoolkit, Papervision 3D, FLARmanager and the Ribbit API. There was no CGI or postprocessing involved, you see the real application in [...]
[...] transmote speaks… » FLARManager (for FLARToolkit) (tags: flash augmentedreality
links for 2009-07-21 at adam hoyle presents suckmypixel | 2009/07/21 | 5:31 am[...] transmote speaks… » FLARManager (for FLARToolkit) (tags: flash augmentedreality 3d actionscript as3 library tools papervision away3d) [...]
hi, sry newb question: ... when building the demo in
marc | 2009/07/22 | 7:44 amhi, sry newb question: … when building the demo in flex builder 3 everything works out fine. now i want to put it on the website. i upload the complete content in the bin-release via ftp, and when i want to directly access the html file in my browser i get a: website could not be found (?)can someone please tell me what to do? it’s on the server, the ftp shows it but the firefor/ie does not open it … tnx for your feedback
THnkas for both : FlarManager and Johnny from Airplane ;-)
benjamin | 2009/07/22 | 12:04 pmTHnkas for both : FlarManager and Johnny from Airplane
[...] FLARManager v0.5 (for FLARToolkit) [...]
Oh My Bosh! Design Your Very Own Chris Bosh Paper-Robo in Augmented Reality – Adding Interactivity to Your AR Apps - Sunil’s Blog | 2009/07/31 | 7:30 am[...] FLARManager v0.5 (for FLARToolkit) [...]
[...] work of Eric Socolofsky working as Transmote who has
Augmented reality via FLART, FLARM « M@ Blog | 2009/08/10 | 2:36 pm[...] work of Eric Socolofsky working as Transmote who has developed a really nice wrapper for FLART, the FLARManager.Not only that, but he’s got some really nice examples you can download and explanations of [...]
It's cool! Thanks! but I have a (hypernoob) question for you... when
Francesco | 2009/08/18 | 3:20 amIt’s cool! Thanks!
but I have a (hypernoob) question for you…
when I try to download the files fron the repository url you gave (with tortoiseSVN)..well..
It required authentication.
What sould I do in order to obtain the right credentials to acces the files?
THANKS for your works it might be helpful and sorry for my poor english
@francesco -- the repo does not require authentication. you
ericsoco | 2009/08/18 | 9:06 am@francesco — the repo does not require authentication. you should log in with no username/password; could be that your SVN client is automatically attempting to log you in as “guest” or “anonymous”. turn that off and try again.
[...] FLARManager (for FLARToolkit) こちらに作者の解説があります。 [...]
イナヅマtvログ » FLARManager v0.1, FLARToolKit のヘルパーライブラリ | 2009/08/20 | 6:50 pm[...] FLARManager (for FLARToolkit) こちらに作者の解説があります。 [...]
[...] FLARManager (for FLARToolkit) こちらに作者の解説があります。 [...]
イナヅマtvログ » いいね!FLARManager v0.5 (for FLARToolkit) | 2009/08/23 | 6:19 pm[...] FLARManager (for FLARToolkit) こちらに作者の解説があります。 [...]
[...] out for the timing. I added the method to
More Augmented Reality with FLARM « M@ Blog | 2009/08/28 | 8:47 pm[...] out for the timing. I added the method to the FLARManager class and I’ll pass the code on to Eric so he can see if he thinks it’s worth [...]
My comments seem to have vanished. ? I wondered
William | 2009/09/06 | 1:47 amMy comments seem to have vanished. ? I wondered if there was an example of simply recongnizing a marker and outputing x, y and rotation? No red outlines etc, just a simple trace?
Eric, thank you for this amazing tool! I will visit
SDaniel | 2009/09/06 | 10:15 amEric, thank you for this amazing tool! I will visit your page for tons of information.
@william -- your comments haven't vanished, you're just looking at
ericsoco | 2009/09/06 | 1:20 pm@william — your comments haven’t vanished, you’re just looking at the wrong page
i answered your question here:
http://words.transmote.com/wp/20090328/flarmanager-v03/
Hello. I am confused by the amount of pager
william | 2009/09/11 | 5:19 amHello. I am confused by the amount of pager on this it seems!
I am still having a lot of trouble, when compiling I get this in the output:
Error: Error #2032: Stream Error. URL: file:///C|/Users/larky/Desktop/flar2D/…/src/FLARCameraParams.xml
at com.transmote.flar::FLARManager/onFlarConfigLoadError()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
Sometimes it simply says ‘Error’.
And I get these compiler warnings:
Warning: 1090: Migration issue: The onMouseDown event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( ‘mouseDown’, callback_handler).
…for lines 208, 214, 218 and 224.
Everything is where it should be I think. Any help would be great.
Thank you.
William.
Update: I now get no stream error, I get
william | 2009/09/11 | 6:26 amUpdate: I now get no stream error, I get 1090 Migration Errors still. I can only find answers relating to people using as2 instead of as3 code in an as3 fla, but I’m pretty sure you wouldn’t have done that! I’m stumped, everything looks correct. :s
HMM, ok, I think I fixed the migration issue by
william | 2009/09/11 | 6:43 amHMM, ok, I think I fixed the migration issue by simply renaming onMouseDown etc by adding an underscore to the start of each one, onMouseDown etc are protected names under AS2 maybe? Not sure. Now it compiles with no errors at all, but doesn’t do anything! It runs, camera activates, hold up marker and it doesn’t see it, or doesn’t do anything with it. I have tried different makrers. Im getting closer
Ooh, I think I am close. it must now
william | 2009/09/11 | 6:49 amOoh, I think I am close. it must now be seeing the markers as I get ‘Error’ in the outpt window when I hold one up.
I hope my rambling is ok, maybe this can help people in some small way if they experience the same problems.
[...] FLARManager FLARManager is a lightweight framework that makes building FLARToolkit
AR tech round up #1 at augmenting | 2009/09/11 | 12:13 pm[...] FLARManager FLARManager is a lightweight framework that makes building FLARToolkit augmented reality applications easier. it is compatible with a variety of 3D engines (currently: Alternativa3D,Away3D, Papervision3D, and Sandy3D), and provides a more robust event-based system for managing marker addition, update, and removal. it supports detection and management of multiple patterns, and multiple markers of a given pattern. [...]
Hi, Good work! But the GNU/Linux version of Flex Builder have
Adrian Paleacu | 2009/09/16 | 11:38 pmHi,
Good work! But the GNU/Linux version of Flex Builder have some build error that I don’t know how to fix them.
FLARManager.as :
private var _activeMarkers:Vector.;
// something about the syntax with the <
OS: Ubuntu 9.04
Flex Builder 3
Flash 9 & 10
I appreciate any feedback from anyone,
thank you.
–adi
@adrian -- you need to target flash player 10. http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10
ericsoco | 2009/09/17 | 12:10 am@adrian — you need to target flash player 10.
http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10
[...] FLARManager: Augmented Reality in Flash [...]
FLARManager v0.5 (augmented reality in Flash) | transmote speaks... | 2009/09/19 | 6:13 pm[...] FLARManager: Augmented Reality in Flash [...]
[...] it a try here: http://words.transmote.com/wp/flarmanager/ Share and
FLARManager v0.6 for FLARToolkit | ARvertising news | 2009/09/23 | 4:40 am[...] it a try here: http://words.transmote.com/wp/flarmanager/ Share and [...]
Excellent work so far on this. You did a great
Eric | 2009/10/01 | 9:06 amExcellent work so far on this. You did a great job on simplifying the AR process. I’m having some trouble getting this to run outside of the location where the project resides. For example, I build a project (import your example or build one myself) and can run it from Flex Builder properly. However, when I copy the directory (debu, release, or entire project) it no longer works from that location. There is only a blank window. I’ve developed several Flex applications in the past and can’t say I’ve seen this problem before. Any ideas? Thanks and keep up the great work.
[...] pokazujących wykorzystanie tej technologii na stronach internetowych na przykład
Augmented Reality | Enzo Blog | 2009/10/06 | 7:54 am[...] pokazujących wykorzystanie tej technologii na stronach internetowych na przykład biblioteką FLARManager. Na iPhone powstała kolejna biblioteka dla programistów C-Objective iPhone [...]
[...] 10 10 2009 Lee Brimelow had
Augmented Reality made easy « We Are Flash | 2009/10/10 | 6:38 am[...] 10 10 2009 Lee Brimelow had an excellent presentation in Max speaking about the new FlarManager classes for AS3, which makes Augmented Reality much simpler than in the first tutorial in [...]
[...] just uploaded a new tutorial on using the FLARManager
The Flash Blog » New tutorial on augmented reality with FLARManager | 2009/10/14 | 1:53 pm[...] just uploaded a new tutorial on using the FLARManager library to create augmented reality applications. This library makes things much easier than using the [...]
[...] go there, install FlashBuilder and FLARManager look at the Video
“MicroHowTo” about building Augmented Reality by yourself » ntv.at | g-stream | 2009/10/23 | 12:01 am[...] go there, install FlashBuilder and FLARManager look at the Video and [...]
Hi Eric, Thanks for providing us with this lovely wrapper :-)
Kevin Richardson | 2009/10/23 | 12:02 amHi Eric,
Thanks for providing us with this lovely wrapper
[ and also, reminding me of one of my favourite gags from Airplane … I’m gonna build me a pterodactyl!!!!). I’m having a problem with webcam detection on my PC (am using a Logitech Quickcam) – which is detected as a Deskshare IP … but I get a blue screen
I had a little hack around the FLARCameraSource class to see if I could resolve (didn’t get anywhere though) … but since I also have a Mac, I uploaded a test to http://www.spacemonki.com/fb4/FLAR001/ and whilst I get a blue screen on my PC, I have no probs on my Mac.
I’m now installing Flash Builder 4 Beta 2 (which is what I’ve been working with on PC) onto my Mac … and shall continue learning
What I’m trying to achieve is to demonstrate Augmented Reality as a way of doing True / False activities in eLearning. I develop eLearning models for law students … and I think Augmented Reality may offer a more engaging experience for say, trainee Solitictors, if they were given an envelope with a number of documents … lets say four, but only one has been correctly completed … their task is to identify the correct document … so what I could do, is have patterns on the reverse side of these legal documents … with each pattern triggering feedback video to appear telling them whether they selected the correct document, or why the document they selected was incorrect etc. Anyway, I just thought it was worth a little experimenting
@kevin, this is a pretty common problem, that i'm still
ericsoco | 2009/10/23 | 10:17 am@kevin, this is a pretty common problem, that i’m still working on. please download the latest from svn, try using FLARCameraSource.useDefaultCamera, and let me know if that helps.
var flarManager:FLARManager = FLARManager("../path/to/flarConfig.xml");
flarManager.flarCameraSource.useDefaultCamera = true;
Hey Eric - that's worked an absolute treat :-)
Kevin Richardson | 2009/10/23 | 2:53 pmHey Eric – that’s worked an absolute treat
So, in the spirit of Airplane Jive talk (http://www.youtube.com/watch?v=mRDOp6zypbM ) … cheers for cutting me slack jack – Chump wan help, chump git help. Jive ass dude gotta check out da brains on bread.
Muchly appreciated … right, now what’s happening … first the Earth cooled, then came the dinosaurs, but they got too big and fat …….
Doh ... spoke too soon - having only had joy
Kevin Richardson | 2009/10/23 | 4:48 pmDoh … spoke too soon – having only had joy with my iSight camera on the Mac earlier, thought all was fixed when the camera worked on my PC’s web cam. Works perfectly on my PC now, but no longer works on the Mac.
http://www.spacemonki.com/fb4/FLAR004/
[...] LINK: http://words.transmote.com/wp/flarmanager/ ] [...]
Flash Augmented Reality made easy - Michael Minor | 2009/10/26 | 11:28 am[...] LINK: http://words.transmote.com/wp/flarmanager/ ] [...]
*** CAMERA FIX *** to those who were having camera selection
ericsoco | 2009/10/30 | 4:18 pm*** CAMERA FIX ***
to those who were having camera selection issues, please download the latest from SVN. i believe it’s fixed now. if so, i’ll roll it out as a minor version.
[...] FLARManager – tool for augmented reality [...]
The best flash and flex libraries | SubClosure | 2009/11/03 | 4:00 pm[...] FLARManager – tool for augmented reality [...]
I was having that camera selection problem and the latest
Jeremy | 2009/11/06 | 12:07 pmI was having that camera selection problem and the latest code from the DEV folder did fix it. Thanks! (Although it took me a while to figure out that the fix was in dev and not deploy.. )
[...] FLARManager: Augmented Reality in Flash [...]
FLARManager v0.61 (augmented reality in Flash) | transmote speaks... | 2009/11/07 | 3:05 pm[...] FLARManager: Augmented Reality in Flash [...]
[...] FLARManager http://words.transmote.com/wp/flarmanager/ [...]
Huge list of external libraries | DestroyYourComputer.com | Blog - Interactive Design Agency | 2009/11/09 | 7:12 am[...] FLARManager http://words.transmote.com/wp/flarmanager/ [...]
Hi, I'm using your tutorial located here: http://transmote.com/codeshare/FLARManager/dev/src/examples/FLARManagerTutorial_3D.as and it works
Jeremy | 2009/11/10 | 2:51 pmHi, I’m using your tutorial located here:
http://transmote.com/codeshare/FLARManager/dev/src/examples/FLARManagerTutorial_3D.as
and it works fine except the cube doesn’t sit on the marker. It moves with the marker, but the position is sort of up and off to the side and gets further away and closer to marker depending on the marker’s position. I have a feeling it’s related to the cameraParams / distortion correction stuff, but I have everything as it should be in that regard (I think). Any ideas on this? I had it working fine with FLAR toolkit, but with FLAR Manager I get this new problem.
Thanks for your help.
@jeremy, shouldn't be any problems with the tutorial, but yes,
ericsoco | 2009/11/10 | 3:42 pm@jeremy, shouldn’t be any problems with the tutorial, but yes, it does sound like perhaps your FLARCameraParams.dat / camera_para.dat file is off. are you using the one included in the FLARManager distro? i still have not solved this for flash’s native 3D, but this example uses papervision, so that’s not really relevant.
There is a small bug in the library, when the
Majakovskij | 2009/11/13 | 2:16 amThere is a small bug in the library, when the user doesn’t have any camera connected, FlarManager give an unhandled error (at least in Flash CS4) because Camera.names is emtpy, while if the camera is in use by an other application, it dispatch the error correctly.
I fixed it, since I do need this check, with this code in FLARCameraSource/initCamera:
this check dispatch the error event
if(Camera.names.length == 0)Just before this line because this one throw the unhandled error
var names:Array = Camera.nameshttp://www.picvalley.net/v.php?p=u/2035/93819285920297095591258335174JC3xQwpow0Wcu9QmU5RE.JPG Hmm, this is what I got When i try to
Ico | 2009/11/15 | 6:33 pmhttp://www.picvalley.net/v.php?p=u/2035/93819285920297095591258335174JC3xQwpow0Wcu9QmU5RE.JPG
Hmm, this is what I got When i try to compile the classes!
@ico — please look through the comments on the v0.6
ericsoco | 2009/11/15 | 9:29 pm@ico — 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.
10x, I will defenetly check the comments again. I started to
Ico | 2009/11/15 | 9:35 pm10x, I will defenetly check the comments again.
I started to learn Augumented reallity about a week ago and I’m still a little bit confused about it. I got some expirience witg ppv3d, but still feel strange with AR. Can you recoomand me some book about AR in flash or non-japanese articles?
[...] saqoosha’s FLARToolkit. Which then I felt it’s far too
Augment Your Digital Experience « ManMeng | 2009/11/16 | 1:15 am[...] saqoosha’s FLARToolkit. Which then I felt it’s far too complicated to work with until I found FLARManager which is far more robust and flexible for building this site. But that is of course not with a lot [...]
Hi. I have a small problem. When i`m tracking the marker`s
AnryLinkage | 2009/11/20 | 2:14 amHi. I have a small problem.
When i`m tracking the marker`s angles like this -> Matrix3D.matrix2euler(this._baseNode.transform); (this._baseNode = FLARBaseNode) i`m getting wrong numbesr of XRotation. When the marker is faced to camera it`s ZERO or something below, when i turn it to the TOP it must be >0, if i turn it to the floor it must be <0. Yes, it is. But Number are not smoothly displayed, like 0,2,4,6,7,9,11…..they dislyed like 0,5,14,24,35,56, 23, 12, -23, -45. So the 3D object is jumping.
What am doing wrong. I`m using this camera – http://www.testfreaks.co.uk/webcameras/logitech-quickcam-s5500/, is it ok or not. May be i have not enough ligh, but seems ok, i`ve highlited the marker and still the same problem with jumping on XRotation.
Any ideas?
Even Math.atan2(this._resultMat.m20, this._resultMat.m22) jumping from 3 to -3. Strange.
AnryLinkage | 2009/11/20 | 10:32 amEven Math.atan2(this._resultMat.m20, this._resultMat.m22) jumping from 3 to -3.
Strange.
@AnryLinkage -- you should post this to the FLARToolkit forum,
ericsoco | 2009/11/20 | 10:50 am@AnryLinkage — you should post this to the FLARToolkit forum, not here — this isn’t even a FLARManager question, no?
Sorry about that, thx for link, will post there.
AnryLinkage | 2009/11/20 | 12:00 pmSorry about that, thx for link, will post there.
Hi,i know it is possible to retrieve the rotations value
JimMonkel | 2009/11/21 | 10:10 amHi,i know it is possible to retrieve the rotations value (X,Y,Z) from a marker matrix but my object dont seems to have any rotation applied to it when i try to get those values..
I am testing one of your file (tutorial3D) but when i try to get the rotation value of the cubeContainer, it always return 0 event tough it is transformed by the marker matrix and following correctly the marker
thanks for any help
@jimmonkel, yeah, if i remember correctly, setting the orientation of
ericsoco | 2009/11/21 | 1:38 pm@jimmonkel, yeah, if i remember correctly, setting the orientation of an object via a matrix transformation does not update its rotation values, although the object does rotate. you’ll need to find another way to get the information you need; can’t you just use the marker’s rotationX/Y/Z value?
Thanks for the quick answer ! Weel it seems that i
JimMonkel | 2009/11/21 | 2:41 pmThanks for the quick answer !
Weel it seems that i get wrong values…maybe i am doing something wrong but here is what i get…
Showing the pattern0 from the folder to the cam i get 180 as rotationZ…shouldn’t i get 0 since the marker is showed like he is in the jpeg…facing up
with that in mind..i get rotationX and rotationY mixed up (visually)
Do you know a way to retrieve rotation value from a matrix ? (the cubeContainer matrix)
Thanks again
[...] just uploaded a new tutorial on using the FLARManager
New tutorial on augmented reality with FLARManager | Flash Art Of War | 2009/11/21 | 10:17 pm[...] just uploaded a new tutorial on using the FLARManager library to create augmented reality applications. This library makes things much easier than using the [...]
[...] those who are willing to use FlarManager with Flash
FlarManager FlarToolKit bugs and fixes | Actionscript 3.0 | Flash Components | Air | Tutorials | 2009/11/23 | 1:33 am[...] those who are willing to use FlarManager with Flash CS4, there are some issues that can be easily fixed, allowing you to start to develop [...]
[...] download it here: http://words.transmote.com/wp/flarmanager/ [...]
FLARManager v0.61 - Multimarker platform for FLARToolkit library | ARvertising news | 2009/11/27 | 12:04 pm[...] download it here: http://words.transmote.com/wp/flarmanager/ [...]
[...] FLARToolkit FLARToolkit – Alchemy branch FLARManager Flare – Natural
LFPUG presentation resources « James Alliban | 2009/11/29 | 6:55 pm[...] FLARToolkit FLARToolkit – Alchemy branch FLARManager Flare – Natural Feature Tracking FlashSURF – natural feature tracking Studierstube [...]
i've been writing some projects with FLARManager and everything has
john | 2009/11/30 | 9:39 pmi’ve been writing some projects with FLARManager and everything has been great. i am having some issues with my camera though. i’m not sure if it’s FLAR specific but maybe you could point me in the right direction if not.
i keep getting a looping error when attempting to run my application:
[FLARManager] Initing camera ‘USB Video Class Video’.
it does this sometimes but recently it seems indefinite. how can i fix this?
@john -- what do you mean by "a looping error"?
ericsoco | 2009/11/30 | 9:42 pm@john — what do you mean by “a looping error”?
[...] Meneer Lee Brimelow van Gotoandlearn heeft een nieuwe tutorial
Augmented reality – update | Born05 Inspiratie Blog | 2009/12/01 | 9:31 am[...] Meneer Lee Brimelow van Gotoandlearn heeft een nieuwe tutorial over Augmented reality gepubliceerd. Hij maakt gebruik van een handige AR manager genaamd: FLARManager. [...]
Hey Eric, first of all, excellent job. I've built a
Michael | 2009/12/01 | 1:05 pmHey Eric, first of all, excellent job. I’ve built a complete project with it and it works great in Flex Builder and when I launch from the bin-debug or bin-release locations of the project folder. However, I want to migrate the project to a different computer. Even though I copy the entire project folder over, I get a blank page. I assume it’s got something to do with an absolute path somewhere, but I wanted to make sure this wasn’t a recurring problem before I dive in.
thanks!
@michael -- the white screen most likely means a file
ericsoco | 2009/12/01 | 3:24 pm@michael — the white screen most likely means a file in the resources dir is not getting loaded properly. easiest way to check is via safari’s Activity window, or firefox’s LiveHTTPHeaders plugin. also possible that you need to set your flash player security settings, tho that’s unlikely, as you would have seen a security dialog pop up. there are no absolute paths within FLARManager, only relative paths.
[...] http://words.transmote.com/wp/flarmanager/ [...]
Augmented Reality | Machinas | 2009/12/03 | 9:14 am[...] http://words.transmote.com/wp/flarmanager/ [...]
Hi Apologise this is probably a very simple error I should
davet | 2009/12/04 | 3:03 amHi
Apologise this is probably a very simple error I should know
I have imported the project as described into FB3, but I get many errors of the kind ;
A file found in a source-path must have the same package structure ”, as the definition’s package, ‘org.libspark.flartoolkit’. FLARToolkit/[source path] flartoolkit FLARException.as
But the package names all seem OK , like FLARException.as is ‘package org.libspark.flartoolkit’ what am I doing wrong I have spent all morning on this
please help
Sorry a million I have sorted out my basic error
davet | 2009/12/04 | 3:15 amSorry a million
I have sorted out my basic error . It was not the imported project causing the problem, It was a problem with FLARToolkit I had installed previous evening…
How would I go about using FLARManager and Flash 10's
Kris | 2009/12/04 | 1:33 pmHow would I go about using FLARManager and Flash 10’s (limited) 3D capabilities? My 3D scene only consists of planes so I don’t really need a full blown 3D package. I just want to apply the marker transformation matrix to the planes (regular movieclips). Any thoughts?
@kris -- i wish i had a good answer for
ericsoco | 2009/12/04 | 2:01 pm@kris — i wish i had a good answer for you! you can start with FLARManagerExample_Flash3D, but you’ll see that i never got the transformation math right. i think the problem lies in the lack of a FLARCamera3D for use with Flash 10’s Matrix3D + the camera correction settings in flarCameraParams.dat; i tried to whip something up but couldn’t get the numbers to work out. if you’re interested in giving it a shot, send me an email and we can talk about details.
Hello, I've tried your examples adding the example launcher
grahf | 2009/12/04 | 3:15 pmHello, I’ve tried your examples adding the example launcher class to a fla file, but it constantly tells about three errors in FLARLabeling_BitmapData.as telling me that is not implementing any of the inteface IFLARLabeling, but I checked and it Does implements them, and changes the FlarToolkit also but just don’t work, is completely neccesary the flex builder to use your framework?? van you help with this??? thank you very much for your time
@grahf — please look through the comments on the v0.6
ericsoco | 2009/12/04 | 3:48 pm@grahf — 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.
is there a way to change the angle of the
paul | 2009/12/07 | 5:23 pmis there a way to change the angle of the camera, so the 3D object shows at a different angle when the marker is straight onto the webcam?
[...] | Página Oficial EZFLAR | Página Oficial Papervision3D |
FLARManager y EZFLAR | Realidad Aumentada | 2009/12/08 | 9:27 am[...] | Página Oficial EZFLAR | Página Oficial Papervision3D | Página Oficial Papervision3D | Blog Oficial Away3D | [...]
Hi Eric ! I have the following problem when trying to
Laanes | 2009/12/08 | 8:14 pmHi Eric !
I have the following problem when trying to launch FLARManagerExampleLauncher.html
And when i click yes, it gives me the following error:
Can you help me out here ?
Hey Eric, am loving FLARM... cobbled together a quick test in
David Cheney | 2009/12/11 | 10:16 pmHey Eric,
am loving FLARM… cobbled together a quick test in no time. Thanks for your package!
best, Dave
I can`t apply this on NetBeans and Flash 9, why?
ncuzz | 2009/12/11 | 10:47 pmI can`t apply this on NetBeans and Flash 9, why?
@ncuzz -- FLARManager is in active development for flash
ericsoco | 2009/12/12 | 1:15 pm@ncuzz — FLARManager is in active development for flash player 10 only. if you need to use FP9, you can use this (very outdated) version.
Premade video clip as source for Augmented Reality? Hello, I'm wondering
Jeremy | 2009/12/16 | 12:23 pmPremade video clip as source for Augmented Reality?
Hello, I’m wondering if you could use a premade video instead of a live webcam video as the source video for augmented reality. Basically we want to give users without a webcam the option to play around with our site by providing a premade video of someone using the FLAR marker. Anyone know if this is possible?
@jeremy -- sure, take a look at FLARManagerExample_2D_Loader.as
ericsoco | 2009/12/16 | 12:47 pm@jeremy — sure, take a look at FLARManagerExample_2D_Loader.as
Hey ericsoco great work man and thx for the FP
@Haito51 | 2009/12/25 | 9:40 amHey ericsoco great work man and thx for the FP 9 version, I’ve been working with that and got it working quite well, I will eventually need to share some additional code work for some practise ideas i have.
I dont have cs4 to publish Flash Player 10 im still working with cs3, any suggestive ideas or work arounds, also is the security on the z axis for repositioning?
@haito51 -- you can make the current version into an
ericsoco | 2009/12/26 | 12:00 pm@haito51 — you can make the current version into an FP9-compatible version yourself by going through the code and changing all of the Vector instances into Arrays, and performing the appropriate casts yourself. i believe this is the only FP9-specific characteristic of FLARManager. oh, and also remove the Matrix3D stuff from FLARMarker. sorry i can’t offer more help on this, good luck.
cool mega thx that helps out alot
@Haito51 | 2009/12/26 | 2:44 pmcool mega thx that helps out alot
Any thoughts on combining Flare Manager and the Alchemy Flare
Anders | 2009/12/29 | 7:42 amAny thoughts on combining Flare Manager and the Alchemy Flare Toolkit?
That would be really good!
@anders -- i assume you mean FLARManager/Toolkit, correct? problem
ericsoco | 2009/12/29 | 11:05 am@anders — i assume you mean FLARManager/Toolkit, correct? problem with the alchemy version of FLARToolkit is that it does not support detection of multiple markers. saqoosha+nyatla haven’t given much indication that that is high on their priority list; for that matter, i don’t think they really have *any* plans to develop that branch further in the near future. so, for now, not likely to happen. though i agree, it would be nice! if you have the C++ chops to add multi marker support to the alchemy branch, please contact them and let me know how it goes.
True, maybe a start could be to optimize the regular
Anders | 2010/01/03 | 6:18 amTrue, maybe a start could be to optimize the regular AS version of FLARToolkit for Flash10.
[...] Inside FLARManager: Getting Started | transmote speaks… Quickstart [...]
Links for 2010-01-06 at .swfgeek | 2010/01/06 | 9:53 am[...] Inside FLARManager: Getting Started | transmote speaks… Quickstart [...]
[...] So that’s quite something, ain’t it. Well as a
What are we working on? « Fullscreen | 2010/01/07 | 8:14 am[...] So that’s quite something, ain’t it. Well as a matter of fact I’m quite happy that i have just successfully compiled a AR scene wih away3dlite. Why did we want to use Away3dlite in the first place, well it’s the most light weight, fastest rendering, native flash 3d using engine out there. I had quite some trouble with setting up the conversion matrices while in the end the answers were already in the FLARManager packages themselves. But while i was struggling with this matter i had a chance to brush up on my mathematics skills. What was a determinant, what happens if you invert a 3d matrix etc. Anyways, here is a running movie with Away3dlite render engine, that you can test with this marker sheet: marker sheet pdf Marker sheet en FLARManager both courtersy of http://words.transmote.com/wp/flarmanager/ [...]
Hi Eric! First, thank you for this great tool. I am seeing
ZoiX | 2010/01/10 | 2:39 pmHi Eric!
First, thank you for this great tool.
I am seeing SimpleCube.as in the Saqoosha StarterKit (SSK) and the cube seems to be static. In FLARManagerTutorial_3D() I see that the cube is moving all time. In the SSK the cube is very “solid”.
I thought that if I used a marker with 16 in resolution the cube would be similar to the SSK but I get the same.
If I will trye with a complex COLLADA model I think that the same “problem” would happen.
Is there a way to solve this? Maybe this isuue have a name, perhaps something with “matrix” word… I see that everybody in thisworld of AR use that word, but I’m not sure.
Eric, again, thank you for this tool, I’m learning and everything is easier.
@ZoiX -- i don't understand what you're saying -- static?
ericsoco | 2010/01/10 | 3:05 pm@ZoiX — i don’t understand what you’re saying — static? moving? are you referring to the tendency of a model/cube to “twitch” slightly while a marker is held still in front of the camera? if so, a) you should see *less* twitching in FLARManager than in FLARToolkit alone (e.g. saqoosha’s starter kit), since FLARManager smoothes motion, and b) pattern resolution has nothing to do with the transformation matrices generated by FLARToolkit.
if i’m misunderstanding you, please let me know.
Yes, is about twitch. I don't know why the cube
ZoiX | 2010/01/10 | 3:43 pmYes, is about twitch. I don’t know why the cube in FLARToolKit seems to be more static, as I said. I don’t know how to explain…
For example, look this (in FLARManager): http://img64.imageshack.us/img64/4080/88075233.jpg
And this (in SSK): http://img707.imageshack.us/img707/479/23017727.jpg
Do you see the cube’s displacement in FLARManager?
In SSK the cube follow exactly the same position and ther is not displacement.
I know that is something that I should to add in my code, but I don’k know what.
Thank you Eric.
that should not be the case. have you tried
ericsoco | 2010/01/10 | 3:47 pmthat should not be the case. have you tried FLARManagerTutorial_3D out-of-the-box, without making any changes (e.g. using the pattern files with FLARManager)? i don’t know what in your code would be causing that, but you should not be having that problem.
:| You're right! it's only in my code, in FLARManagerTutorial_3D is
ZoiX | 2010/01/10 | 4:00 pmYou’re right! it’s only in my code, in FLARManagerTutorial_3D is perfect, sorry for the notice, I will compare the codes to see what’s wrong
cube.z + =20... :P And my code now is fine. Thank you
ZoiX | 2010/01/10 | 4:03 pmcube.z + =20…
And my code now is fine.
Thank you Eric.
;)
ericsoco | 2010/01/10 | 4:07 pm[...] 也因為如此,FLARToolKit本身只做了辨識的功能,至於3D引擎則是要依靠其他library,比較常見的就是Papervision3D,也有人寫了一些不錯的整合library如FLARManager [...]
www.Phototalks.idv.tw » FLARToolkit (Argumented Reality) with Papervision3D | 2010/01/11 | 11:05 pm[...] 也因為如此,FLARToolKit本身只做了辨識的功能,至於3D引擎則是要依靠其他library,比較常見的就是Papervision3D,也有人寫了一些不錯的整合library如FLARManager [...]
this post could become a forum :P i think people using
paranoio | 2010/01/11 | 11:17 pmthis post could become a forum
i think people using flash IDE will have to try to move to flex builder or try the old version of flarManager (dont know if it works) because the problem is that if you use flash CS3 you have the Vector and Matrix3d error and its difficult to change ( are used everywhere ) and if you try to move to CS4 you will have problems with papervision.
So if anyone come with a solution please share .
@paranoio -- your problem with CS3 is that you're not
ericsoco | 2010/01/11 | 11:52 pm@paranoio — your problem with CS3 is that you’re not properly targeting flash player 10. if you do this, you won’t see the Vector/Matrix3D errors.
your problem with papervision in CS4 is a CS4 bug with multiple interfaces, and actually has nothing to do with papervision. please read the comments here to work around the issue.
[...] FLARManager class package: http://words.transmote.com/wp/flarmanager/ [...]
GuessWho: Augmented Reality Project « OhNit | 2010/01/13 | 1:12 am[...] FLARManager class package: http://words.transmote.com/wp/flarmanager/ [...]
[...] rather complex and not very well documented (at least
Da Fish in Sea » Blog Archive » AR you Serious? | 2010/01/16 | 8:45 pm[...] rather complex and not very well documented (at least not in English). But fortunately I found FLARManager which makes setting up an AR project in Flash a lot simpler. It also provides some optimizations to [...]
[...] FLARManager: Augmented Reality in Flash | transmote speaks… (tags:
Pas de panique » Non classé » links for 2010-01-20 | 2010/01/20 | 1:53 pm[...] FLARManager: Augmented Reality in Flash | transmote speaks… (tags: réalité flash flarmanager) [...]
[...] FLARManager [...]
Links sobre Realidade Aumentada « S3k7or’s Blog | 2010/01/21 | 10:49 am[...] FLARManager [...]
[...] Página oficial de FLARManager | FLARManager: Augmented Reality in
[Videotutorial] ¿Cómo poner un Video en Realidad Aumentada con FLARManager? | Aumentality Blog | 2010/01/23 | 8:22 am[...] Página oficial de FLARManager | FLARManager: Augmented Reality in Flash [...]
Hi Eric! How are you? I hope you're great ;) I
Just an User | 2010/01/25 | 11:14 amHi Eric! How are you? I hope you’re great
I am doing an AR application with FLARManager. I have put 3 videos and everything works great… except on-line.
On-line the SWF show me an error: “Camera not found. Please check your connections and ensure that your camera is not in use by another application”. I increase the value in “FLARCameraSource.CAMERA_VALIDATION_TIME” to a very high number but the error still appear. After a while, I see something curious. In my SWF I added the “FrameRateDisplay();”. The preload starting and when the SWF ask me about allow the webcam I wait a moment until I can see the green numbers, when I can see, I accept the webcam and everything works, but if I accept before the green numbers, the error appears.
So, the question is if I can add a preload, for example, after the user accept the webcam, something like GE or if I can solve this issue somehow. I don’t know if maybe I need to preload the videos, for example… if I need, I don’t know how, My project is in Flex, the preloader is very simple (is a .AS) and just preload the MXML that contain the entire application. Thank you very much Eric.
This is a great manager! Though I have a problem. I
Anders | 2010/01/29 | 8:09 amThis is a great manager!
Though I have a problem. I can’t run other ThresholdAdapters then DrunkWalk.
I have made a reference do them, and the image looks good debugging with thresholdSourceDisplay = true.
But the manager doesn’t detect any symbols and it prints a bunch of “Error” to Output.
I can’t find where the “Error” comes from either.
Sorry, the error actually only occurs with IntegralImageThresholdAdapter. HistogramThresholdAdapter works fine,
Anders | 2010/01/29 | 8:29 amSorry, the error actually only occurs with IntegralImageThresholdAdapter.
HistogramThresholdAdapter works fine, but that doesn’t produce a good image.
@anders -- sorry, yeah, we never really got that one
ericsoco | 2010/01/29 | 11:02 am@anders — sorry, yeah, we never really got that one to work well. FLARToolkit tends to unrelentingly barf up errors from certain parts of the code for reasons that no one has been able to pinpoint. another similar situation occurs when capturing video at 640×480, downsampling to 320×240, and sending to FLARToolkit, instead of just capturing at 320×240. it’s maddening.
also, FWIW, IntegralImageTA is not actually very performant. it renders a *very* good thresholded image, can pick up markers in all sorts of varying light conditions, but it’s generally pretty slow (even when it’s not generating errors).
@eric -- Ok, thanks! I've tried adding Mario Klingermann's threshold
Anders | 2010/01/31 | 1:15 pm@eric — Ok, thanks! I’ve tried adding Mario Klingermann’s threshold adapter (http://www.quasimondo.com/archives/000690.php) but I got the same errors as with IntegralImageThresholdAdapter.
I’ve noticed that I get a better appearance if I use a slow, but good threshold and only run detectMarkers() half of the frames. Letting your smoothing algorithm taking care of the rest.
Though at this time I’m doing this by using the build in bitmap threshold().
Hi and congratulations for you work. I have a really simple
nadous | 2010/02/01 | 1:19 pmHi and congratulations for you work.
I have a really simple question: for a peculiar reason, I need to force a new marker detection, so my FLARManager instance will dispatch a new FLARMarkerEvent.MARKER_ADDED (or any other type of events). How can I do this ?
THANKS!
hi folks! we'd like to publish the link (http://ruppen.bekloppter.name) to our
q-ball | 2010/02/07 | 5:18 pmhi folks!
we’d like to publish the link (http://ruppen.bekloppter.name) to our first Flash-based game called “ruppen airhockey”. it’s using FLARManager to control the paddle movement. many thanks for this great piece of software! we hope you’ll enjoy to play a round and get some goals!
greets,
q-ball
[...] love Flash. I love FLARManager. I I love Theremins.
Augment this Reality » Blog Archive » FLARemin… get it? FLARmanager + Flash JK Synth + (Theremin*.99) = FLARemin | 2010/02/17 | 6:06 pm[...] love Flash. I love FLARManager. I I love Theremins. This is really just a proof of concept at this point. I hacked together 2 [...]
[...] bunch of different FLARToolkit versions for pattern recognition augmented
Moment 77 » Alchemy and FLARManager | 2010/02/19 | 3:25 am[...] bunch of different FLARToolkit versions for pattern recognition augmented reality. I would say that FLARManager is the most complete API. It supports multiple markers, got some different smoothing and threshold [...]
Hello, I'm creating a short application with flarmanager but the
Guillaume | 2010/02/22 | 1:26 amHello, I’m creating a short application with flarmanager but the 3D objects are unstable. They vibrate. How can I make the display more stable ? Thank you.
@guillaume -- try changing the smoothing value in flarConfig.xml. also, a
ericsoco | 2010/02/22 | 12:29 pm@guillaume — try changing the smoothing value in flarConfig.xml.
also, a suggestion from another user is to increase the smoothing on the angular transformations more than the smoothing on the position transformations. i like that idea, and will be including it in the next version of FLARManager (expect it mid-march).
Hi, i´m doing an university project using AR and
Sofia | 2010/02/23 | 4:45 amHi, i´m doing an university project using AR and i´m having troubles to
find the updated file from svn related to the problem of USB cameras
usage. I realy need to solve this issue to complete my project.
Thanks for your excellent work, and I hope you can help me.
@sofia, there should be no problems with USB cameras, or
ericsoco | 2010/02/23 | 10:22 am@sofia, there should be no problems with USB cameras, or any other cameras; this was fixed a while ago and is in the main branch (included along with the last major release). however, some cameras take longer to initialize than others; try increasing FLARCameraSource.CAMERA_VALIDATION_TIME. failing that, you can try setting the camera index manually with FLARCameraSource.cameraIndex.
I forgot to mention that i´m using a MacBook Pro
Sofia | 2010/02/23 | 10:33 amI forgot to mention that i´m using a MacBook Pro with Flash Player 10 and I want to use the Playstation 3 Eye.
Thanks
I´ve tried all your possible solutions but any of them
Sofia | 2010/02/23 | 11:16 amI´ve tried all your possible solutions but any of them solved the problem
Is there any incompatibility with the Playstation 3 Eye camera?
@sofia -- what exactly is the problem you're seeing?
ericsoco | 2010/02/23 | 1:34 pm@sofia — what exactly is the problem you’re seeing? error messages? description?
@erisoco - First of all, let me thank you for
Sofia | 2010/02/23 | 4:04 pm@erisoco – First of all, let me thank you for your availability to help!
There are no compliler nor runtime error messages. As I said before, I’m using the Playstation 3 Eye camera but when I run my app, my iSight camera turns on instead of my USB camera. I’ve already tried to increase FLARCameraSource.CAMERA_VALIDATION_TIME and also set the camera index manually with FLARCameraSource. manualCameraIndex. What confuses me is that I printed all the cameras captured by the Camera.names method, and the “USB Video Class Video” camera has the index value “2″, so I set FLARCameraSource.manualCameraIndex = 2 so that the USB camera could be used instead of the iSight.
Am I missing something???
Thank you again!
@sofia -- pretty sure USB Video Class Video is your
ericsoco | 2010/02/23 | 4:31 pm@sofia — pretty sure USB Video Class Video is your iSight. never tried using a USB camera on a machine with an iSight; it seems like it should be possible, but the fact that there are two USB cameras might be trouble. i suggest you test your camera in a new flash/flex project, work out the video issue outside the context of FLARManager, and then apply what you learn back to your FLARManager project. and please report back your results!
I agree with ericsoco, Try this site as3 code for
Haito51 | 2010/02/23 | 8:32 pmI agree with ericsoco, Try this site as3 code for devices http://bit.ly/cGc3uZ, Im not using Flex (but should be) and test to see if both devices show up. Hope this some what helps
Also there is security that can set to find all
Haito51 | 2010/02/23 | 8:35 pmAlso there is security that can set to find all devices I will do more research for you because I remember seeing it, and ericsoco luv the work you’ve done and thx u again
@sophia try this seems it may be settings? http://bit.ly/HgzJQ
Haito51 | 2010/02/23 | 8:40 pm@sophia try this seems it may be settings? http://bit.ly/HgzJQ
That´s the point! The iSight is a USB camera and
Sofia | 2010/02/24 | 11:55 amThat´s the point!
The iSight is a USB camera and having more than one USB camera is a big problem because there’s no way to choose which camera we want to use.
Is there anyone using Playstation 3Eye on a MacBook and flash player 10?
Thanks again everyone
Hi, first of all thank you for all your work.
Wietse | 2010/02/25 | 1:55 amHi, first of all thank you for all your work. It looks more than amazing and it is blowing my mind away!
I just had one question, I want to change the code so that an animation will be placed behind or within the marker. Let me give an example;
Let’s say you have a 3d design of some sunglasses, the sunglasses are placed horizontal so that the glasses are looking at you when you hold up the marker. I want to make that the legs of the sunglasses are behind the marker and the glasses itself are in front of the marker.
I tried to work with model.z = -100; and I think this is the good way because the design actually get’s smaller but it still display’s in front of the marker. Is there a way to solve this problem?
Thank you in advance.
@wietse -- you'd have to cut out the area of
ericsoco | 2010/02/25 | 11:09 am@wietse — you’d have to cut out the area of the video that contains the marker, and position it at a different depth than the 3D model. FLARManager gives you access to the corners of the detected marker (the black outline) via FLARMarker.corners.
@ericsoco - Thank's for your fast answer. I must admit
Wietse | 2010/02/25 | 3:16 pm@ericsoco – Thank’s for your fast answer. I must admit i’m still a beginner with this and I don’t understand what you mean with cut out the area of the video that contains the marker. With position it at a different depth than the 3D model, you mean using the model.z?
I’m very sorry but can you maybe use the sunglasses as example when you explain with some source code?
Sorry for the trouble. I understand how frustrating it can be when a noob walks in.
Thank you very much.
Hi all! About the USB cameras detection. I´ve been trying the
Sofia | 2010/03/02 | 4:51 amHi all!
About the USB cameras detection. I´ve been trying the possible solutions posted here but any of them worked for me.
Is there any other way to solve it?
Thanks!
@sofia -- did you try setting up a project with
ericsoco | 2010/03/02 | 9:59 am@sofia — did you try setting up a project with nothing in it but Camera and Video? to eliminate FLARManager from the equation?
[...] built using D-fusion platform, ours is built in Flash
Augmented Reality – Now A Reality at Upside | Upside Learning Blog | 2010/03/03 | 4:06 am[...] built using D-fusion platform, ours is built in Flash using AS3.0 classes – FLARToolKit and FLARManager. Both the AS3.0 classes are free to use for non-commercial projects under GNU General Public [...]