<?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>sevenson.com.au</title>
	<atom:link href="http://www.sevenson.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sevenson.com.au</link>
	<description>The online presence of Andrew Sevenson</description>
	<lastBuildDate>Fri, 26 Feb 2010 12:44:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Jay Jays Jayvatar Builder Goes Live</title>
		<link>http://www.sevenson.com.au/misc/jay-jays-jayvatar-builder-goes-live/</link>
		<comments>http://www.sevenson.com.au/misc/jay-jays-jayvatar-builder-goes-live/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 12:44:24 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=458</guid>
		<description><![CDATA[This week the Jay Jays Jayvatar Builder that Visual Jazz created went live.  It&#8217;s a cool little tool that lets you create your own custom avatar for use on the Jay Jays site.
Whith a very unique style and heaps of options you are sure to create some very cooky characters.


This first release consists mostly [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Home-150x150.png" alt="Screen shot of the Jay Jays Jayvatar Editor" title="Jayvatars Editor" width="150" height="150" class="alignright size-thumbnail wp-image-460" style="float:right; padding:5px" />This week the <a href="http://www.jayjays.com.au" title="Check out the Jayvatar Builder on the Jay Jays site">Jay Jays</a> Jayvatar Builder that <a href="http://www.visualjazz.com.au" title="Check out the Visual Jazz site after you finish reading here">Visual Jazz</a> created went live.  It&#8217;s a cool little tool that lets you create your own custom avatar for use on the Jay Jays site.</p>
<p>Whith a very unique style and heaps of options you are sure to create some very cooky characters.</p>
<p><span id="more-458"></span></p>
<p><br style="clear:both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Editor.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Editor-300x211.png" alt="Screen shot of the Jayvatars Editor Page" title="Jayvatars Editor Page" width="300" height="211" class="alignright size-medium wp-image-459" style="float:left; padding-right:5px;border:none;" /></a>This first release consists mostly of the Jayvatar builder, which is where you can create your custom jayvatar by combining any of the various pieces of clothing and accessories.  You can also choose between male and female body types, as well as different attributes, such as height, weight and arm length.  </p>
<p>There is even a &#8216;random&#8217; button for the less visually creative that generates a random jayvatar automatically.</p>
<p>Once you have completed creating you Jayvatar, you can save it and share it via facebook, twitter and email.  You can also save a version onto your computer for whatever reason you have in mind.</p>
<p><br style="clear:both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Playground.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Playground-300x212.png" alt="Screenshot of the Beta Jayvatars Playground" title="Jayvatars Playground" width="300" height="212" class="alignleft size-medium wp-image-462"  style="float:left; padding-right:5px;border:none;"/></a>You can also play around with your Jayvatar in the Javatar Playground.<br/> Here you can make your Jayvatarcan fly around the screen, bump items, crash down, etc.</p>
<p>At the moment the playground is just a Beta version so there is only a limited amount of interactivity happening.  There full release will allow you to do a lot more.</p>
<p><br style="clear:both"/><br />
Below is a version of me I created using the site, as well as some of the random creations it generated for me.<br />
<br style="clear:both"/><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Sev-Jayvatar.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Sev-Jayvatar-174x300.png" alt="Jayvatar Version of ME!" title="Sev - Jayvatar" width="174" height="300" class="alignleft size-medium wp-image-463"   style="float:left; padding-right:5px;border:none;"/></a><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Viking-Jayvatar.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Viking-Jayvatar-179x300.png" alt="My Javatar Viking" title="Viking - Jayvatar" width="179" height="300" class="alignleft size-medium wp-image-465"   style="float:left; padding-right:5px;border:none;"/></a><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Top-Hat-Jayvatar.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Top-Hat-Jayvatar-163x300.png" alt="I don&#039;t know what this guy is" title="Top Hat - Jayvatar" width="163" height="300" class="alignleft size-medium wp-image-464"  style="float:left; padding-right:5px;border:none;" /></a><br />
<a href="http://www.sevenson.com.au/content/uploads/2010/02/26/Hoodie-Jayvatar.png"><img src="http://www.sevenson.com.au/content/uploads/2010/02/26/Hoodie-Jayvatar-170x300.png" alt="I think this could be a guy from my neighbourhood" title="Hoodie - Jayvatar" width="170" height="300" class="alignleft size-medium wp-image-461"  style="float:left; padding-right:5px;border:none;"/></a></p>
<p><br style="clear:both"/><br />
As a bonus, those people from Australia and New Zealand that sign up soon will be given a free $10 voucher to spend in store&#8230; BONUS! </p>
<p>So what are you waiting for?  Head over to the <a href="http://www.jayjays.com.au" title="Check out the Jayvatar Builder on the Jay Jays site">Jay Jays</a> site and create your own..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/misc/jay-jays-jayvatar-builder-goes-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enviromaniac Games</title>
		<link>http://www.sevenson.com.au/showcase/enviromaniac-games/</link>
		<comments>http://www.sevenson.com.au/showcase/enviromaniac-games/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:31:28 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=374</guid>
		<description><![CDATA[A few months back, Visual Jazz (the place I work) was building a new site for Visy called Visy Enviromaniacs.  The purpose of the site was to help educate children about the environment, teaching them about recycling,  saving energy, etc.
To help make the learning for fun and keep the kids interested, a major [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/icon.png" alt="Visy Enviromaniacs" title="Visy Enviromaniacs" width="121" height="95" style="float:right" /></p>
<p>A few months back, <a href="http://www.visualjazz.com.au" target="_blank">Visual Jazz</a> (the place I work) was building a new site for Visy called <a href="http://www.visyenviromaniacs.com.au/" target="_blank">Visy Enviromaniacs</a>.  The purpose of the site was to help educate children about the environment, teaching them about recycling,  saving energy, etc.</p>
<p>To help make the learning for fun and keep the kids interested, a major section of the site was a series of mini games with a planet saving theme.  It was my job to build those games&#8230;  I love my job <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Read on to hear about the games, and then check them out at <a href="http://www.visyenviromaniacs.com.au/" target="_blank">VISY Enviromaniacs</a>.</p>
<p><span id="more-374"></span></p>
<p><a href="http://www.visyenviromaniacs.com.au/" target="_blank"><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/home.jpg" alt="Visy Enviromaniacs Home Page" title="Visy Enviromaniacs Home Page" width="309" height="225" style="float:left" border="0" /></a></p>
<p>Each of the games had a different theme, focussing on different ways to save the environment.  To keep things interesting, we made sure that the games were also different in the way that they played.  We didn&#8217;t one to have 5 of the same game with just a graphics changed.</p>
<p>As always, deadlines were tight, but the managers and designers that I worked with were right on top of things, so it all ended up falling into place.</p>
<p><br style="clear:both"/></p>
<p>Here is a quick run through of what we made:</p>
<hr/>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/frenzy1.jpg" alt="Recycle Frenzy Title Screen" title="Recycle Frenzy Title Screen" width="345" height="318" style="float:right" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/frenzy2.jpg" alt="Recycle Frenzy Screen Shot" title="Recycle Frenzy Screen Shot" width="345" height="318" style="float:right; clear:right" /></p>
<h2>Recycle Frenzy</h2>
<p>Recycle Frenzy was the first game we made.  It was a bit of across between Bejeweled, Tetris and a sorting game.  Pieces of litter would be added to the bottom of the screen, one row at a time.  The player would have to drag the pieces of litter the appropriate bin &#8211; general waste, recycling, paper or green waste.</p>
<p>If the rubbish made it all the way to the top of the screen, the game was over.</p>
<p>To add a bit of spice to the game, the player could swap the positions of litter by dragging them around the grid.  Arranging litter into larger groups before dragging it to the bin would result in bonus points being added to the score.  </p>
<p>Also, by filling up the bins the user unlocked &#8216;power ups&#8217; that allowed them to do things like remove an entire row or column with a single click.</p>
<p>Keeping with the tradition with these types of games, the speed would gradually increase as the game went on, causing for some very frantic game play &#8211; hence the &#8216;frenzy&#8217; part <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/energy1.jpg" alt="Energise the Earth Intro" title="Energise the Earth Intro" width="345" height="318" style="float:left" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/energy2.jpg" alt="Energise the Earth Screen Shot" title="Energise the Earth Screen Shot" width="345" height="318" style="float:left; clear:left" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/energy3.jpg" alt="Energise the Earth Screen Shot" title="Energise the Earth Screen Shot" width="345" height="318" style="float:left; clear:left" /></p>
<h2>Energise the Earth</h2>
<p>Energise the Earth is a bit of a strange game.  It is a very simple concept, but proved to be a bit harder to build then initially thought.</p>
<p>The basic idea of the game is to collect the energy that is escaping from appliances around the house.  As you look around the room, &#8216;energy tokens&#8217; will jump out from different appliances and you have to roll your mouse over them to collect them.</p>
<p>Each room you enter has a specified number of energy tokens you have to collect to successfully pass the room.  If you reach that amount, you move onto the next room. If you don&#8217;t, it is game over.</p>
<p>There are 5 rooms in total, including the living room, study, kitchen, laundry and bedroom.  If you pass all of the rooms, you start again, but with higher umber of tokens required in each of the rooms.</p>
<p>It is surprising frantic and keeping up with the pace can be quite stressful.  Good luck! <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/water1.jpg" alt="Wild About Water Intro" title="Wild About Water Intro" width="345" height="318" style="float:right" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/water2.jpg" alt="Wild About Water Screen Shot" title="Wild About Water Screen Shot" width="345" height="318" style="float:right; clear:right" /></p>
<h2>Wild About Water</h2>
<p>Wild About Water was the second game I had to build.  This one was a bit more complex and confusing, but one you get the hang of it, it is quite addictive and satisfying.</p>
<p>The idea behind it is that you have to keep on top of all the possible water wasting events that occur around a house.  Everything from fixing dripping taps to covering swimming pools to prevent evaporation.  When something goes wrong, you are alerted and given an amount of time to fix the problem.  The longer you take to fix the problem, the more water you will lose.  If you run out of water, the game is over.</p>
<p>It&#8217;s not all bad though.  When you fix a problem, you are given the chance to collect that water with your bucket, adding to your overall water total.</p>
<p>If that wasn&#8217;t enough though, there are a couple of side tasks you have to keep in mind. Firstly, you have to keep the plants alive by giving them some of your water at regular intervals. Secondly, you have to drag dishes to the dish washer and clothes to the washing machine, making sure that the machines are full before they start so that you don&#8217;t waste water.</p>
<p>As I write this, it does sound overly complex, but like I said at the start, once you get used to it, it does prove to be a challenge.</p>
<hr/>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/litter1.jpg" alt="Bitter About Litter Intro" title="Bitter About Litter Intro" width="345" height="318" style="float:left" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/litter2.jpg" alt="Bitter About Litter Screen Shot" title="Bitter About Litter Screen Shot" width="345" height="318" style="float:left; clear:left" /></p>
<h2>Bitter About Litter</h2>
<p>Bitter about Litter is all about collecting and sorting litter.    Sounds like fun, I know, but the game does go a long way to making it so.</p>
<p>You control a guy, in a park full of litterers.  As they drop throw their litter on the ground, you run over and pick it up.  You then bring it back to your bins where you quickly sort it into either waste or recycling.</p>
<p>When there is litter on the ground, your health begins to drop.  The more litter that is there, the faster your health will drop.  When you put rubbish int the bins, you get a bit of your health back &#8211; as long as it is going into the right bin.  When your health runs out, the game is over.</p>
<p>To add some more interest to the game, the player is awarded bonus points for sorting items of rubbish into the the bins without making mistakes.  There are also bonus points for returning with as much rubbish as you can carry.</p>
<p>Another nice feature we slotted into the game is that the character in the game actually takes on the look of the player&#8217;s &#8216;enviromaniac&#8217; avatar.  A small thing I know, but still pretty cool.</p>
<hr/>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/packets1.jpg" alt="Pick Your Packets Intro" title=" Pick Your Packets Intro" width="345" height="318" style="float:right" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/enviromaniacs/packets2.jpg" alt="Pick Your Packets Screen Shot" title="Pick Your Packets Screen Shot" width="345" height="318" style="float:right; clear:right" /></p>
<h2>Pick Your Packets</h2>
<p>Pick Your Packets is all about learning and identifying the different packaging types you may encounter in the super market.  </p>
<p>The player is given the task of sorting the various products into either good or bad packaging types.  Good items get scanned and added to the shopping basket, bad items get returned to the store.  To help them out, when ever they pick up a product a small description is displayed on the check-out display.</p>
<p>As the game goes on, the items on the conveyor begin to come out more rapidly. If the player is not fast enough, the products will begin to back up, causing the players health to drop.  If the health reaches 0, the game is over.</p>
<hr/>
<p>Thats pretty much it so far.  If you are interested in checking them out just head over to the <a href="http://www.visyenviromaniacs.com.au/" target="_blank">VISY Enviromaniac</a> site.  Also, big Kudos to the team at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> who I work with.  They did an awesome job on building the site.  You can read a bit about it on the VJ site <a href="http://www.visualjazz.com.au/#/portfolio/enviromaniacs" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/enviromaniac-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sciences at Melbourne Website</title>
		<link>http://www.sevenson.com.au/showcase/sciences-at-melbourne-website/</link>
		<comments>http://www.sevenson.com.au/showcase/sciences-at-melbourne-website/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:30:06 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Papervision 3D]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=379</guid>
		<description><![CDATA[Did you ever get the feeling that you were being tested?  That&#8217;s what happened to me with this site.  The designers I work with at Visual Jazz really like to push us developers some times.
When I first saw the designs for it I remember saying to myself &#8216;Gosh darn! How is one supposed [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/showcase/melbscience/icon.png" alt="Melbourne Sciences icon" title="Melbourne Sciences" width="121" height="95" style="float:right" /></p>
<p>Did you ever get the feeling that you were being tested?  That&#8217;s what happened to me with this site.  The designers I work with at <a href="http://www.visualjazz.com.au" target="_blank">Visual Jazz</a> really like to push us developers some times.</p>
<p>When I first saw the designs for it I remember saying to myself &#8216;Gosh darn! How is one supposed to go about doing that??&#8217; (I may have used some more colourful language but you get the jist)   I had never done 3D before, and that was just the beginning.  There was depth of field, keyed out video, and a pile of information to be displayed.</p>
<p>Luckily, it all came together in the end &#8211; you can read about how in this post.  </p>
<p><span id="more-379"></span></p>
<p><img src="http://www.sevenson.com.au/content/showcase/melbscience/column.jpg" alt="Melbourne Sciences column view" title="Melbourne Sciences video column" width="309" height="225" style="float:left" /></p>
<p>The main idea behind the site was for a big 3D column with 3 spiralling streams of video screens wrapped around it.  The user could spin and pan the column around to see the different screens.  When they click on one, it would come to the foreground where a video would then play.</p>
<p>The first place I started was to learn about PaperVision 3D.  Luckily for me, there is a huge number of posts and tutorials to get me started.  Yay for the internet!</p>
<p>Once I had the customary 3D primitives floating around on screen, I started looking into the problem of faking depth of field.  The idea I had was to create a series of blurred textures for each object, then swap them out based on their distance from the camera.  If you want a bit more detail on this, check out an post I wrote on it <a href="http://www.sevenson.com.au/actionscript/depth-of-field/">here</a>.</p>
<p>There were of course some other tricky items involved &#8211; because the screens have some depth to them, simply blurring the textures did not look right.  I had to make it so that when the screens got about halfway back, they were swapped over with a basic plane.</p>
<p><img src="http://www.sevenson.com.au/content/showcase/melbscience/student1.jpg" alt="Student Video 1" title="Student Video Thumnail" width="309" height="225" style="float:right; clear:right" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/melbscience/student2.jpg" alt="Student Video 2" title="Student Video Detail" width="309" height="225" style="float:right; clear:right" /></p>
<p>The next 3D problem was the curved lines.  We could have just had some curved lines modelled up in max, but because we wanted the lines to blur, they had to be done in a similar way to the other blurry objects.  I ended up coming up with a bit of code that would generate the curved lines from a series of small straight lines, basically aligning them from end to end.  This allowed me to blur individual segments, which wasn&#8217;t a perfect result, but worked pretty damn well.</p>
<p>I can&#8217;t even remember the exact method &#8211; I just know that it included a fair bit of trigonometry and experimentation. </p>
<p>The last 3D part was getting the videos to line up with the 3D screens when they were selected.  It took a bit of playing around, but after a bit of googling and tweaking some figures I finally got it all lining up nicely.  There is bit of a formula to getting 3D graphics to line up, but once you know it, it just works.</p>
<p>Oh, as for the big green curved shapes, they were pretty simple.   They were simplymodelled up by the 3D guys and loaded into the scene via a Collada (DAE) file.  Apart from some minor texture path issues, they were probably the easiest parts of the site.</p>
<p>The videos themselves were pretty cool.  Each of the students represented on a screen was filmed on a keyed background, walking out from behind the panel.  They would then introduce themselves before returning back to behind the panel.  It was a pretty simple trick, but proved to be quite effective.  There was a little bit of trickery involved getting the walking in and out to look right, but we got there in the end.</p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/melbscience/parents.jpg" alt="Melbourne Sciences column view" title="Melbourne Sciences video column" width="309" height="225" style="float:left; clear:left" /></p>
<p>After all of that, the only remaining content was a series of different informational pages.  These were pretty straightforward and were achieved by using a template system that was run off of XML based content.  This allowed us to easily add and edit content to the site without the need for an entire rebuild.</p>
<p>Overall it was a pretty cool project, so check it out if you get the chance &#8211; <a href="http://sciences.melbourne.edu/" target="_blank">Sciences at Melbourne</a>. You can also read about it on the <a href="http://www.visualjazz.com.au/#/portfolio/uni_melbourne_sciences/" target="_blank">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/sciences-at-melbourne-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Bakery</title>
		<link>http://www.sevenson.com.au/showcase/virtual-bakery/</link>
		<comments>http://www.sevenson.com.au/showcase/virtual-bakery/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:29:48 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=383</guid>
		<description><![CDATA[Sometimes in this line of work someone gives you a job that is nothing but fun.  
Visual Jazz was rebuilding the entire Baker&#8217;s Delight website, and as a bit of a side project we were given the task of building a virtual bakery in Flash.  The bakery was to be a high gloss [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/showcase/virtualbakers/icon.png" alt="Virtual Bakery icon" title="Virtual Bakery" width="121" height="95" style="float:right" /></p>
<p>Sometimes in this line of work someone gives you a job that is nothing but fun.  </p>
<p><a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> was rebuilding the entire Baker&#8217;s Delight website, and as a bit of a side project we were given the task of building a virtual bakery in Flash.  The bakery was to be a high gloss virtual representation of one of their stores, allowing visitors to browse through a sample selection of their products.</p>
<p>It was a simple project with a pretty cool looking result. Read on to find out some of the features, and then check it out at <a href="http://www.bakersdelight.com.au/virtual.html" target="_blank">http://www.bakersdelight.com.au/virtual.html</a>.</p>
<p><span id="more-383"></span></p>
<p><img src="http://www.sevenson.com.au/content/showcase/virtualbakers/loader.jpg" alt="Virtual Bakery loader" title="Virtual Bakery Loader" width="309" height="225" style="float:left" /></p>
<p>Going through in a chronological order, the site starts off with a steaming loaf of bread.  The loading progress of the site is spelled out in the steam coming off of the bread.  This neat little trick was created using DisplacementMap filters in Flash.  It was a pretty simple trick, once I learned out displacement maps actually worked.</p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/virtualbakers/store.jpg" alt="Virtual Bakery store front" title="Virtual Bakery Store Front" width="309" height="225" style="float:right; clear:both" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/virtualbakers/category.jpg" alt="Virtual Bakery category view front" title="Virtual Bakery Category" width="309" height="225" style="float:right; clear:right" /></p>
<p>After that, the user is presented with the store front.  All of the different categories are laid out on display in the store.  The store was set up such a way that it panned and distorted based on mouse movement, giving the slight feeling that you were looking around a store.  It is a very subtle effect, but took some careful cutting out of graphics to make it work without looking like a room made of rubber.</p>
<p>A staff member is situated in the store holding up different promotional signs.  These signs can be easily swapped out for different promotions, and linked to any external pages required.</p>
<p>As an extra subtle little thing &#8211; if you look closely at the counter you will see that it reflects the mouse along its curved surface.  This again was created via the use of displacement maps.</p>
<p>When the user clicks on a category, the camera zooms in on the staff member, who holds up a board displaying all of the products.  The products are displayed in a traditional paged grid system.  Nothing too fancy going on here &#8211; but it does look pretty clean. </p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/virtualbakers/product.jpg" alt="Virtual Bakery Product" title="Virtual Bakery Product" width="309" height="225" style="float:left; clear:both" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/virtualbakers/nutrition.jpg" alt="Virtual Bakery Nutrition" title="Virtual Bakery Nutrition" width="309" height="225" style="float:left; clear:left" /></p>
<p>When a product is selected, the grid collapses down to a single line so that the details of the product can be displayed.  This looks like a simple enough effect, but getting this grid to figure out how it should collapse and expand proved to be one of the most difficult tasks on this site.</p>
<p>The detail view of the product displayed the usual information you would expect.  The cool, and possibly over the top, part of this page was that some of the products were shot in a 360 degree fashion, allowing the user to spin/rotate the product around so it could be seen from any side.</p>
<p>That about sums it up.  I love it when I get to work on projects like this <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can check out the entire new Baker&#8217;s Delight website at <a href="http://www.bakersdelight.com.au/" target="_blank">http://www.bakersdelight.com.au/</a>.  You can also read about the project over at the <a href="http://www.visualjazz.com.au/#/portfolio/bakers" target="_blank">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/virtual-bakery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liv Doll Microsite</title>
		<link>http://www.sevenson.com.au/showcase/liv-doll-microsite/</link>
		<comments>http://www.sevenson.com.au/showcase/liv-doll-microsite/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:26:29 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Papervision 3D]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=387</guid>
		<description><![CDATA[Working at Visual Jazz does expose me to some interesting scenarios/  I mean, playing with dolls for a couple of weeks isn&#8217;t my usual idea of a good time, but this funky little microsite had some pretty cool features that had my brain ticking over the whole time.
Some interesting 3D modelling and animation coupled [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/showcase/livdoll/icon.png" alt="Liv Doll icon" title="Liv Doll Microsite" width="121" height="95" style="float:right" /></p>
<p>Working at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> does expose me to some interesting scenarios/  I mean, playing with dolls for a couple of weeks isn&#8217;t my usual idea of a good time, but this funky little microsite had some pretty cool features that had my brain ticking over the whole time.</p>
<p>Some interesting 3D modelling and animation coupled with my first attempt augmented reality in flash made for some puzzling times.  Drench all that in a healthy dose of girly-ness and you get <a href="http://www.livinmyworld.com.au/" target="_blank">www.livinmyworld.com.au</a>.</p>
<p>Read on to find out more some of the more nerdy details <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-387"></span></p>
<p><img src="http://www.sevenson.com.au/content/showcase/livdoll/preloader.jpg" alt="Liv Doll preloader" title="Liv Preloader" width="295" height="224" style="float:left;clear:both" /></p>
<p>The idea behind the Liv doll site was to invite visitors to try out some of the different clothing accessories on a 3D version of a doll.  Once they have found a look that they are happy with they can use a webcam and augmented reality to take a photo of themselves posing with the doll.  This photo can then be saved, printed or sent on to their friends.</p>
<p>My job as the ActionScripter was to take all the designs, models and animations and make it all work.  Easy peasy&#8230; sort of.</p>
<p>The base of the site was pretty simple. It followed a basic page structure using on lots of flat colours, shading and bouncy transitions to help bring the site to life. Overall it was a very &#8216;happy&#8217; site and I had a lot of fun putting it together.</p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/livdoll/home.jpg" alt="Liv Doll home page" title="Liv Home Page" width="295" height="224" style="float:right;clear:both" /></p>
<p><img src="http://www.sevenson.com.au/content/showcase/livdoll/dress.jpg" alt="Liv Doll clothes changer" title="Liv Clothes Selector" width="295" height="224" style="float:right;clear:both" /></p>
<p>The tricky stuff started with the 3D.  Papervison was my weapon of choice. Mostly because I had used it before, but also because we hit some early snags with Away3D and I didn&#8217;t have time to try and resolve them.</p>
<p>Because we were allowing the user to change the hair, top and pants on the 3D model, each part had to be imported separately.  The 3D guy had loads of fun generating the different clothes, animating them, and then splitting them up for me.</p>
<p>These split up files meant that I needed to create a way to manage the loading of models and the related textures.  That was easy enough, but  part way through the process we noticed that some of the model combinations resulted in clipping.  This didn&#8217;t look very good and actually had an impact on the performance.</p>
<p>I discovered that if I applied an alpha channel to the offending model&#8217;s texture, the clipping went away and the performance improved (Sounds strange right?  Adding transparency made it run better?  Go figure). With this in mind I created a data management object which would load the required models and textures, then figure out what masking was required to make it all look good.</p>
<p>Sounds easy when I write it like that, but it actually got quite complex.  I basically had to write a matrix that would look at what clothes you were matching up, load the required textures, then merge the alpha channel with the textures before finally applying it to the model.</p>
<p>Next big thing was the animation of the models.  Not that playing the animation was hard, but keeping all the models in sync as they were swapped around was.  The animation controls in PaperVision weren&#8217;t the greatest for what I needed to do so I ended up using the <a href="http://code.google.com/p/daeanim/" target="_blank">DAE MC2</a> classes.  They allowed me to treat the animations a bit more like a MovieClip, so it was a lot easier to keep everything in sync.</p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/livdoll/ar.jpg" alt="Liv Doll Augmented Reality" title="Liv Augmented Reality" width="295" height="224" style="float:left;clear:both" /></p>
<p>The final big hurdle was the Augmented Reality (AR).  For this I used the awesome <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">FLAR ToolKit</a> for this.  Unfortunately, a lot of the docs were in Japanese, so I ended up hunting down a tutorial/example over at <a href="http://www.mikkoh.com/blog/?p=182" target="_blank">Mikko Haapoja&#8217;s Blog</a>.  This got me up and running in no time.  </p>
<p>Out of the box it didn&#8217;t perform as well as I would have liked, so I spent a bit of time tweaking the code to make it run better.  Nothing too spectacular, just simple things like shrinking the size of the webcam image to reduce the number of calculations required and only calculating &#8216;every other&#8217; frame.</p>
<p>Another little tweak I did was to apply a basic &#8216;ease&#8217; to the model position.  This helped smooth out the little motions that the camera picked up and helped make AR feel much more responsive.</p>
<p>That&#8217;s about it.</p>
<p>Overall I am extremely happy with the site.  The designers and 3D modellers I work with at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a> did an awesome job of building the assets and despite the technical difficulties I mentioned above, it all came together well in the end.</p>
<p>If you haven&#8217;t checked it out already, go have a look at it <a href="http://www.livinmyworld.com.au/" target="_blank">here</a>.  You can also read a bit about it on the <a href="http://www.visualjazz.com.au/#/portfolio/livinmyworld" target="_blank">VJ Site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/liv-doll-microsite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorado Microsite</title>
		<link>http://www.sevenson.com.au/showcase/colorado-microsite/</link>
		<comments>http://www.sevenson.com.au/showcase/colorado-microsite/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 11:28:58 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=385</guid>
		<description><![CDATA[Colorado is tough at work and at play.  Thats the idea behind this microsite that I helped build at Visual Jazz. The whole thing was built in flash and oozed manliness from start to finish.
It was my job to do all the flash programming to make this site come to life.
Read on to hear [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/showcase/colorado/icon.png" alt="Colorado icon" title="Colorado Microsite" width="121" height="95" style="float:right" /></p>
<p>Colorado is tough at work and at play.  Thats the idea behind this microsite that I helped build at <a href="http://www.visualjazz.com.au/">Visual Jazz</a>. The whole thing was built in flash and oozed manliness from start to finish.</p>
<p>It was my job to do all the flash programming to make this site come to life.</p>
<p>Read on to hear me ramble on a bit more about some of the details.</p>
<p><span id="more-385"></span></p>
<p><img src="http://www.sevenson.com.au/content/showcase/colorado/home.jpg" alt="Colorado home" title="Colorado Home" width="301" height="196" style="float:left;clear:both" /></p>
<p>The main base for the site was split into two different sides.  One side was the rough and tough &#8216;work&#8217; side, full of rough, dark, industrial areas.  The other side was the brighter &#8216;play&#8217; side with a much more fun feel.</p>
<p><br style="clear:both"/><br />
<img src="http://www.sevenson.com.au/content/showcase/colorado/work.jpg" alt="Colorado work" title="Colorado Work" width="301" height="196" style="float:right;clear:right" /></p>
<p>Different sections of the site were related to either work or play.  When a section was navigated to the entire background would pan left or right using a pretty cool parallax effect, with all the elements moving at slightly different speeds.  To help give a bit of atmosphere, I did some quick little animation effects.  These included some random floating clouds the work their way across the screen, as well as a random flock of birds that can occasionally be seen flying in the background.</p>
<p>Page elements animated into place using quick, almost &#8216;bouncy&#8217; motions, tweaked slightly to make the elements feel as though they had some weight to them. The panel that is used to display second level information is a very good example of this, as is falls into place like a heavy bit of steel.</p>
<p>I set up the base code for the buttons in such a way that the designers could easily create custom animation effects.  Examples of these can be seen throughout the site, as every major button tends to have a unique animation applied.</p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/colorado/accessories.jpg" alt="Colorado Accessories" title="Colorado Accessories" width="301" height="196" style="float:left;clear:both" /></p>
<p>One particular page of note was the accessories page which used a series of photographs to generate a 360 degree view of the vehicle.  As the user drags the vehicle around, different features come into view, allowing more information to be displayed.  I wish I could say that this was done using some fancy coding, but it is actually a carefully laid out timeline animation controlled via some code.</p>
<p>Full credit has to go to the designer for this site.  The rough &#8216;manly&#8217; feel of the site really worked well, and the elements he gave me to work with made my job a pleasure.</p>
<p><br clear="both"/><br />
Although it was created a while ago, it is still a pretty cool site and can be checked out at <a href="http://www.holdencampaign.com.au/colorado/#/home/" target="_blank">http://www.holdencampaign.com.au/colorado/</a>.  You can also read about the project over at the <a href="http://www.visualjazz.com.au/#/portfolio/colorado" target="_blank">Visual Jazz</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/colorado-microsite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jetstar Photo Competition Site</title>
		<link>http://www.sevenson.com.au/showcase/jetstar-photo-competition-site/</link>
		<comments>http://www.sevenson.com.au/showcase/jetstar-photo-competition-site/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 04:45:32 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Online Showcase]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Visual Jazz]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=377</guid>
		<description><![CDATA[Last year, Jetstar ran a photography competition that was open to both amateurs and professionals.  There were 5 categories that people could enter, with the only requirement being that the photograph be taken in one of the destinations that Jestar flies to.
Overall the site was a big success and ended up getting over 35,000 [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/showcase/jetstarphoto/icon.png" alt="Jetstar Photo Competition icon" title="Jetstar Photo Competition" width="121" height="95" style="float:right" /></p>
<p>Last year, Jetstar ran a photography competition that was open to both amateurs and professionals.  There were 5 categories that people could enter, with the only requirement being that the photograph be taken in one of the destinations that Jestar flies to.</p>
<p>Overall the site was a big success and ended up getting over 35,000 entries.  </p>
<p>The entire site was built in Flash and working at <a href="http://www.visualjazz.com.au/" target="_blank">Visual Jazz</a>, I was on the team that helped put it all together.</p>
<p>You can check out the site at <a href="http://www.jetstarphotocomp.com/" target="_blank">http://www.jetstarphotocomp.com/</a> then read on here for a brief run through of what I did on it.</p>
<p><span id="more-377"></span></p>
<p><img src="http://www.sevenson.com.au/content/showcase/jetstarphoto/home.jpg" width="309" height="225" alt="Jetstar Photo Comp Home Page" title="Jetstar Photo Comp Home Page" style="float:left; clear:left"/></p>
<p>Overall the site wasn&#8217;t overly huge.  There was only about 6 different sections to the site, but some of them were a little bit tricky due to the integration with the backend database.</p>
<p>The major part I worked on was the photo gallery, which ended up being one of the more complex parts of the site.</p>
<p><br style="clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/jetstarphoto/gallery1.jpg" width="309" height="225" alt="Jetstar Photo Comp Gallery Grid" title="Jetstar Photo Comp  Gallery Grid" style="float:right; clear:both"/></p>
<p><img src="http://www.sevenson.com.au/content/showcase/jetstarphoto/gallery2.jpg" width="309" height="225" alt="Jetstar Photo Comp Gallery Detail" title="Jetstar Photo Comp  Gallery Detail" style="float:right; clear:right"/></p>
<p>The main code for the gallery was based on <a href="http://www.simpleviewer.net/tiltviewer/app/" title="Tilt Viewer" target="_blank">TiltViewer</a>.  It did everything it was supposed to very well, but it had to be altered a fair bit to achieve the desired effect.  It had to be set up to work with the custom CMS that had been developed in house, as well as display a custom &#8216;detail&#8217; screen of the image.</p>
<p>It also needed to be able to support deep linking to particular photos via the use of SWFAddress, as well as the general filtering you would expect on a  gallery of this type, including category and keyword.</p>
<p>On an nerdy note, I had to do some alterations in order to improve the performance, due to the fact that the images we were showing were a fair bit bigger then would normally be used.  This included, strangely enough, limiting the amount of tilt that was used on the grid &#8211; I&#8217;m guessing that had something to do with the 3D engine?.  The other thing, which made a bit more sense, was to reduce the complexity of the transitions used.</p>
<p>The other section that I worked on was the home page &#8211; it basically just showed the photos of the week, which were pulled from the database via the CMS.  In relation to the gallery, it was not very hard at all <img src='http://www.sevenson.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can check out the site at <a href="http://www.jetstarphotocomp.com/" target="_blank">http://www.jetstarphotocomp.com/</a>. You can also read a bit about it over a the <a href="http://www.visualjazz.com.au/#/portfolio/jetstarphoto" target="_blank">Visual Jazz Site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/showcase/jetstar-photo-competition-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Visual Jazz Site</title>
		<link>http://www.sevenson.com.au/ramblings/new-visual-jazz-site/</link>
		<comments>http://www.sevenson.com.au/ramblings/new-visual-jazz-site/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:03:33 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Visual Jazz]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=439</guid>
		<description><![CDATA[Apparently it has taken numerous years of design, development.. then some more design.. and some more dev&#8230; coffee, design&#8230; dev.. etc.  but Visual Jazz (the place where I work)  has finally got a new website up and running.  Yay!


Apart from the cool design, the best part of the site is the tiny [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently it has taken numerous years of design, development.. then some more design.. and some more dev&#8230; coffee, design&#8230; dev.. etc.  but <a href="http://www.visualjazz.com.au" target="_blank">Visual Jazz</a> (the place where I work)  has finally got a new website up and running.  Yay!</p>
<p><span id="more-439"></span></p>
<p><a href="http://www.visualjazz.com.au" target="_blank"><img src="http://www.sevenson.com.au/content/uploads/2010/02/02/VJScreenShot1.jpg" alt="A screen shot showing what the new Visual Jazz Website looks like" title="Visual Jazz Website Screen Shot" width="600" height="392" class="aligncenter size-full wp-image-447" /></a></p>
<p>Apart from the cool design, the best part of the site is the tiny little characters walking around the site &#8211; sitting, dancing, etc. </p>
<p><img src="http://www.sevenson.com.au/content/uploads/2010/02/02/avatar.jpg" alt="Andrew Sevenson&#039;s avatar used as Visual Jazz" title="Andrew Sevenson&#039;s Visual Jazz Avatar" width="90" height="173" style="float:left;padding-left:5px" /><br />
For those of you that don&#8217;t know, every employee at VJ is has a custom designed avatar created for use in their emails, business cards, presentations, etc.  My little character is off the side here &#8211; A man in a gorilla suit working at a laptop.</p>
<p>The plan for the site is to eventually have everyone&#8217;s avatar appearing on the site randomly.  You can identify each avatar by rolling your mouse over them &#8211; their name will appear above.</p>
<p>As an added bit of fun, you can throw characters into the air and see how far they travelled.  For the record my best is about 2000m, but I have heard rumours of people breaking the 3000m mark.  </p>
<p>My avatar recently made it onto the site, so check it out at <a href="http://www.visualjazz.com.au" target="_blank">http://www.visualjazz.com.au</a> and see if you can find me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/ramblings/new-visual-jazz-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hooray for Ramblings&#8230;</title>
		<link>http://www.sevenson.com.au/ramblings/hooray-for-ramblings/</link>
		<comments>http://www.sevenson.com.au/ramblings/hooray-for-ramblings/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 12:37:35 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Random Crap]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=435</guid>
		<description><![CDATA[Its been a while, but I have finally gotten around to doing some updates on my site.  Hooray.
One of the new updates is this new section dedicated to random, trivial stuff that spews out of my brain. I would post a link to it, but if you are reading this you are most likely [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a while, but I have finally gotten around to doing some updates on my site.  Hooray.</p>
<p>One of the new updates is this new section dedicated to random, trivial stuff that spews out of my brain. I would post a link to it, but if you are reading this you are most likely already in the Ramblings section, and I wouldn&#8217;t want to create an infinite loop that could destroy the world.</p>
<p><span id="more-435"></span></p>
<p>Stay tuned for other random bits of information! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/ramblings/hooray-for-ramblings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DisplacementMapFilter Tester</title>
		<link>http://www.sevenson.com.au/actionscript/displacementmapfilter-tester/</link>
		<comments>http://www.sevenson.com.au/actionscript/displacementmapfilter-tester/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 04:54:09 +0000</pubDate>
		<dc:creator>Andrew Sevenson</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.sevenson.com.au/?p=389</guid>
		<description><![CDATA[Recently I did some work on the a project that required me to use some Displacement Maps.  I have never used them before, but after playing with them for a bit I soon realised something&#8230; they are very awesome.
They do take a little bit of getting used to, so to help with the experimentation [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sevenson.com.au/content/actionscript/displacement/icon.png" alt="Displacement icon" title="Displacement" width="121" height="95" style="float:right" /></p>
<p>Recently I did some work on the a project that required me to use some Displacement Maps.  I have never used them before, but after playing with them for a bit I soon realised something&#8230; they are very awesome.</p>
<p>They do take a little bit of getting used to, so to help with the experimentation I created this little app that makes it easy to test out different image and maps combinations.</p>
<p><span id="more-389"></span></p>
<p><img src="http://www.sevenson.com.au/content/actionscript/displacement/screen.jpg" alt="DisplacementMap Tester Screen Grab" title="DisplacementMapFilter tester" width="288" height="223" style="float:left;clear:both" /></p>
<p>The app lets you load in your own images (or use some of my defaults), adjust all the displacement settings and see the final result. It also generates ActionScript 3 code you will need to re-create the effect in your own project.</p>
<p><button id="displacementBtn" rel="#dispmappopup" type="button">Check out DisplacementMap Tester</button></p>
<p><br style="clear:both"/></p>
<div class="overlay" id="dispmappopup" style="width:910px;height:510px;background-image:url(http://www.sevenson.com.au/content/actionscript/displacement/largepopupbg.png);">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_swfloader_1386503187"
			class="flashmovie"
			width="900"
			height="500">
	<param name="movie" value="http://www.sevenson.com.au/content/common/swfloader.swf" />
	<param name="flashvars" value="contentURL=http://www.sevenson.com.au/content/actionscript/displacement/dispmaptest.swf&amp;clickToLoad=false&amp;corners=all" />
	<param name="quality" value="high" />
	<param name="wmode" value="window" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.sevenson.com.au/content/common/swfloader.swf"
			name="fm_swfloader_1386503187"
			width="900"
			height="500">
		<param name="flashvars" value="contentURL=http://www.sevenson.com.au/content/actionscript/displacement/dispmaptest.swf&amp;clickToLoad=false&amp;corners=all" />
		<param name="quality" value="high" />
		<param name="wmode" value="window" />
	<!--<![endif]-->
		<img src="http://www.sevenson.com.au/content/actionscript/displacement/noflash.jpg" alt="DisplacementMapFilter Tester - You need flash player 9 to check this out" width="800" height="400" />
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
</div>
<p><br style="clear:both"/></p>
<p>Now, I was going to attempt and explain what a Displacement Map is and how it all works, but I realised that there are already a bunch of resources out that that can do a better job than me.  One in particular that I found quite helpful was this <a href="http://www.emanueleferonato.com/2007/12/03/understanding-flash-displacement-map-filter/" target="_blank">article</a> written by Emanuele Feronato.  Most of it is written in AS2, but the concepts are still the same.</p>
<h2>Update</h2>
<p>I recently created a quick AIR version of this tester so that you don&#8217;t need a net connection to test custom images.  Its not anything fancy.  Just a direct port of this web version, but with local file read access.  </p>
<p>You can download the AIR version here: <a href="http://www.sevenson.com.au/wp-content/plugins/download-monitor/download.php?id=6" title="Downloaded 47 times">Displacement Map Tester (Air Verion)</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenson.com.au/actionscript/displacementmapfilter-tester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
