<?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>Harry Northover - The Blog&#187; Unity3D Indy &gt; Untiy (Free for all!)</title>
	<atom:link href="http://www.harrynorthover.com/blog/category/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harrynorthover.com/blog</link>
	<description>harrynorthover.com is a blog created by 15 year old Harry Northover</description>
	<lastBuildDate>Wed, 31 Mar 2010 22:00:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Unity3D Indy &gt; Untiy (Free for all!)</title>
		<link>http://www.harrynorthover.com/blog/2009/11/04/unity3d-indy-untiy-free-for-all/</link>
		<comments>http://www.harrynorthover.com/blog/2009/11/04/unity3d-indy-untiy-free-for-all/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 22:39:20 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=836</guid>
		<description><![CDATA[Yup that&#8217;s right, Unity Indy is now free and has simply been renamed Unity. Go on over and download it free of charge here.]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="10" cellpadding="10">
<tbody>
<tr>
<td><a href="http://unity3d.com/#freeunity"><img class="alignleft" title="Unity " src="http://www.geeks3d.com/public/jegx/200807/unity.jpg" alt="" width="229" height="126" /></a></td>
<td valign="top">Yup that&#8217;s right, Unity Indy is now free and has simply been renamed <a href="http://unity3d.com/" target="_blank">Unity</a>.</p>
<p>Go on over and download it free of charge <a href="http://unity3d.com/unity/download/" target="_blank">here</a>.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2009/11/04/unity3d-indy-untiy-free-for-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inspirational Work &#8211;  &#8220;No Keyframes&#8221;</title>
		<link>http://www.harrynorthover.com/blog/2009/09/05/inspirational-work-no-keyframes/</link>
		<comments>http://www.harrynorthover.com/blog/2009/09/05/inspirational-work-no-keyframes/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 18:44:52 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Motion Graphics/VFX]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Motion Graphics]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=804</guid>
		<description><![CDATA[This piece found its way to me through Twitter, and it&#8217;s simple awesome! The piece is called &#8220;No Keyframes&#8221;, and was created by AixSponza. The software used was Cinema4D R11.5 and MoGraph 2 but apparently there is more infomation on the piece coming soon. Just click on the picture to view the piece.]]></description>
			<content:encoded><![CDATA[<p>This piece found its way to me through <a href="http://www.twitter.com/harrynorthover" target="_blank">Twitter</a>, and it&#8217;s simple awesome! The piece is called &#8220;No Keyframes&#8221;, and was created by AixSponza. The software used was <a href="http://www.maxon.net/products/cinema-4d.html" target="_blank">Cinema4D R11.5</a> and <a href="http://www.mograph.net/" target="_blank">MoGraph 2</a> but apparently there is more infomation on the piece coming soon.</p>
<p>Just click on the picture to view the piece.</p>
<p><a href="http://www.maxon.net/home/quicklinks/aixsponza-no-keyframes.html" target="_blank"><img class="alignleft size-full wp-image-805" title="No Keyframes" src="http://www.harrynorthover.com/blog/wp-content/uploads/2009/09/No-Keyframes.jpg" alt="No Keyframes" width="612" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2009/09/05/inspirational-work-no-keyframes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting Started with Augmented Reality (FLARToolkit).</title>
		<link>http://www.harrynorthover.com/blog/2009/04/15/getting-started-with-augmented-reality-flartoolkit/</link>
		<comments>http://www.harrynorthover.com/blog/2009/04/15/getting-started-with-augmented-reality-flartoolkit/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 22:50:34 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FLARToolkit]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=680</guid>
		<description><![CDATA[If you have been following me on Twitter, then you may have noticed that I have been getting into Augmented Reality. This is the coolest thing I have seen in a long time! Now if you don&#8217;t know what this is, then it is a means of mapping 3D objects to a marker in the [...]]]></description>
			<content:encoded><![CDATA[<p>If you have been following <a href="http://www.twitter.com/harrynorthover" target="_blank">me on Twitter</a>, then you may have <a href="http://twitter.com/harrynorthover/status/1493666316" target="_blank">noticed</a> that I have been <a href="http://twitter.com/harrynorthover/status/1505193808" target="_blank">getting</a> into <a href="http://en.wikipedia.org/wiki/Augmented_reality" target="_blank">Augmented Reality</a>. This is the <strong>coolest</strong> thing I have seen in a long time! Now if you don&#8217;t know what this is, then it is a means of mapping 3D objects to a marker in the real world through a web cam.</p>
<p>Here is a simple guide to getting setup using the Augmented Reality in Flash. This includes downloading the library&#8217;s and then getting a simple demo up and running.</p>
<p>The name of the library used for Augmented Reality in Flash is called <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">FLARToolkit</a> which is developed by Saqoosha. It is a port of the <a href="http://www.hitl.washington.edu/artoolkit/" target="_blank">ARToolkit</a> which is written in C. You can download it from <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en" target="_blank">here</a> through SVN. If you haven&#8217;t got a SVN client setup then I highly recommend <a href="http://www.syntevo.com/smartsvn/index.html" target="_blank">SmartSVN</a> which is a free client and I must thank <a href="http://richardleggett.co.uk/blog/" target="_blank">Richard Leggett</a> for <a href="http://twitter.com/richardleggett/statuses/1489494390" target="_blank">recommending</a> this to me!</p>
<p>Now once you have got the code, add it to your global Actionscript folder, then print out this <a href="http://www.harrynorthover.com/files/flash/ar/assets/Marker.jpg" target="_self" rel="lightbox[680]">marker</a> and run the example. You can either compile the source in the &#8216;src&#8217; folder or just run the SWF in the &#8216;bin-debug&#8217; folder. Hopefully this gives you a idea of what AR/FLARToolkit is all about.</p>
<p>If you can run the example yourself, here is a video of it in action.</p>
<p><object width="612" height="486" data="http://vimeo.com/moogaloop.swf?clip_id=4169730&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=4169730&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/4169730">FLARToolkit / Augmented Reality Basic Demo.</a> from <a href="http://vimeo.com/user1592225">Harry Northover</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>I have also written a base class for a FLARToolkit application. It is designed so that all you have to do is override the function &#8216;<em>add3d()</em>&#8216; to add your 3D objects to &#8216;<em>FLAR_Container</em>&#8221; object, and then override another function, &#8216;<em>addAnimation_3d()</em>&#8216; to add the animation. My description here is very brief so read the <em>readme</em> file in the package. You can download the class <a href="http://harry-northover-code-store.googlecode.com/files/FLARBaseClass.zip" target="_self">here</a>. If you want to see how much code this can reduce then here is an example class using the base class:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> com.harrynorthover.ar.flar.base.FLARSingleMBase;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.filters</span>.<span style="color: #004993;">BlurFilter</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> org.papervision3d.lights.PointLight3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> org.papervision3d.materials.shadematerials.FlatShadeMaterial;
	<span style="color: #0033ff; font-weight: bold;">import</span> org.papervision3d.materials.utils.MaterialsList;
	<span style="color: #0033ff; font-weight: bold;">import</span> org.papervision3d.objects.primitives.Cube;
&nbsp;
	<span style="color: #000000;">&#91;</span>SWF<span style="color: #000000;">&#40;</span><span style="color: #004993;">width</span>=<span style="color: #990000;">&quot;640&quot;</span>, <span style="color: #004993;">height</span>=<span style="color: #990000;">&quot;480&quot;</span>, <span style="color: #004993;">frameRate</span>=<span style="color: #990000;">&quot;30&quot;</span>, <span style="color: #004993;">backgroundColor</span>=<span style="color: #990000;">&quot;#FFFFFF&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Demo_BaseClass_Test extends FLARSingleMBase
	<span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> cube<span style="color: #000000; font-weight: bold;">:</span>Cube;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Demo_BaseClass_Test<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #3f5fbf;">/*This is the function 'Init' you need to call to setup the FLARToolkit scene.
			     WIDTH, HEIGHT, FRAMERATE*/</span>
			Init<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">640</span>,   <span style="color: #000000; font-weight:bold;">480</span>,    <span style="color: #000000; font-weight:bold;">30</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/*
		...
		This function is the one you need to override
		to add things to your 3D scene.
		*/</span>
&nbsp;
		override <span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> add3D<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">// Add you 3D stuff here. The more the better :-)</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> pl<span style="color: #000000; font-weight: bold;">:</span>PointLight3D = <span style="color: #0033ff; font-weight: bold;">new</span> PointLight3D<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			pl.z = <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1000</span>;
			pl.<span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">1000</span>;
			pl.<span style="color: #004993;">x</span> = <span style="color: #000000; font-weight:bold;">1000</span>;
			pl.flipped = <span style="color: #0033ff; font-weight: bold;">true</span>;	
&nbsp;
			<span style="color: #009900;">//var blurFilter:BlurFilter = new BlurFilter(24, 12, 1);</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> matList<span style="color: #000000; font-weight: bold;">:</span>MaterialsList = <span style="color: #0033ff; font-weight: bold;">new</span> MaterialsList<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> fsm<span style="color: #000000; font-weight: bold;">:</span>FlatShadeMaterial = <span style="color: #0033ff; font-weight: bold;">new</span> FlatShadeMaterial<span style="color: #000000;">&#40;</span>pl<span style="color: #000000;">&#41;</span>;
&nbsp;
			matList.addMaterial<span style="color: #000000;">&#40;</span>fsm, <span style="color: #990000;">&quot;all&quot;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
  			cube = <span style="color: #0033ff; font-weight: bold;">new</span> Cube<span style="color: #000000;">&#40;</span>matList, <span style="color: #000000; font-weight:bold;">60</span>, <span style="color: #000000; font-weight:bold;">60</span>, <span style="color: #000000; font-weight:bold;">60</span>, <span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">5</span><span style="color: #000000;">&#41;</span>;
  			<span style="color: #009900;">//cube.useOwnContainer = true;</span>
  			<span style="color: #009900;">//cube.filters = [blurFilter];</span>
&nbsp;
  			<span style="color: #009900;">// FLAR_Container is the FLARBaseNode that you</span>
  			<span style="color: #009900;">// add your 3D objects to.</span>
	        FLAR_Container.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>cube<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/*
		...
		This is the function to which you override to add
		your 3D animation.
		*/</span>
&nbsp;
		override <span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> addAnimation_3d<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">//Add you animation here.</span>
			cube.yaw<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">10</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>See? Lots of code that has been got rid of!</p>
<h3>Other demos I have been working on are here:</h3>
<p><strong>FLAR + Lines3D</strong>:</p>
<p><object width="612" height="459" data="http://vimeo.com/moogaloop.swf?clip_id=4172342&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=4172342&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/4172342">FLARToolkit and Lines3D / Augmented Reality</a> from <a href="http://vimeo.com/user1592225">Harry Northover</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><strong>Incorporating <a href="http://code.google.com/p/as3dmod/" target="_blank">AS3DMod</a>:</strong></p>
<p><object width="612" height="459" data="http://vimeo.com/moogaloop.swf?clip_id=4172923&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=4172923&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/4172923">FLAR + As3DMod</a> from <a href="http://vimeo.com/harrynorthover">Harry Northover</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>So there you go, my first few demos. Yes, I know, they are not very special but now I&#8217;m working on getting mutliple markers working and just more advanced demos in general. If you are looking for more advice on how to get set up with FLAR go over to <a href="http://www.mikkoh.com/blog/?p=182" target="_blank">this blog here</a>. This has everything you need to get going. Also, check out <a href="http://www.squidder.com/tag/flartoolkit/" target="_blank">squidder.com for some cool demos</a>.</p>
<p>Happy ARing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2009/04/15/getting-started-with-augmented-reality-flartoolkit/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Just a student, with a camera and After Effects + 3DS Max.</title>
		<link>http://www.harrynorthover.com/blog/2009/04/09/just-a-student-with-a-camera-and-after-effects-3ds-max/</link>
		<comments>http://www.harrynorthover.com/blog/2009/04/09/just-a-student-with-a-camera-and-after-effects-3ds-max/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 10:39:37 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Motion Graphics/VFX]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Motion Graphics]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=673</guid>
		<description><![CDATA[This video was made by Tim Smit, who is a dutch student. For the video above, he did most of the work by himself. This mean filming the footage in his local village, adding in the special effects using After Effects and 3Ds Max and all with a budget of $150! The video is a [...]]]></description>
			<content:encoded><![CDATA[<p><object width="580" height="360"><param name="movie" value="http://www.youtube.com/v/IU_reTt7Hj4&#038;hl=en&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/IU_reTt7Hj4&#038;hl=en&#038;fs=1&#038;color1=0x2b405b&#038;color2=0x6b8ab6&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="580" height="360"></embed></object></p>
<p>This video was made by Tim Smit, who is a dutch student. For the video above, he did most of the work by himself. This mean filming the footage in his local village, adding in the special effects using After Effects and 3Ds Max and all with a budget of $150! The video is a test movie of his film &#8216;What&#8217;s In The Box&#8217; and the official site can be found <a href="http://www.whatsinthebox.nl/" target="_blank">here</a>.</p>
<p>I&#8217;ve heard that several Hollywood studios have been in contact with him and some are even discussing making his movie!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2009/04/09/just-a-student-with-a-camera-and-after-effects-3ds-max/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>First works of &#8217;09.</title>
		<link>http://www.harrynorthover.com/blog/2009/02/05/first-works-of-09/</link>
		<comments>http://www.harrynorthover.com/blog/2009/02/05/first-works-of-09/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 21:36:45 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[After Effects]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Motion Graphics/VFX]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=562</guid>
		<description><![CDATA[You have proabably noticed that i havent blogged myself for quite a while. The main reason for this is that I have been picking up Cinema4D and After Effects Cs4. I am finally starting to get the hang of the these pieces of software and its brilliant! This post is mainly to show you some [...]]]></description>
			<content:encoded><![CDATA[<p>You have proabably noticed that i havent blogged myself for quite a while. The main reason for this is that I have been picking up Cinema4D and After Effects Cs4. I am finally starting to get the hang of the these pieces of software and its brilliant! This post is mainly to show you some of the work I have done in C4D. I have done 2 different wallpapers.</p>
<p><strong>Desire</strong> / Cinema 4D + Photoshop CS4</p>
<p><a href="http://www.harrynorthover.com/blog/wp-content/uploads/2009/02/desire.jpg" rel="lightbox[562]"><img class="alignnone size-large wp-image-563" title="Desire" src="http://www.harrynorthover.com/blog/wp-content/uploads/2009/02/desire-1024x640.jpg" alt="Desire" width="612" height="382" /></a></p>
<p><strong>Passion</strong> / Cinema 4D + Photoshop CS4</p>
<p><a href="http://www.harrynorthover.com/files/images/Passion.jpg" rel="lightbox[562]"><img class="alignnone" title="Passion" src="http://www.harrynorthover.com/files/images/Passion.jpg" alt="" width="612" height="612" /></a></p>
<p>For After Effects I have been creating little scenes with things like moving water which arent really worth posting here, but here is a screenshot of one of them.</p>
<p><strong>3D Ocean</strong> / After Effects.</p>
<p><img class="alignnone size-full wp-image-567" title="3d-ocean-screenshot" src="http://www.harrynorthover.com/blog/wp-content/uploads/2009/02/3d-ocean-screenshot.jpg" alt="3d-ocean-screenshot" width="611" height="407" /></p>
<p>So there you go, some of the stuff I have been doing to help me learn these tools. I feel that now my art work has really stepped up a pace now, and hopefully you will agree too :D</p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2009/02/05/first-works-of-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PaperMash</title>
		<link>http://www.harrynorthover.com/blog/2009/01/10/535/</link>
		<comments>http://www.harrynorthover.com/blog/2009/01/10/535/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 19:43:46 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=535</guid>
		<description><![CDATA[Here&#8217;s the first little tech demo of &#8217;09 and I think it is a pretty cool one. The first difference is that it is made with Papervision3D instead of my usual engine choice of Away3D. It also uses a relativly new library, AS3DMod, and works with the 4 most popular engines.  Now this library is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.harrynorthover.com/files/flash/papermash/"><img class="alignnone size-full wp-image-559" title="PaperMash" src="http://www.harrynorthover.com/blog/wp-content/uploads/2009/01/preview3.jpg" alt="PaperMash" width="612" height="200" /><br />
</a></p>
<p>Here&#8217;s the first little tech demo of &#8217;09 and I think it is a pretty cool one. The first difference is that it is made with Papervision3D instead of my usual engine choice of Away3D. It also uses a relativly new library, <a href="http://www.everydayflash.com/blog/index.php/2008/09/03/as3dmod/" target="_blank">AS3DMod</a>, and works with the 4 most popular engines.  Now this library is a modifier library which can do some really cool stuff, so go on over and check it out.</p>
<p>Now for the demo. It creates a standard plane, then applys a noise and perlin modifier to it. The last thing is to apply a FlatShadeMaterial to the plane and just animate these properties in the enter frame function.</p>
<p>You can download it <a href="http://harry-northover-code-store.googlecode.com/files/PaperMash.zip">here</a>. To view the demo, click on the picture.</p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2009/01/10/535/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D Jargon Explained (Hopefully)</title>
		<link>http://www.harrynorthover.com/blog/2008/11/02/</link>
		<comments>http://www.harrynorthover.com/blog/2008/11/02/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=262</guid>
		<description><![CDATA[During my time studying 3D I have come accross some rather uguly and complicated terms and have struggled to get my head around them. Now I hopefully have I thought I would start a little jargon buster for all the terms and phrase I come along. So here it is for now: Vector – This [...]]]></description>
			<content:encoded><![CDATA[<p>During my time studying 3D I have come accross some rather uguly and complicated terms and have struggled to get my head around them. Now I hopefully have I thought I would start a little jargon buster for all the terms and phrase I come along. So here it is for now:</p>
<p><strong>Vector</strong> – This is an object that properties consist of a direction, length, sense that is aligned with the direction. To understand sense, take the example of a water pipe. The pipe is going along in one direction but the water (or sense) could be going a completely different way. <a href="http://en.wikipedia.org/wiki/Image:Vector_by_Zureks.svg">http://en.wikipedia.org/wiki/Image:Vector_by_Zureks.svg</a></p>
<p class="MsoNormal"><strong>Vector Space</strong> – This is a collection of objects that may be scaled and added. The objects are called vectors.</p>
<p class="MsoNormal"><strong>Vector3D</strong> – This is the same as a vector, but enables the property of depth to the object. Now, when you are handling an object of type <strong>Vector3D</strong>, you can change its:</p>
<p class="MsoListParagraphCxSpFirst"><span><span>1.<span>       </span></span></span><strong>X</strong> axis</p>
<p class="MsoListParagraphCxSpMiddle"><span><span>2.<span>       </span></span></span><strong>Y</strong> axis</p>
<p class="MsoListParagraphCxSpLast"><span><span>3.<span>       </span></span></span><strong>Z</strong> axis</p>
<p class="MsoNormal">Whereas before, Z axis was not present in <strong>Vector.</strong></p>
<p class="MsoNormal"><strong>Convex Hull</strong> – This is a set of points in a real vector space.</p>
<p class="MsoNormal"><strong>Convex Set – </strong>This is an object where every X and Y position can be joined up by a line without that line leaving the area of the object.</p>
<div>
<table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="288" valign="top">
<p class="MsoNormal" style="text-align: center; "><!--[if gte vml 1]><v:shapetype id="_x0000_t75"    coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"    filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="Picture_x0020_5" o:spid="_x0000_s1028" type="#_x0000_t75"    style='position:absolute;margin-left:0;margin-top:.4pt;width:135pt;height:127.5pt;    z-index:-3;visibility:visible;mso-wrap-style:square;    mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;    mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;    mso-position-horizontal:absolute;mso-position-horizontal-relative:text;    mso-position-vertical:absolute;mso-position-vertical-relative:text'> <v:imagedata src="file:///C:\Users\Harry\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png" mce_src="file:///C:\Users\Harry\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"     o:title="180px-Convex_polygon_illustration1" /> <w:wrap type="square" /> </v:shape><![endif]--><span><img class="size-full wp-image-263 aligncenter" title="A Convext Set" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/11/180px-convex_polygon_illustration1.png" alt="" width="180" height="170" /> </span></p>
<p class="MsoCaption" style="text-align: center; ">Figure <!--[if supportFields]><span   style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span   style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>SEQ Figure \* ARABIC <span style="mso-element:   field-separator" mce_style="mso-element:   field-separator"></span><![endif]--><span>1</span><!--[if supportFields]><span   style="mso-element:field-end" mce_style="mso-element:field-end"></span><![endif]--><span> &#8211; Convex Set as the line joining X and Y does not leave the object.</span></p>
<p class="MsoNormal"> </p>
</td>
<td width="288" valign="top">
<p class="MsoCaption" style="text-align: center; "><!--[if gte vml 1]><v:shape    id="Picture_x0020_6" o:spid="_x0000_s1027" type="#_x0000_t75" style='position:absolute;    margin-left:-.05pt;margin-top:-.35pt;width:135pt;height:127.5pt;z-index:2;    visibility:visible;mso-wrap-style:square;mso-wrap-distance-left:9pt;    mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;    mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;    mso-position-horizontal-relative:text;mso-position-vertical:absolute;    mso-position-vertical-relative:text'> <v:imagedata src="file:///C:\Users\Harry\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png" mce_src="file:///C:\Users\Harry\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"     o:title="180px-Convex_polygon_illustration2" /> <w:wrap type="square" /> </v:shape><![endif]--><span><a href="http://www.harrynorthover.com/blog/wp-content/uploads/2008/11/180px-convex_polygon_illustration2.png" rel="lightbox[262]"><img class="size-full wp-image-264 aligncenter" title="Not a Convex Set" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/11/180px-convex_polygon_illustration2.png" alt="" width="180" height="170" /></a> </span></p>
<p class="MsoCaption" style="text-align: center; ">Figure <!--[if supportFields]><span   style="mso-element:field-begin" mce_style="mso-element:field-begin"></span><span   style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>SEQ Figure \* ARABIC <span style="mso-element:   field-separator" mce_style="mso-element:   field-separator"></span><![endif]--><span>2</span><!--[if supportFields]><span   style="mso-element:field-end" mce_style="mso-element:field-end"></span><![endif]--> &#8211; Not a Convex set as the   line joining X and Y has to leave the object.</p>
<p class="MsoNormal"> </p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">A good example of a <strong>Convex Set</strong> is a cube.</p>
<p class="MsoNormal"><strong>Tuple</strong> – This is a sequence, also known as an ordered list, of values. Names of different capacity tuples:</p>
<p class="MsoNormal"><strong>Coordinate Vector</strong> – In linear algebra, a coordinate vector is the representation of a vector through the form of an ordered list of numbers.</p>
<p class="MsoNormal"><strong>Linear Algebra</strong> – This is the branch of <a title="Mathematics" href="http://en.wikipedia.org/wiki/Mathematics"><span>mathematics</span></a> concerned with the study of <a title="Vector (geometry)" href="http://en.wikipedia.org/wiki/Vector_(geometry)"><span>vectors</span></a>, <a title="Vector space" href="http://en.wikipedia.org/wiki/Vector_space"><span>vector spaces</span></a> (also called linear spaces), <a title="Linear map" href="http://en.wikipedia.org/wiki/Linear_map"><span>linear maps</span></a> (also called linear transformations), and <a title="System of linear equations" href="http://en.wikipedia.org/wiki/System_of_linear_equations"><span>systems of linear equations</span></a>. <span> </span></p>
<p class="MsoNormal"><strong>Vertex</strong> – This refers to a special kind of point. There are <a href="http://en.wikipedia.org/wiki/Vertex">many types</a> but here are some related to Mathematics:</p>
<p class="MsoNormal"><strong>Angle:</strong></p>
<p class="MsoNormal">The vertex of an angle is where to rays begin or meet, or where two line segments join or meet, where two lines cross.</p>
<p class="MsoNormal"><strong>Polytope:</strong></p>
<p class="MsoNormal">A vertex is a corner point of a polygon, polyhedron or other higher dimensional polytope, formed by the intersection of edges, faces, facets.</p>
<p class="MsoNormal"><strong>Plane tiling</strong>:</p>
<p class="MsoNormal">A vertex of a plane tiling or tessellation is a point where three or more tiles meet.</p>
<p class="MsoNormal"><strong>Matrix</strong> – When referred to within Flash, it represents how to map points from one coordinate space to another. Flash 8 and CS3 standard Matrix included changing X and Y, rotation, scaling, and skewing.</p>
<p class="MsoNormal"><a href="http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00002389.html">http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00002389.html</a></p>
<p class="MsoNormal"><strong>Matrix3D</strong> – This is the same as a <strong>matrix</strong> but with the z axis added.</p>
<p class="MsoNormal"><strong>Complex Number </strong>– This is where real numbers are added/subtracted (etc&#8230;) but with an imaginary number (<strong><em>i</em></strong>), whose square root equals -1, is added onto one or many of them.</p>
<p class="MsoNormal"><strong>Quaternion </strong>– <span><span>Quaternion is an extension of a complex number. Instead of just one complex number (<strong><em>i</em></strong>), you have three complex numbers – <strong><em>i</em></strong><em>, <strong>j</strong>, and <strong>k</strong></em>. </span></span><a href="http://www.gamedev.net/reference/articles/article1095.asp">http://www.gamedev.net/reference/articles/article1095.asp</a></p>
<p class="MsoNormal"><strong>Frustum – </strong>This is the part of a solid between two parallel planes cutting the solid. <img class="size-full wp-image-265 alignright" title="A Frustum " src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/11/a4frustr.jpg" alt="" width="300" height="347" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/11/02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Away3D Base Class</title>
		<link>http://www.harrynorthover.com/blog/2008/10/12/away3d-base-class/</link>
		<comments>http://www.harrynorthover.com/blog/2008/10/12/away3d-base-class/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 12:19:13 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Away3D]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=226</guid>
		<description><![CDATA[In my effort to cut down the amount of code I write when using Away3D, I created this. It is a base class for projects using Away3D. What this does is create a series of protected functions that you can override and add in what you need, while the base class created the viewport, scene [...]]]></description>
			<content:encoded><![CDATA[<p>In my effort to cut down the amount of code I write when using Away3D, I created this. It is a base class for projects using Away3D. What this does is create a series of protected functions that you can override and add in what you need, while the base class created the viewport, scene and everything else! This minimizes the amount of code you write in the actual project to a minimal amount!</p>
<p>Here is an example:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.primitives.Sphere;
	<span style="color: #0033ff; font-weight: bold;">import</span> com.harrynorthover.base.AwayBase;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> BaseClass extends AwayBase <span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sphere<span style="color: #000000; font-weight: bold;">:</span>Sphere = <span style="color: #0033ff; font-weight: bold;">new</span> Sphere<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> radius<span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">100</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> BaseClass<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">// Init(camZoom, viewX, viewY);</span>
			Init<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">12</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		override <span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> Init3D<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			sphere.<span style="color: #004993;">x</span> = <span style="color: #000000; font-weight:bold;">0</span>;
			sphere.<span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">0</span>;
			view.scene.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>sphere<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>See how much is has been reduced by? No faffing around with View3D and addChild(view) etc. </p>
<p>You can download the whole thing here: <a href="http://harry-northover-code-store.googlecode.com/files/Away3dBase.zip">http://harry-northover-code-store.googlecode.com/files/Away3dBase.zip</a></p>
<p>Hope it helps!<br />
Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/10/12/away3d-base-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Away3D Skyboxes</title>
		<link>http://www.harrynorthover.com/blog/2008/09/28/away3d-skyboxes/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/28/away3d-skyboxes/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 16:46:33 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Away3D]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=204</guid>
		<description><![CDATA[This is my best demo yet, and it is crucial to my new site. This demo is using the sky box features in Away3D. For those of you that don&#8217;t know what a sky box is, it is a collection of images (usually 6, but in this case 5, I didn&#8217;t have a bottom one), [...]]]></description>
			<content:encoded><![CDATA[<p>This is my best demo yet, and it is crucial to my new site. This demo is using the sky box features in Away3D. For those of you that don&#8217;t know what a sky box is, it is a collection of images (usually 6, but in this case 5, I didn&#8217;t have a bottom one), that are displayed on the inside of a cube, and then the camera is inside the cube looking out at these images. This gives the impression of a sky, and ground and surroundings that are usually behind everything else. Using sky boxes prevents the sky being plain black.</p>
<p>Here is the demo (just click). To explore, click and drag to find your way around.</p>
<p><script type="text/javascript">&lt;br /&gt;
&lt;!--&lt;br /&gt;
function popup(mylink, windowname)&lt;br /&gt;
{&lt;br /&gt;
if (! window.focus)return true;&lt;br /&gt;
var href;&lt;br /&gt;
if (typeof(mylink) == 'string')&lt;br /&gt;
   href=mylink;&lt;br /&gt;
else&lt;br /&gt;
   href=mylink.href;&lt;br /&gt;
window.open(href, windowname, 'width=400,height=200,scrollbars=yes');&lt;br /&gt;
return false;&lt;br /&gt;
}&lt;br /&gt;
//--&gt;&lt;br /&gt;
</script></p>
<p><a onclick="return popup(this, 'notes')" href="http://www.harrynorthover.com/files/flash/Skybox.swf"><img class="alignnone size-full wp-image-205" title="Skybox" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/skybox.jpg" alt="" width="456" height="460" /></a></p>
<p>And here is the code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.cameras.HoverCamera3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.Scene3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.View3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.materials.BitmapMaterial;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.primitives.Skybox;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.core.utils.Cast;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">StageAlign</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">StageScaleMode</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Sprite</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">MouseEvent</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> SkyStuff extends <span style="color: #004993;">Sprite</span> <span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> cam<span style="color: #000000; font-weight: bold;">:</span>HoverCamera3D = <span style="color: #0033ff; font-weight: bold;">new</span> HoverCamera3D<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">zoom</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">2</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> scene<span style="color: #000000; font-weight: bold;">:</span>Scene3D = <span style="color: #0033ff; font-weight: bold;">new</span> Scene3D;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> view<span style="color: #000000; font-weight: bold;">:</span>View3D = <span style="color: #0033ff; font-weight: bold;">new</span> View3D<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> camera<span style="color: #000000; font-weight: bold;">:</span>cam, scene<span style="color: #000000; font-weight: bold;">:</span>scene, <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #009900;">// Skybox stuff.</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky<span style="color: #000000; font-weight: bold;">:</span>Skybox;
		<span style="color: #009900;">// Materials....</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky_front_material<span style="color: #000000; font-weight: bold;">:</span>BitmapMaterial;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky_back_material<span style="color: #000000; font-weight: bold;">:</span>BitmapMaterial;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky_left_material<span style="color: #000000; font-weight: bold;">:</span>BitmapMaterial;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky_right_material<span style="color: #000000; font-weight: bold;">:</span>BitmapMaterial;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky_up_material<span style="color: #000000; font-weight: bold;">:</span>BitmapMaterial;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sky_down_material<span style="color: #000000; font-weight: bold;">:</span>BitmapMaterial;
&nbsp;
		<span style="color: #009900;">// Movement vars.</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> move<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span> = <span style="color: #0033ff; font-weight: bold;">false</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastPanAngle<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastTiltAngle<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastMouseX<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastMouseY<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> SkyStuff<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ADDED_TO_STAGE</span>, Init<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> Init<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			InitStage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			InitEngine<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			InitMaterials<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			InitObjects<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			InitListeners<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> InitStage<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">align</span> = <span style="color: #004993;">StageAlign</span>.<span style="color: #004993;">TOP_LEFT</span>
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">scaleMode</span> = <span style="color: #004993;">StageScaleMode</span>.<span style="color: #004993;">NO_SCALE</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> InitEngine<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			cam.mintiltangle = <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">80</span>;
			cam.maxtiltangle = <span style="color: #000000; font-weight:bold;">20</span>;
			cam.targetpanangle = cam.panangle = <span style="color: #000000; font-weight:bold;">0</span>;
			cam.targettiltangle = cam.tiltangle = <span style="color: #000000; font-weight:bold;">0</span>;
&nbsp;
			<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>view<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> InitObjects<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			sky = <span style="color: #0033ff; font-weight: bold;">new</span> Skybox<span style="color: #000000;">&#40;</span> sky_front_material, sky_left_material, sky_back_material, sky_right_material, sky_up_material, sky_down_material <span style="color: #000000;">&#41;</span>;
			sky.quarterFaces<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			view.scene.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>sky<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> InitMaterials<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			sky_front_material = <span style="color: #0033ff; font-weight: bold;">new</span> BitmapMaterial<span style="color: #000000;">&#40;</span>Cast.bitmap<span style="color: #000000;">&#40;</span>SkyFront<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
			sky_back_material = <span style="color: #0033ff; font-weight: bold;">new</span> BitmapMaterial<span style="color: #000000;">&#40;</span>Cast.bitmap<span style="color: #000000;">&#40;</span>SkyBack<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
			sky_left_material = <span style="color: #0033ff; font-weight: bold;">new</span> BitmapMaterial<span style="color: #000000;">&#40;</span>Cast.bitmap<span style="color: #000000;">&#40;</span>SkyLeft<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
			sky_up_material = <span style="color: #0033ff; font-weight: bold;">new</span> BitmapMaterial<span style="color: #000000;">&#40;</span>Cast.bitmap<span style="color: #000000;">&#40;</span>SkyTop<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
			sky_right_material = <span style="color: #0033ff; font-weight: bold;">new</span> BitmapMaterial<span style="color: #000000;">&#40;</span>Cast.bitmap<span style="color: #000000;">&#40;</span>SkyRight<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> InitListeners<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ENTER_FRAME</span>, EnterFrame<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">MOUSE_DOWN</span>, MouseDown<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">MOUSE_UP</span>, MouseUp<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">RESIZE</span>, Resize<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> EnterFrame<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>move<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				cam.targetpanangle = <span style="color: #000000; font-weight:bold;">0.3</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseX</span> <span style="color: #000000; font-weight: bold;">-</span> lastMouseX<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> lastPanAngle;
				cam.targettiltangle = <span style="color: #000000; font-weight:bold;">0.3</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseY</span> <span style="color: #000000; font-weight: bold;">-</span> lastMouseY<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> lastTiltAngle;
			<span style="color: #000000;">&#125;</span>
			cam.hover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> MouseDown<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			lastPanAngle = cam.panangle;
			lastTiltAngle = cam.tiltangle;
			lastMouseX = <span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseX</span>;
			lastMouseY = <span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseY</span>;
			move = <span style="color: #0033ff; font-weight: bold;">true</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">MOUSE_LEAVE</span>, onStageMouseLeave<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> MouseUp<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			move = <span style="color: #0033ff; font-weight: bold;">false</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">MOUSE_LEAVE</span>, onStageMouseLeave<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> onStageMouseLeave<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			move = <span style="color: #0033ff; font-weight: bold;">false</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">MOUSE_LEAVE</span>, onStageMouseLeave<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> Resize<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			view.<span style="color: #004993;">x</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageWidth</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">3</span>;
			view.<span style="color: #004993;">y</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">3</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Now,I personally think skyboxes are a good piece of knowledge to have, as they provide, in my opinion, an effective and fairly easy way to get a fairly natural looking environment quickly. Once you have a skybox in place, you can concentrate on the more important objects, and not making the surrounding environment look good.</p>
<p>There is also another way of creating sky-boxes and this is using the <a href="http://away3d.com/offlinedocs/Away3DAPIReferenceV2.1.html#Class-Skybox6" target="_blank">Skybox6 class</a>. This differs from the original method as instead of having six separate images, you have all your graphic in one jpg (png, or whatever).</p>
<p>I will also be trying to post versions of the examples in Papervision3d. This gives me a good understanding of how the engines differ, which ones I prefer and how they work.</p>
<p>You can download the whole thing (images as well!) here: <a href="http://harry-northover-code-store.googlecode.com/files/A3DSkyBox.zip" target="_blank">http://harry-northover-code-store.googlecode.com/files/A3DSkyBox.zip</a></p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/28/away3d-skyboxes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Cool Away3D Example.</title>
		<link>http://www.harrynorthover.com/blog/2008/09/27/cool-away3d-example/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/27/cool-away3d-example/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 23:13:01 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Away3D]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=202</guid>
		<description><![CDATA[I just found this example over at Away3d.org and I have to say it is the best one yet! Here&#8217;s the link: http://www.closier.nl/playground/railaway_express.html. This is a new demo/game to show of Away3D 2.2 new features!! Enjoy, and good night. Harry]]></description>
			<content:encoded><![CDATA[<p>I just found this example over at Away3d.org and I have to say it is the best one yet!</p>
<p>Here&#8217;s the link: <a href="http://www.closier.nl/playground/railaway_express.html" target="_blank">http://www.closier.nl/playground/railaway_express.html</a>. This is a new demo/game to show of Away3D 2.2 new features!!</p>
<p>Enjoy, and good night.</p>
<p>Harry</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/27/cool-away3d-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Artistic Flash.</title>
		<link>http://www.harrynorthover.com/blog/2008/09/27/artistic-flash/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/27/artistic-flash/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 16:33:07 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=198</guid>
		<description><![CDATA[I have just spent the last day or so polishing up on my generative art in flash. This basically means creating random motion using TweenLite or/and Away3d. Here are some sceen shots of what I am talking about: (Just click on the images to view them :)) These were made using a combination of TweenLite, [...]]]></description>
			<content:encoded><![CDATA[<p>I have just spent the last day or so polishing up on my generative art in flash. This basically means creating random motion using <a href="http://blog.greensock.com/tweenliteas3/" target="_blank">TweenLite</a> or/and <a href="http://www.away3d.org" target="_blank">Away3d</a>.</p>
<p>Here are some sceen shots of what I am talking about:</p>
<p><a href="http://www.harrynorthover.com/files/flash/RandomSquares.swf" target="_blank"><img class="alignnone size-full wp-image-199" title="Organic animation using TweenLite" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/tweenliteorganic.png" alt="" width="341" height="97" /></a></p>
<p><a href="http://www.harrynorthover.com/files/flash/3DOrganic.swf" target="_blank"><img class="alignnone size-full wp-image-200" title="Organic 3D" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/3dorganic.png" alt="" width="341" height="97" /></a></p>
<p><em>(Just click on the images to view them :))</em></p>
<p>These were made using a combination of TweenLite, Away3D and general brilliance :). The first one actually uses no 3d, and I made the second one to see how easily it would be the get the same (or close to) result, but in 3D space.</p>
<p>Here is the code for the first one, just past it in the first frame.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> gs.TweenFilterLite;
<span style="color: #0033ff; font-weight: bold;">import</span> gs.easing.Expo;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> Blur<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BlurFilter</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BlurFilter</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">100</span>, <span style="color: #000000; font-weight:bold;">100</span>, <span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span>;
<span style="color: #6699cc; font-weight: bold;">var</span> BMBlur<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BlurFilter</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BlurFilter</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">20</span>, <span style="color: #000000; font-weight:bold;">20</span>, <span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> bmd<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">550</span>, <span style="color: #000000; font-weight:bold;">400</span>, <span style="color: #0033ff; font-weight: bold;">true</span>, 0x000000<span style="color: #000000;">&#41;</span>;
<span style="color: #6699cc; font-weight: bold;">var</span> bm<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Bitmap</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Bitmap</span><span style="color: #000000;">&#40;</span>bmd<span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>bm<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> currentSquare<span style="color: #000000; font-weight: bold;">:</span>Box = <span style="color: #0033ff; font-weight: bold;">new</span> Box<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
currentSquare.<span style="color: #004993;">filters</span> = <span style="color: #000000;">&#91;</span>Blur<span style="color: #000000;">&#93;</span>;
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>currentSquare<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> mover_single<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
	TweenFilterLite.to<span style="color: #000000;">&#40;</span>currentSquare, .5,  <span style="color: #000000;">&#123;</span>   <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">550</span>,
						   <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">400</span>,
						   ease<span style="color: #000000; font-weight: bold;">:</span>Expo.easeInOut,
						   <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">100</span><span style="color: #3f5fbf;">/*Math.random() * 1*/</span>,
						   blurFilter<span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000;">&#123;</span><span style="color: #004993;">blurX</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">0</span>,
						   <span style="color: #004993;">blurY</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">50</span><span style="color: #000000;">&#125;</span>,
						   tint<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">*</span>0xFFFFFF <span style="color: #000000;">&#41;</span>,
						   onComplete<span style="color: #000000; font-weight: bold;">:</span>mover_single <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
&nbsp;
mover_single<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ENTER_FRAME</span>, EnterFrame<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> EnterFrame<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
		bmd.<span style="color: #004993;">draw</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000000;">&#41;</span>;
		bmd.<span style="color: #004993;">applyFilter</span><span style="color: #000000;">&#40;</span>bmd, bmd.<span style="color: #004993;">rect</span>, <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Point</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>, BMBlur<span style="color: #000000;">&#41;</span>;
		bmd.<span style="color: #004993;">scroll</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #009900;">//trace(getChildAt(1));</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>And the second:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.Scene3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.View3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.primitives.Cube;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Bitmap</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">BitmapData</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">MovieClip</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.filters</span>.<span style="color: #004993;">BlurFilter</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.geom</span>.<span style="color: #004993;">Point</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> gs.TweenLite;
	<span style="color: #0033ff; font-weight: bold;">import</span> gs.easing.Expo;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Organic extends <span style="color: #004993;">MovieClip</span> <span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> scene<span style="color: #000000; font-weight: bold;">:</span>Scene3D = <span style="color: #0033ff; font-weight: bold;">new</span> Scene3D;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> view<span style="color: #000000; font-weight: bold;">:</span>View3D = <span style="color: #0033ff; font-weight: bold;">new</span> View3D<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> scene<span style="color: #000000; font-weight: bold;">:</span>scene, <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">0</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> square<span style="color: #000000; font-weight: bold;">:</span>Cube;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bmd<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">stageWidth</span>, <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span>, <span style="color: #0033ff; font-weight: bold;">true</span>, 0x000000<span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bm<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Bitmap</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Bitmap</span><span style="color: #000000;">&#40;</span>bmd<span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> BMBlur<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BlurFilter</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BlurFilter</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">10</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> Blur<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BlurFilter</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BlurFilter</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Organic<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ADDED_TO_STAGE</span>, Init<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ENTER_FRAME</span>, EnterFrame<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> Init<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
&nbsp;
			<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>view<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>bm<span style="color: #000000;">&#41;</span>;
&nbsp;
			view.camera.<span style="color: #004993;">zoom</span> = <span style="color: #000000; font-weight:bold;">1.5</span>;
&nbsp;
			square = <span style="color: #0033ff; font-weight: bold;">new</span> Cube<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">height</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">200</span>, <span style="color: #004993;">width</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">200</span>, material<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;red#black&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
			square.<span style="color: #004993;">filters</span> = <span style="color: #000000;">&#91;</span>Blur<span style="color: #000000;">&#93;</span>;
			view.scene.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>square<span style="color: #000000;">&#41;</span>;
&nbsp;
			Mover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>; <span style="color: #009900;">// This animates the box and then renders it/</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> Mover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			TweenLite.to<span style="color: #000000;">&#40;</span>square, .5, <span style="color: #000000;">&#123;</span> <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">5550</span>,
						   <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">5400</span>,
						   z<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">200</span>,
						   ease<span style="color: #000000; font-weight: bold;">:</span>Expo.easeInOut,
						   onComplete<span style="color: #000000; font-weight: bold;">:</span>Mover,
						   <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1</span>,
						   rotationX<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>,
						   rotationY<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>,
						   <span style="color: #004993;">height</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1000</span>,
						   <span style="color: #004993;">width</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1000</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> EnterFrame<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			bmd.<span style="color: #004993;">draw</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000000;">&#41;</span>;
			bmd.<span style="color: #004993;">applyFilter</span><span style="color: #000000;">&#40;</span>bmd, bmd.<span style="color: #004993;">rect</span>, <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Point</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>, BMBlur<span style="color: #000000;">&#41;</span>;
			bmd.<span style="color: #004993;">scroll</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#41;</span>;
&nbsp;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>So there you go. Here are the links to download the whole package:</p>
<ul>
<li>The First one: <a href="http://harry-northover-code-store.googlecode.com/files/Random%20Squares.zip" target="_blank">http://harry-northover-code-store.googlecode.com/files/Random%20Squares.zip</a></li>
<li>The Second one: <a href="http://harry-northover-code-store.googlecode.com/files/3D%20Organic.zip" target="_blank">http://harry-northover-code-store.googlecode.com/files/3D%20Organic.zip</a></li>
</ul>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/27/artistic-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some more Away3D :)</title>
		<link>http://www.harrynorthover.com/blog/2008/09/25/some-more-away3d/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/25/some-more-away3d/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 21:14:29 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Away3D]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=192</guid>
		<description><![CDATA[I have just spent the last hour or so playing with Away3d (again :)), and have just made this among other things. It is a sort of implementation of a particle system, but as I am still fairly rough around the edges with Away3D, its probably not the best. For a start, I am a [...]]]></description>
			<content:encoded><![CDATA[<p>I have just spent the last hour or so playing with Away3d (again :)), and have just made this among other things. It is a sort of implementation of a particle system, but as I am still fairly rough around the edges with Away3D, its probably not the best.</p>
<ol>
<li>For a start, I am a bit confused with the maths side of things. For example getting the most out of the view-ports and how to get the cameras in the right position. So this caused me that problem of all the dots being in the bottom <span style="text-decoration: line-through;">left</span> right corner. :(</li>
<li>When you go close up to the dots, some of them seem stretched.</li>
<li>Any ideas?</li>
</ol>
<p>Here&#8217;s a snap shot:</p>
<p><a href="http://www.harrynorthover.com/files/flash/3DParticle.swf" target="_blank"><img class="alignnone size-full wp-image-193" title="3D Particle" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/3d-particle.png" alt="" width="461" height="488" /></a></p>
<p>And the code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.cameras.HoverCamera3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.Scene3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.View3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.primitives.Sphere;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Sprite</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">MouseEvent</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> ThreeDParticle extends <span style="color: #004993;">Sprite</span> <span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> cam<span style="color: #000000; font-weight: bold;">:</span>HoverCamera3D = <span style="color: #0033ff; font-weight: bold;">new</span> HoverCamera3D;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> scene<span style="color: #000000; font-weight: bold;">:</span>Scene3D = <span style="color: #0033ff; font-weight: bold;">new</span> Scene3D;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> view<span style="color: #000000; font-weight: bold;">:</span>View3D = <span style="color: #0033ff; font-weight: bold;">new</span> View3D<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">550</span>, <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">400</span>, scene<span style="color: #000000; font-weight: bold;">:</span>scene, camera<span style="color: #000000; font-weight: bold;">:</span>cam <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> numOfDots<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = <span style="color: #000000; font-weight:bold;">50</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> sphere<span style="color: #000000; font-weight: bold;">:</span>Sphere;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> cameraSpeed<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = <span style="color: #000000; font-weight:bold;">0.3</span>; <span style="color: #009900;">// Approximately same speed as mouse movement.</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastPanAngle<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastTiltAngle<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastMouseX<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> lastMouseY<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> move<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> ThreeDParticle<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">// This is added so you can include this SWF in another.</span>
			<span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ADDED_TO_STAGE</span>, Init<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> Init<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>view<span style="color: #000000;">&#41;</span>;
&nbsp;
			cam.<span style="color: #004993;">zoom</span> = <span style="color: #000000; font-weight:bold;">1</span>;
			cam.<span style="color: #004993;">x</span> = <span style="color: #000000; font-weight:bold;">0</span>;
			cam.<span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">0</span>;
&nbsp;
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = <span style="color: #000000; font-weight:bold;">0</span>; i <span style="color: #000000; font-weight: bold;">&amp;</span>lt;= numOfDots; i<span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				sphere = <span style="color: #0033ff; font-weight: bold;">new</span> Sphere<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> material<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;black#red&quot;</span>, radius<span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">20</span>, <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1000</span>, <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1000</span>, z<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">100</span>, segmentsH<span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">10</span>, segmentsW<span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">10</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
				view.scene.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>sphere<span style="color: #000000;">&#41;</span>;
			<span style="color: #000000;">&#125;</span>
			<span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ENTER_FRAME</span>, <span style="color: #004993;">enterFrame</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">MOUSE_DOWN</span>, <span style="color: #004993;">mouseDown</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">MOUSE_UP</span>, <span style="color: #004993;">mouseLeave</span><span style="color: #000000;">&#41;</span>;
&nbsp;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">enterFrame</span><span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>move<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				cam.targetpanangle = cameraSpeed <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseX</span> <span style="color: #000000; font-weight: bold;">-</span> lastMouseX<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> lastPanAngle;
				cam.targettiltangle = cameraSpeed <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseY</span> <span style="color: #000000; font-weight: bold;">-</span> lastMouseY<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> lastTiltAngle;
			<span style="color: #000000;">&#125;</span>
&nbsp;
			cam.hover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">mouseDown</span><span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
&nbsp;
			move = <span style="color: #0033ff; font-weight: bold;">true</span>;
			lastPanAngle = cam.targetpanangle;
			lastTiltAngle = cam.targettiltangle;
			lastMouseX = <span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseX</span>;
			lastMouseY = <span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseY</span>;
&nbsp;
			cam.hover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">mouseLeave</span><span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			move = <span style="color: #0033ff; font-weight: bold;">false</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>And here&#8217;s the link to download it all: <a href="http://harry-northover-code-store.googlecode.com/files/3D%20Particle.zip">http://harry-northover-code-store.googlecode.com/files/3D%20Particle.zip</a></p>
<p>Right there you go for tonight!</p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/25/some-more-away3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Harry Northover &#8211; 2008 &#8211; Portfolio Update.</title>
		<link>http://www.harrynorthover.com/blog/2008/09/22/harry-northover-2008-portfolio-update/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/22/harry-northover-2008-portfolio-update/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 17:24:52 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=176</guid>
		<description><![CDATA[I have just been working a my portfolio for the last day or two and have come up with what I think is the final design. You can view it here: http://www.harrynorthover.com/beta/v2 Once you have views it, you may be thinking, where is the 3D? Well, what I am planning to have is a 3D [...]]]></description>
			<content:encoded><![CDATA[<p>I have just been working a my portfolio for the last day or two and have come up with what I think is the final design. You can view it here: http://www.harrynorthover.com/beta/v2</p>
<p>Once you have views it, you may be thinking, where is the 3D? Well, what I am planning to have is a 3D World inside the gray box. This means that you will be able to fly round and explore this 3d world, and along the way be able to view information about me and my projects. I am having a bit of trouble with this at the moment (see more <a href="http://www.gotoandlearnforum.com/viewtopic.php?f=29&amp;t=20479" target="_blank">here</a>).</p>
<p><strong>Other Designs:</strong></p>
<p>Other designs I have come up with, but haven&#8217;t been used will be posted soon. This is because they may inspire you to do something with them? Here is the second most favorite design I came up with:</p>
<div id="attachment_177" class="wp-caption alignnone" style="width: 392px"><a href="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/sceenshot.jpg" rel="lightbox[176]"><img class="size-full wp-image-177" title="An Early Design" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/sceenshot.jpg" alt="An Early Design" width="382" height="116" /></a><p class="wp-caption-text">An Early Design</p></div>
<p>So I hope you like it, and as usual all comments are welcome!</p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/22/harry-northover-2008-portfolio-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with Away3D</title>
		<link>http://www.harrynorthover.com/blog/2008/09/13/playing-with-away3d/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/13/playing-with-away3d/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 19:55:02 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[Away3D]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=153</guid>
		<description><![CDATA[I have just spent a couple of hours last night getting to grips with Away3D. I just created a little demo that creates a few spheres and then adds an ENTER_FRAME event listener and responds to mouse movement. You can download the whole thing here: http://harry-northover-code-store.googlecode.com/files/Away3DBasics.zip Here is a screene: And here&#8217;s the code: 1 [...]]]></description>
			<content:encoded><![CDATA[<p>I have just spent a couple of hours last night getting to grips with Away3D. I just created a little demo that creates a few spheres and then adds an ENTER_FRAME event listener and responds to mouse movement.</p>
<p>You can download the whole thing here: <a href="http://harry-northover-code-store.googlecode.com/files/Away3DBasics.zip" target="_self">http://harry-northover-code-store.googlecode.com/files/Away3DBasics.zip</a></p>
<p>Here is a screene:</p>
<p><a href="http://www.harrynorthover.com/files/flash/Away3DBasics.swf" target="_blank"><img class="alignnone size-full wp-image-157" title="Away3D Basics" src="http://www.harrynorthover.com/blog/wp-content/uploads/2008/09/3d-screen1.jpg" alt="" width="461" height="546" /></a></p>
<p>And here&#8217;s the code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.cameras.HoverCamera3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.containers.View3D;
	<span style="color: #0033ff; font-weight: bold;">import</span> away3d.primitives.Sphere;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">MouseEvent</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Sprite</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> caurina.transitions.Tweener;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Away3DBasics extends <span style="color: #004993;">Sprite</span> <span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> stageHeightCenter<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">2</span> <span style="color: #000000; font-weight: bold;">-</span> <span style="color: #000000; font-weight:bold;">100</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> stageWidthCenter<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageWidth</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">2</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000; font-weight:bold;">100</span>; 
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> cam<span style="color: #000000; font-weight: bold;">:</span>HoverCamera3D = <span style="color: #0033ff; font-weight: bold;">new</span> HoverCamera3D<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">zoom</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">1</span>, <span style="color: #004993;">focus</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">200</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> view<span style="color: #000000; font-weight: bold;">:</span>View3D = <span style="color: #0033ff; font-weight: bold;">new</span> View3D<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span>stageWidthCenter, <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span>stageHeightCenter, camera<span style="color: #000000; font-weight: bold;">:</span>cam <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Away3DBasics<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
&nbsp;
			cam.steps = <span style="color: #000000; font-weight:bold;">16</span>;
&nbsp;
			<span style="color: #009900;">// Add the view to the stage.</span>
			<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>view<span style="color: #000000;">&#41;</span>;
&nbsp;
			<span style="color: #009900;">// Create 20 spheres.</span>
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = <span style="color: #000000; font-weight:bold;">0</span>; i <span style="color: #000000; font-weight: bold;">&amp;</span>lt;= <span style="color: #000000; font-weight:bold;">20</span>; i<span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> sphere<span style="color: #000000; font-weight: bold;">:</span>Sphere = <span style="color: #0033ff; font-weight: bold;">new</span> Sphere<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				sphere.invertFaces<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				sphere.<span style="color: #004993;">x</span> = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1000</span>;
				sphere.<span style="color: #004993;">y</span> = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">1000</span>;
				sphere.z = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">600</span>;
				sphere.rotationX = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>;
				sphere.rotationY = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>;
				view.scene.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>sphere<span style="color: #000000;">&#41;</span>;
			<span style="color: #000000;">&#125;</span>
&nbsp;
			<span style="color: #009900;">// Add Event listeners.</span>
			<span style="color: #0033ff; font-weight: bold;">this</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ENTER_FRAME</span>, onRun<span style="color: #000000;">&#41;</span>;
&nbsp;
			<span style="color: #009900;">// Render the scene...</span>
			cam.hover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #009900;">// This is the code for the ENTER_FRAME event.</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> onRun<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			cam.rotationX = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>;
			cam.rotationY = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>;
			cam.rotationZ = <span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span>;
			cam.<span style="color: #004993;">pan</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">360</span><span style="color: #000000;">&#41;</span>;
			Tweener.addTween<span style="color: #000000;">&#40;</span>cam, <span style="color: #000000;">&#123;</span> <span style="color: #004993;">zoom</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseY</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">4</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000; font-weight:bold;">0.5</span>, <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">0.1</span>, transition<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;easeInOutExpo&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>;
			cam.hover<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			view.<span style="color: #004993;">render</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>There you go! I will be doing a lot more stuff with Away3D so keep an eye out!</p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/13/playing-with-away3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Away3D &#8211; Getting Started</title>
		<link>http://www.harrynorthover.com/blog/2008/09/03/away3d-getting-started/</link>
		<comments>http://www.harrynorthover.com/blog/2008/09/03/away3d-getting-started/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 21:22:51 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[Away3D]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.harrynorthover.com/blog/?p=130</guid>
		<description><![CDATA[I have recently been trying to pick up Away3D. I have to say this engine is absolutly awesome! I have decided to build my portfolio using this, so this will help me get used to using the engine as well as hopefully creating a sweet site! :) During my efforts to find out more info [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently been trying to pick up <a href="http://away3d.com/" target="_blank">Away3D</a>. I have to say this engine is absolutly awesome!</p>
<p>I have decided to build my portfolio using this, so this will help me get used to using the engine as well as hopefully creating a sweet site! :)</p>
<p>During my efforts to find out more info and tutorials about this engine, I have found these links:</p>
<ul>
<li><a href="http://www.flashmagazine.com/tutorials/index/" target="_blank">http://www.flashmagazine.com/tutorials/index/</a> &#8211; This site has a whole host of tutorials and info on Away3D and Flash 3D in general.</li>
<li><a href="http://blog.paranoidferret.com/index.php/2008/03/28/getting-started-with-adobe-flex-and-away3d/" target="_blank">http://blog.paranoidferret.com/index.php/2008/03/28/getting-started-with-adobe-flex-and-away3d/ </a>- Getting Started with Away3D and Adobe Flex.</li>
<li><a href="http://www.thetechlabs.com/3d/setting-up-away3d-with-flex/" target="_blank">http://www.thetechlabs.com/3d/setting-up-away3d-with-flex/</a> &#8211; Setting up and using Away3D in Flex.</li>
<li><a href="http://flashenabledblog.com/2008/09/02/frameworks-away3d-away3d-web-roundup-tutorials-and-examples/" target="_blank">http://flashenabledblog.com/2008/09/02/frameworks-away3d-away3d-web-roundup-tutorials-and-examples/</a> &#8211; This is a haven for info on Away3D tutorials, samples and general info!</li>
<li><a href="http://www.lemlinh.com/flash-tutorial-away3d-pathextrude-cords-ribbons" target="_blank">http://www.lemlinh.com/flash-tutorial-away3d-pathextrude-cords-ribbons</a> &#8211; Away3D Path Extrude &#8211; Cords And Ribbons.</li>
<li><a href="http://blog.arnomanders.nl/index.php/archives/imageviewer3d-final-release/" target="_blank">http://blog.arnomanders.nl/index.php/archives/imageviewer3d-final-release/ </a>- This is a very cool application demonstrating the powers of Away3D.</li>
<li><a href="http://www.closier.nl/playground/greenplanet.html" target="_blank">http://www.closier.nl/playground/greenplanet.html</a> &#8211; This is a very cool example, indeed! Green Planet!!</li>
<li><a href="http://flash-3d.org/en/Create-the-Earth-and-heavens-in-less-than-an-hour-with-Away3D" target="_blank">http://flash-3d.org/en/Create-the-Earth-and-heavens-in-less-than-an-hour-with-Away3D</a> &#8211; This is a great tutorial for Away3D. This could be used for some sort of language selection of area selection or even a contact form. The potential is infinite&#8230; :)</li>
<li><a href="http://www.ultrashock.com/forums/third-party-tools/away3d-93241.html" target="_blank">http://www.ultrashock.com/forums/third-party-tools/away3d-93241.html</a> &#8211; This sheds on Away3D and how it differs from Papervision3D.</li>
<li><a href="http://www.sharingb.com/programming/away3d/focus-on-away3d" target="_blank">http://www.sharingb.com/programming/away3d/focus-on-away3d</a> &#8211; Some very cool examples of Away3D in action.</li>
<li><a href="http://drawlogic.com/2008/04/11/3ds-parser-added-to-papervision-from-away3d/" target="_blank">http://drawlogic.com/2008/04/11/3ds-parser-added-to-papervision-from-away3d/</a> &#8211; 3DS Parser Added to Papervision3D from Away3D.</li>
<li><a href="http://docs.google.com/View?docid=dczs397v_12ftrscdd9" target="_blank">http://docs.google.com/View?docid=dczs397v_12ftrscdd9</a> &#8211; Getting started with Away3D.</li>
<li><a href="http://www.closier.nl/playground/temple.html" target="_blank">http://www.closier.nl/playground/temple.html</a> &#8211; This is a very cool example indeed!</li>
</ul>
<p>So there you go for starters. I hope this helps you guys out!</p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/09/03/away3d-getting-started/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>XSI 7!</title>
		<link>http://www.harrynorthover.com/blog/2008/08/08/xsi-7/</link>
		<comments>http://www.harrynorthover.com/blog/2008/08/08/xsi-7/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 22:09:23 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[3D]]></category>

		<guid isPermaLink="false">http://harrynorthover.co.uk/blog/?p=31</guid>
		<description><![CDATA[Yes, you heard me, and probably quite a lot of other people, that 3D program XSI 7 is out! I have just had an e-mail telling me that XSI 7 is out. Here are some of the new features: Well, the main one is the launch of ICE. This enables you to customize XSI and [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, you heard me, and probably quite a lot of other people, that 3D program XSI 7 is out!</p>
<p>I have just had an e-mail telling me that XSI 7 is out. Here are some of the new features:</p>
<ol>
<li>Well, the main one is the launch of <a href="http://www.softimage.com/products/xsi/" target="_blank">ICE</a>. This enables you to customize XSI and create new tools. You are probably think that you will need to write code, but no code is needed to use ICE. It is completly visual!</li>
<li>There are also many new user interface and workflow enhancement.
<ul>
<li>Zooming with the mouse wheel</li>
<li>Automatic Scaling on Sliders, to name a few&#8230;</li>
</ul>
</li>
<li>GIGACORE II ARCHITECTURE
<ul>
<li>With the development of ICE for XSI 7, the core architecture of XSI went through a major revision. The new core, GigaCore II, has been engineered to provide stable and fast performance for ICE. It is fully multi-threaded and 64-bit, allowing users to scale the performance of XSI efficiently by adding more cores to a system.</li>
</ul>
</li>
</ol>
<p>Those are just the major ones, if you would like to see a complete list, visit here: <a href="http://www.softimage.com/products/xsi/new_features/default.aspx" target="_blank">http://www.softimage.com/products/xsi/new_features/default.aspx</a></p>
<p>XSI is defnitly work checking out! Another thing worth checking out is <a href="http://www.christoph-schinko.com/stophTemp_xsiLaunch.htm" target="_blank">Christoph Schinko&#8217;s video on XSI 7.</a></p>
<p>Harry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harrynorthover.com/blog/2008/08/08/xsi-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.751 seconds -->
