transmote speaks…

design + art + code
  • portfolio
  • rss
  • Home
  • About
  • FLARManager: Augmented Reality in Flash
    • FLARManager intro
    • FLARManager documentation
    • FLARManager – donate
    • Inside FLARManager
      • Inside FLARManager: Getting Started
      • Inside FLARManager: 2D Marker Tracking
      • Inside FLARManager: Basic Augmented Reality
      • Inside FLARManager: Loading Collada Models
      • Inside FLARManager: Tracking Engines
      • Inside FLARManager: Customization
      • Inside FLARManager: FLARManager Miscellany
  • Contact

FLARManager v0.2 (for FLARToolkit)

ericsoco | 2009/03/27 | 5:57 pm

finally found some time to brush up recent changes to FLARManager. new bits include:
 

Flash Player 10 3D example now works! sorta. translation is off a bit in some areas of the screen (not sure why…?) but converting a FLARToolkit matrix to a FP10 3D matrix seems to be working properly.

camera output mirroring can be toggled in FLARCameraSource; set to true by default. this flips the camera image horizontally so that it appears like a mirror to the user.

FLARCameraSource now supports non-4:3 aspect ratios.

a few minor bug fixes (including one that caused REMOVED events to not fire properly), and a few other code cleanups.

 
download here:

FLARManager v0.2

Creative Commons License
FLARManager by Eric Socolofsky is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License; please provide attribution to the author in any projects using this source.
 

read this post for general info on FLARManager.

Categories
to do
Tags
actionscript, as3, augmented reality, computer vision, flarmanager, flartoolkit, flash
Comments rss
Comments rss
Trackback
Trackback

« elastotron @ great wall of oakland: friday, april 3rd FLARManager v0.3 (for FLARToolkit) »

14 responses

Hey Eric, nice work! Really interested in the ratio fix

technodai | 2009/03/28 | 1:20 am

Hey Eric, nice work! Really interested in the ratio fix in particular. Will hopefully be displaying on some big, wide screens soon!

Cheers!

yeah, let me know how that goes -- i wasn't

ericsoco | 2009/03/28 | 9:05 am

yeah, let me know how that goes — i wasn’t entirely sure how best to implement that, along with the downsample ratio, to keep things as simple as possible, because there are three things to consider: the mode at which to run the camera (which i decided to default to 640×480), the downsample ratio (which remains defaulted to 0.5), and then the size at which to display the image.

what i didn’t provide access to is the placement of the clipping rectangle within the video source; it automatically sizes to one dimension and centers on the other. if you need to offset that instead of centering it, try shifting video.x/y in FLARCameraSource.init.

let me know if you run into any trouble.

Hey great contribution. I can not understand why in Xcode

Javier Patiño | 2009/03/28 | 12:39 pm

Hey great contribution. I can not understand why in Xcode and Visual Studio Artoolkit to handle multiple patts only need an external file and is working separately. instead on flartoolkit are in array and can not be assigned separately.

sorry javier, i don't quite understand -- are you saying

ericsoco | 2009/03/29 | 12:35 am

sorry javier, i don’t quite understand — are you saying that ARToolkit will automatically load all the pattern files you have in a certain directory?

if i’m understanding you correctly, the problem is that flash cannot gain access to a directory listing without a server-side script. it would be possible to write something, in php for example, that collects all the filenames within a directory and passes them into the swf on init, but this is outside of the scope of FLARToolkit.

Look.. I have an iMac and I use Xcode to

Javier Patiño | 2009/03/29 | 4:26 pm

Look.. I have an iMac and I use Xcode to develop in arttolkit, and we use one file where artoolkit search load all the patterns from a directory. and I see the page http://www.squidder.com/flardrums/ and I download all files from the internet and they use one file like on Xcode to load the pattfiles… “application.config”.. this file has this content

16
50

assets/flar/camera_para.dat
assets/flar/snare.pat
assets/flar/kickdrum.pat
assets/flar/ride.pat
assets/flar/crash.pat

assets/audio/snare.mp3
assets/audio/kick.mp3
assets/audio/ride.mp3
assets/audio/crash.mp3

So they can call all patterns separately…thats why I say….

Ok up dont show all code...I upload the file here

Javier Patiño | 2009/03/29 | 4:30 pm

Ok up dont show all code…I upload the file here http://www.suitecreativa.com/aapplication.config.zip take a look

http://www.suitecreativa.com/application.config.zip

Javier Patiño | 2009/03/29 | 4:31 pm

http://www.suitecreativa.com/application.config.zip

oh, yeah, sure you could do that with FLARManager.

ericsoco | 2009/03/29 | 4:33 pm

oh, yeah, sure you could do that with FLARManager. it’s just putting the assets in a separate text file. note that with squidder’s setup, you’d have to make changes to that .config file every time you added/removed a .pat to the folder.

i chose not to do that for readability — i want FLARManager to be as easy to pick up as possible, even for coders who haven’t progressed to the level where they understand how to load an external text / xml file. but, it’s also extensible, so if you want to separate out the asset list and load it into the FLARPatterns array in your own way, that’s completely your option.

I can put videoStream in a plane or a cube...

Javier Patiño | 2009/03/29 | 7:27 pm

I can put videoStream in a plane or a cube… but I’ll like put differents videos acoording to patt?

sure, just set up a NetStream instance for each stream

ericsoco | 2009/03/30 | 12:42 am

sure, just set up a NetStream instance for each stream you want to use, and switch between them based on the FLARMarker.patternId you get back in your FLARMarkerEvent.MARKER_ADDED event handler.

ok... look how I call some specific marker? var materialsList:MaterialsList

Javier Patiño | 2009/03/30 | 4:33 pm

ok… look how I call some specific marker? var materialsList:MaterialsList = new MaterialsList({all: videoCristina}); - should I replace “all” for some marker?

can you make me an example please....I dont understan how

Javier Patiño | 2009/04/01 | 11:14 pm

can you make me an example please….I dont understan how ca I do…thanks

Hello.. I Have a problem with FlarManager 02... dont recognice

Javier Patiño | 2009/04/08 | 1:12 am

Hello.. I Have a problem with FlarManager 02… dont recognice DV cam in my Mac just USB cam…. thanks 4 u help

Hello.. I have a problem when I try to load

Javier Patiño | 2009/05/09 | 8:28 pm

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

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Additional comments powered by BackType

Recent Posts

  • Nest 0.2 – Scenegraph and Event Model for Processing/Java
  • ‘flip’ on the Great Wall
  • FLARManager v1.1 – Augmented Reality in Flash
  • pecha kucha, 2011.01.11
  • Alternativa3D version 7 support, ARToolworks forum

Tags

3d actionscript Add new tag AR as3 augmented reality camera Capabilities clibinit computer vision digital elastic event handler exhibit exploratorium fiducial flar flare flarmanager flartoolkit flash flash player forum garbage collection generative grid interactive Keyboard marker memory mesh mirror natural feature tracking NFT notes papervision presentation reflection slides sputnik to see tracking video video mirror webcam


If FLARManager has helped you out, please help FLARManager!







Serious ADHD Likely!
rss Comments rss design by jide