<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>transmote speaks... &#187; 3d</title>
	<atom:link href="http://words.transmote.com/wp/tag/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://words.transmote.com/wp</link>
	<description>design + art + code</description>
	<lastBuildDate>Tue, 28 Jun 2011 23:37:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>FLARManager v0.1</title>
		<link>http://words.transmote.com/wp/20090309/flarmanager-v01/</link>
		<comments>http://words.transmote.com/wp/20090309/flarmanager-v01/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 09:34:36 +0000</pubDate>
		<dc:creator>ericsoco</dc:creator>
				<category><![CDATA[to do]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[computer vision]]></category>
		<category><![CDATA[fiducial]]></category>
		<category><![CDATA[flar]]></category>
		<category><![CDATA[flartoolkit]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[marker]]></category>
		<category><![CDATA[papervision]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://words.transmote.com/?p=10</guid>
		<description><![CDATA[i&#8217;ve been getting my hands into fiducial tracking at work over the last few months, and successfully implemented reacTIVision for an exhibit. amazing software, easy to use right out of the box, and very fast and accurate. (thanks martin &#38; co!) when i came across the GE augmented reality thingy, i realized that that kind [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_14" class="wp-caption alignnone" style="width: 410px"><img class="size-full wp-image-14" title="flarmanager_v01" src="http://words.transmote.com/wp/wp-content/uploads/2009/03/flarmanager_v01.jpg" alt="macaroons and cubes, yum." width="400" height="300" /><p class="wp-caption-text">macaroons and cubes, yum.</p></div>
<p>i&#8217;ve been getting my hands into <a href="http://en.wikipedia.org/wiki/Fiduciary_marker" target="_blank">fiducial tracking</a> at work over the last few months, and successfully implemented <a href="http://mtg.upf.es/reactable/?software" target="_blank">reacTIVision</a> for an exhibit.  amazing software, easy to use right out of the box, and very fast and accurate.  (thanks martin &amp; co!)</p>
<p>when i came across the <a href="http://ge.ecomagination.com/smartgrid/#/augmented_reality" target="_blank">GE augmented reality thingy</a>, i realized that that kind of experience can finally happen online.  i took a look at <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">FLARToolkit</a>, and was simultaneously excited and stymied &#8212; so much potential, but tricky to use and understand.</p>
<p>i came across Mikko Haapoja&#8217;s <a href="http://www.mikkoh.com/blog/?p=182" target="_blank">excellent starter tutorial</a> and got a much better understanding of the system.  after a bit more digging, i decided to try to make FLARToolkit as accessible as reacTIVision.</p>
<p>a couple weeks later, i finally have a small framework put together that makes steps in this direction.  behold, <a href="http://transmote.com/flar/FLARManager_v01.zip">FLARManager v0.1</a>.</p>
<p><span id="more-10"></span>i had a list of goals with this, including, but not limited to:</p>
<p><strong>ease of use:</strong> FLARToolkit is not the simplest thing to get up and running.  FLARManager makes it easier, by encapsulating some of the hard bits, and providing plenty defaults for quicker setup.  it also uses composition as much as possible, instead of inheritance, for maximum flexibility.</p>
<p><strong>decoupling FLARToolkit from Papervision3D:</strong> i can think of lots of uses for marker tracking that don&#8217;t require Papervision3D, or even 3D for that matter.  for example, how cool would it be to do <a href="http://kaalam.free.fr/nouvellesgaleries/Light/" target="_blank">this</a> in an online app?  also, Flash Player 10 offers 3D capabilities natively, and it would be nice to be able to take advantage of those as well.</p>
<p><strong>marker management:</strong> similar to reacTIVision, FLARManager maintains a list of active markers, and dispatches events when a marker is added, updated, or removed.  multiple marker patterns can easily be used, and multiple instances of each pattern are also no problem.</p>
<p>i managed to hit all those goals, and learned a lot about the FLARToolkit engine along the way.  i also figured out how to get FLARToolkit running at a good speed (on my last-generation MacBook, i consistently hit 20-25fps, even with multiple markers on-screen).  i even got to get my hands dirty with some of the <a href="http://www.adobe.com/products/flashplayer/features/" target="_blank">new features of Flash Player 10</a>, like the <a href="http://livedocs.adobe.com/flex/3/langref/Vector.html" target="_blank">Vector</a> class, and <a href="http://www.senocular.com/flash/tutorials/flash10drawingapi/" target="_blank">some basics on drawing in 3D in FP10</a>.<br />
&nbsp;<br />
ok, enough.  again, link to the source:</p>
<h4><strong><a href="http://transmote.com/flar/FLARManager_v01.zip">FLARManager v0.1</a></strong></h4>
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/"><img style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/us/88x31.png" alt="Creative Commons License" /></a><br />
<span>FLARManager</span> by <a rel="cc:attributionURL" href="http://transmote.com/flar">Eric Socolofsky</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/">Creative Commons Attribution-Share Alike 3.0 United States License</a>.</p>
<p>i&#8217;ll leave formal documentation for another post; i took great pains to comment the hell out of the code, and if you want you can even make <a href="http://livedocs.adobe.com/flex/3/html/asdoc_1.html" target="_blank">ASDocs</a> out of them.  suffice it to say you should be good to go if you just download the source.</p>
<p>oh, one more thing: there are four examples included in the zip, along with a Flex Builder project.  the examples are all set up to be run as FB Applications.  they are:</p>
<p><strong>FLARManagerTest_2D.as:</strong> simple example that draws outlines around detected markers.</p>
<p><strong>FLARManagerTest_2D_NoVideo.as:</strong> runs marker detection on a source loaded from a file (e.g. .swf / .jpg) instead of a camera.  good for testing when it&#8217;s dark out, or when you&#8217;re cameraless.</p>
<p><strong>FLARManagerTest_PV3D.as:</strong> the standard FLARToolkit + <a href="http://blog.papervision3d.org/" target="_blank">Papervision3D</a> example, with lil&#8217; cubes strewn around my kitchen table.</p>
<p><strong>FLARManagerTest_Flash3D.as:</strong> a first stab at getting FLARToolkit to work with 3D in Flash Player 10.  it&#8217;s not working yet, because i&#8217;m having trouble figuring out how to translate FLARToolkit&#8217;s FLARDoubleMatrix34 into Flash&#8217;s Matrix3D.  any help here would be much appreciated!</p>
<p>one final note: big ups to <a href="http://mikkoh.com/" target="_blank">mikko</a>, <a href="http://www.squidder.com/" target="_blank">squidder</a>, <a href="http://saqoosha.net/en/" target="_blank">saqoosha</a>, and of course the <a href="http://www.libspark.org/wiki/WikiStart/en" target="_blank">libspark folks</a>.  thanks for getting the hardest part out of the way <img src='http://words.transmote.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>look forward to seeing what you all do with this!</p>
]]></content:encoded>
			<wfw:commentRss>http://words.transmote.com/wp/20090309/flarmanager-v01/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

