<?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>squidder.com &#187; Papervision</title>
	<atom:link href="http://www.squidder.com/tag/papervision/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.squidder.com</link>
	<description>Actionscript you'll lose your ink over.</description>
	<lastBuildDate>Fri, 23 Apr 2010 17:29:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FLAR how-to: Multiple instances of multiple markers.</title>
		<link>http://www.squidder.com/2009/03/06/flar-how-to-multiple-instances-of-multiple-markers/</link>
		<comments>http://www.squidder.com/2009/03/06/flar-how-to-multiple-instances-of-multiple-markers/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 16:15:10 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[FLARToolkit]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://www.squidder.com/?p=285</guid>
		<description><![CDATA[
UPDATE: We&#8217;re be remiss not to also point you to Eric&#8217;s excellent FLARManager class. He took some of the stuff we&#8217;ve covered here and put a far more delicious topping on it.
One of the big things we&#8217;ve been wrasslin&#8217; with recently here at Squidder is how to handle multiple instances of multiple markers using FLARToolKit. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-286" title="kingofthetinycubes" src="http://www.squidder.com/wp-content/uploads/2009/03/kingofthetinycubes.jpg" alt="kingofthetinycubes" width="550" height="350" /></p>
<p><strong>UPDATE: </strong>We&#8217;re be remiss not to also point you to <a href="http://words.transmote.com/wp/">Eric&#8217;s excellent FLARManager class</a>. He took some of the stuff we&#8217;ve covered here and put a far more delicious topping on it.</p>
<p>One of the big things we&#8217;ve been wrasslin&#8217; with recently here at Squidder is how to handle multiple instances of multiple markers using FLARToolKit. Well we haven&#8217;t totally nailed it &#8212; close, but there are still a few niggling issues. So we&#8217;re looking to you, dear Squiddite, to help us out.</p>
<p>Before reading on, <a href="http://www.squidder.com/wp-content/uploads/2009/03/flarsquidderkit.zip">you can get our source code here</a>.</p>
<p>It contains all the libraries (FLARToolKit, Papervision, even some of our own) you need to get going, even if this your first FLAR project. It&#8217;s as simple as extending a single class, creating an array of the markers you want to load in, and rocking and rolling. It also works great even if you&#8217;re only dealing with a single symbol.</p>
<p>Read on for more thrilling details!</p>
<p><span id="more-285"></span></p>
<p>Anyway, what we&#8217;ve done is created our own version of FLARMultiMakerDetector that tries to maintain a consistent array of all the markers on the screen. So when a new marker is added, FLARSquidderMarkerDetector fires off a MARKER_ADDED event, which contains the id your marker (the order in which was loaded in &#8212; so the first marker has an id of 0) and the index (first marker on the screen, second, etc).  Conversely, when an object is removed, a MARKER_REMOVED event is fired. So this brings things a bit more in line with the type of event driven actionscript that we&#8217;re used to writing.</p>
<p>The problem that we haven&#8217;t quite gotten our brains around is how to make sure that we always have the correct index when multiple instances of the same marker is added. Here&#8217;s an example: You have three instances of Marker A on the screen. How do you know which one specifically is the one removed?</p>
<p>Currently, this isn&#8217;t a visible issue, since the other two markers will just &#8220;snap&#8221; instantly into place. But try tweening an object to its next location and you&#8217;ll see things start to flip flop between symbols.</p>
<p>Once again, <a href="http://www.squidder.com/wp-content/uploads/2009/03/flarsquidderkit.zip">feel free to grab our source code</a> and let us know what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.squidder.com/2009/03/06/flar-how-to-multiple-instances-of-multiple-markers/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>Augmented Reality Drum Kit</title>
		<link>http://www.squidder.com/2009/03/03/augmented-reality-drum-kit/</link>
		<comments>http://www.squidder.com/2009/03/03/augmented-reality-drum-kit/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 17:00:13 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[good ideas]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[FLARToolkit]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://www.squidder.com/?p=233</guid>
		<description><![CDATA[
This actually came about as a happy little accident while trying to bend FLARToolkit to our will (tracking multiple instances of multiple symbols &#8211; a total pain in the ass. But that&#8217;s a story for another time). It just so happened that we were rocking out to Kiss&#8217; &#8220;God Gave Rock &#38; Roll To You&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-232" title="flardrums1" src="http://www.squidder.com/wp-content/uploads/2009/03/flardrums1.jpg" alt="flardrums1" width="550" height="350" /></p>
<p>This actually came about as a happy little accident while trying to bend <a href="http://saqoosha.net/en/flartoolkit/start-up-guide/">FLARToolkit</a> to our will (tracking multiple instances of multiple symbols &#8211; a total pain in the ass. But that&#8217;s a story for another time). It just so happened that we were rocking out to Kiss&#8217; &#8220;<a href="http://www.youtube.com/watch?v=IHBwryfycvk">God Gave Rock &amp; Roll To You</a>&#8221; and it suddenly occurred to us that &#8220;Hey, it wouldn&#8217;t be so hard to make these things make sounds when they disappear.&#8221; So we did. And it was awesome.</p>
<p><a href="http://www.squidder.com/flardrums/">We&#8217;ve (for once) posted a usable demo, so you too can rock out at your desk</a>. Below is a quick video demo of all four sounds and after the break, you can see the <a href="http://www.squidder.com/2009/03/03/augmented-reality-drum-kit/#more-233">demo of using multiple instances of the same drum</a>.</p>
<p><object width="550" height="410" data="http://vimeo.com/moogaloop.swf?clip_id=3455289&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3455289&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /></object><br />
<span id="more-233"></span></p>
<p><object width="550" height="410" data="http://vimeo.com/moogaloop.swf?clip_id=3455380&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3455380&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.squidder.com/2009/03/03/augmented-reality-drum-kit/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Driving Demo, part 2</title>
		<link>http://www.squidder.com/2009/02/25/driving-demo-part-2/</link>
		<comments>http://www.squidder.com/2009/02/25/driving-demo-part-2/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 16:07:04 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[FLARToolkit]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://www.squidder.com/?p=181</guid>
		<description><![CDATA[
We couldn&#8217;t help it. The XBOX Controller wasn&#8217;t enough. Had to hook it up to a wiimote too (big nod to the guys over at the WiiFlash project).
]]></description>
			<content:encoded><![CDATA[<p><object width="550" height="415" data="http://vimeo.com/moogaloop.swf?clip_id=3366078&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3366078&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /></object></p>
<p>We couldn&#8217;t help it. <a href="http://www.squidder.com/2009/02/24/desktop-literal-driving-demo/">The XBOX Controller wasn&#8217;t enough</a>. Had to hook it up to a wiimote too (big nod to the guys over at the <a href="http://code.google.com/p/wiiflash/">WiiFlash project</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.squidder.com/2009/02/25/driving-demo-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Desktop (literal) driving demo</title>
		<link>http://www.squidder.com/2009/02/24/desktop-literal-driving-demo/</link>
		<comments>http://www.squidder.com/2009/02/24/desktop-literal-driving-demo/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 17:10:30 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[FLARToolkit]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://www.squidder.com/?p=159</guid>
		<description><![CDATA[
It&#8217;s no secret that we&#8217;re obsessed with augmented reality. Using this fantastic car demo whipped up by John Lindquist over at pv3d.org, we added in some FLARToolkit love to create a cool experience of driving the car around on a table.
But we didn&#8217;t stop there. Using the mind blowing-ly good ControllerMate and some simple keyboard [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-172" title="driving1" src="http://www.squidder.com/wp-content/uploads/2009/02/driving1.jpg" alt="driving1" width="550" height="325" /></p>
<p>It&#8217;s no secret that we&#8217;re <a href="http://www.squidder.com/2009/02/17/papertweet3d-augmented-reality-t-shirts/">obsessed with augmented reality</a>. Using this <a href="http://pv3d.org/2009/01/23/springcamera3d-and-driving-a-car/">fantastic car demo</a> whipped up by John Lindquist over at pv3d.org, we added in some <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en">FLARToolkit</a> love to create a cool experience of driving the car around on a table.</p>
<p>But we didn&#8217;t stop there. Using the mind blowing-ly good <a href="http://www.orderedbytes.com/controllermate/">ControllerMate</a> and some simple keyboard mapping classes, we hooked the car up to a wired xbox 360 controller for maximum nerd. <span style="text-decoration: line-through;">Next step, get some shaders going on that sweet Ford Focus.</span> Ah, we couldn&#8217;t resist, so we added a shader.</p>
<p><strong>UPDATE: </strong>YouTube was being unhappy with our videos for some reason (we suspect it doesn&#8217;t get along with Snapz, but who knows), so we&#8217;re moving over to Vimeo. We&#8217;ve also updated our demo video here, too, to include a slight shadow under the car, as well as part where the car does it&#8217;s business without the flar symbol present. Enjoy!</p>
<p><object width="550" height="415"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3364864&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3364864&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="550" height="415"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.squidder.com/2009/02/24/desktop-literal-driving-demo/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>PaperTweet3d: Augmented Reality T-shirts</title>
		<link>http://www.squidder.com/2009/02/17/papertweet3d-augmented-reality-t-shirts/</link>
		<comments>http://www.squidder.com/2009/02/17/papertweet3d-augmented-reality-t-shirts/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 17:27:48 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[good ideas]]></category>
		<category><![CDATA[labs]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[FLARToolkit]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://www.squidder.com/?p=143</guid>
		<description><![CDATA[
So we here at squidder have been playing around with the FLARToolKit a lot recently. Pretty amazing stuff really. And while fooling around with it, something (perhaps obvious) occurred to us: We love flash. And we also love t-shirts. And Papervision. And Twitter.
And, suddenly, we had a way to combine them all together.
Below is an early technical [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.squidder.com/wp-content/uploads/2009/02/eshirt2.jpg" alt="eshirt2" title="eshirt2" width="550" height="334" class="alignnone size-full wp-image-196" /></p>
<p>So we here at squidder have been playing around with the <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">FLARToolKit</a> a lot recently. Pretty amazing stuff really. And while fooling around with it, something (perhaps obvious) occurred to us: We love flash. And we also love t-shirts. And Papervision. And Twitter.</p>
<p>And, suddenly, we had a way to combine them all together.</p>
<p>Below is an early technical demo, in which a barcode, containing a twitter username, is embedded within our FLAR pattern. This is important because you don&#8217;t need to create a new pattern for each username. Instead, the flash reads the person&#8217;s username (up to 8 characters, encoded in 6 bit chunks) and then pulls that person&#8217;s latest post from twitter. </p>
<p>The source code is a mess, but we&#8217;ll be posting some more how-to details soon. In the meantime, enjoy the video demo below!</p>
<p><strong>Update:</strong> YouTube drools, Vimeo rules.</p>
<p><object width="550" height="415"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3364975&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3364975&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="550" height="415"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.squidder.com/2009/02/17/papertweet3d-augmented-reality-t-shirts/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
	</channel>
</rss>
