<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>David Harris&apos;s Technology Blog - PaperVision</title>
			<link>http://www.harrisfamily.net.nz/devblog/index.cfm</link>
			<description>ColdFusion, Flex and the Universe...</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 06:24:22 -0500</pubDate>
			<lastBuildDate>Wed, 16 Jan 2008 17:56:00 -0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>harrisfamily.net.nz@gmail.com</managingEditor>
			<webMaster>harrisfamily.net.nz@gmail.com</webMaster>
			
			<item>
				<title>Train + Flex2 + PaperVision =</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/16/Train--Flex2--PaperVision-</link>
				<description>
				
				It&apos;s been a while since I have looked at &lt;a&gt;http://blog.papervision3d.org/,PaperVision3D&lt;/a&gt;, so I have been using the train trip home to refresh and learn more.

In my &lt;a&gt;http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/8/PaperVision3D-is-good-for-cubes--a-geek-gift,Geek Gift&lt;/a&gt; entry I wanted to have it so that it was possible to click on a single Cube and spin that one, and not the whole lot.
Due to my approach and &quot;newbe&quot; to PV3D I never worked out how to do this.

In the new PV3D there have been lots of improvements to help people like me do stuff like that.

To show this I have added a hover event to each cube, and when your mouse hovers over a cube, that cube will spin.

If you click on a cube, filter effects are changed a bit, but that happens to all of the cubes

Hope you like it!

&lt;div id=&quot;form_20080116&quot;&gt;My Flex Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	

&lt;script type=&quot;text/javascript&quot;&gt;
var fo_form_20080116 = new SWFObject(&quot;/devblog/examples/CubesCubesCubes_20080116.swf&quot;, &quot;viewer&quot;, &quot;350&quot;, &quot;350&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
fo_form_20080116.write(&quot;form_20080116&quot;);&lt;/script&gt; 
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 16 Jan 2008 17:56:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2008/1/16/Train--Flex2--PaperVision-</guid>
				
			</item>
			
			<item>
				<title>Simple PaperVision3D Blurring example : source code</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/27/Simple-PaperVision3D-Blurring-example--source-code</link>
				<description>
				
				As promised, here is the source code for the simple blurring example:

&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application 
	xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
	backgroundColor=&quot;0x000000&quot;	
	creationCompleteEffect=&quot;Fade&quot;
	creationComplete=&quot;handleCreationComplete()&quot;
	&gt;
	
	&lt;mx:Script&gt;
		&lt;![CDATA[
			import org.papervision3d.objects.Cube;
			
			//Do the imports

			import org.papervision3d.objects.DisplayObject3D;
			import org.papervision3d.cameras.Camera3D;
			import org.papervision3d.scenes.Scene3D;
			import org.papervision3d.objects.Plane;
			import org.papervision3d.materials.BitmapMaterial;
			import org.papervision3d.core.proto.MaterialObject3D;
		
			
			public var scene:Scene3D;
			public var camera:Camera3D;

			public var posX:Number;
			public var posY:Number;

			public function handleCreationComplete():void
			{
				
				camera = new Camera3D( new DisplayObject3D() );//make a camera
				
				camera.zoom = 20;//zoom it
				
				scene	= new Scene3D( sceneTarget );//make my scene 
				
				
				//Add my first cube

				var	c:Cube	= scene.addChild( new Cube(null,15,15,200,2,2,2) ,  &quot;oneCube&quot;) as Cube;					

				//set the container of the cube...

				//because I am using &quot;Scene3D&quot; the container isn&apos;t automatically created

				c.container	= sceneTarget;			
				
				addEventListener( Event.ENTER_FRAME , handleEnterFrame );
				
				
			}
			
			
			public function handleEnterFrame( event:Event ):void
			{
				
				posX	= (mouseX / width) - 0.5;
				posY	= (mouseY / height) - 0.5;
				
				var factor:Number	= 50;
				
				//get the cube

				var c:Cube = scene.getChildByName( &quot;oneCube&quot; ) as Cube;
				
				//blur it

				var blur:BlurFilter	= new BlurFilter();
				
				blur.blurX = Math.abs( factor * posX );
				blur.blurY = Math.abs( factor * posY );
				
				c.container.filters	= [blur];
				
				//spin it...

				c.rotationX += factor * posY;
				c.rotationY += factor * posX;
			
				scene.renderCamera( camera );
			
				
			
			}
			
		]]&gt;
	&lt;/mx:Script&gt;
	
	
	
	
	&lt;mx:Panel 
		width=&quot;100%&quot;
		height=&quot;100%&quot;
		verticalAlign=&quot;middle&quot;
		horizontalAlign=&quot;center&quot;
	&gt;
		&lt;mx:Canvas
			id=&quot;sceneTarget&quot;
		/&gt;
	&lt;/mx:Panel&gt;
	
&lt;/mx:Application&gt;

&lt;/code&gt;

...file attached to for your downloading pleasure...

yes, it is very simple, but I was learning how to work with filters...and nothing else! ;-) 
				</description>
				
				<category>PaperVision</category>				
				
				<pubDate>Sun, 27 May 2007 13:50:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/27/Simple-PaperVision3D-Blurring-example--source-code</guid>
				
				<enclosure url="http://www.harrisfamily.net.nz/devblog/enclosures/SpinningCube.mxml.txt" length="2203" type="text/xml"/>
				
			</item>
			
			<item>
				<title>Simple PaperVision3D Blurring example</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/26/Simple-PaperVision3D-Blurring-example</link>
				<description>
				
				I did this to work out how to do blurring in PaperVision.

It is very simple, but for some reason I spent ages looking at it and spinning it round...

...do you know why?

&apos;ave a look


&lt;div id=&quot;pv3d_070526&quot;&gt;My PaperVision Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	
&lt;script type=&quot;text/javascript&quot;&gt;
	var fo_pv3d_070526 = new SWFObject(&quot;/devblog/enclosures/SpinningStick.swf&quot;, &quot;viewer&quot;, &quot;550&quot;, &quot;550&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
	fo_pv3d_070526.write(&quot;pv3d_070526&quot;);	
&lt;/script&gt;

PS: I&apos;ll tidy up the code and post it soon... *promise!* 
				</description>
				
				<category>PaperVision</category>				
				
				<pubDate>Sat, 26 May 2007 08:45:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/26/Simple-PaperVision3D-Blurring-example</guid>
				
			</item>
			
			<item>
				<title>PaperVision3D is good for cubes! - a &quot;geek&quot; gift</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/8/PaperVision3D-is-good-for-cubes--a-geek-gift</link>
				<description>
				
				At my current work place (&lt;a&gt;http://www.straker.co.nz&lt;/a&gt;) a work mate left, so I decided to &quot;give&quot; her a geek gift, using Flex2 and &lt;a&gt;http://www.papervision3d.org/,PaperVision3D&lt;/a&gt;

I enjoyed doing this, and learnt lots about working with Bitmaps in ActionScript while messing with my work mate&apos;s faces!

enough words... &apos;ave a look!

&lt;div id=&quot;pv3d_070508&quot;&gt;My PaperVision Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	
&lt;script type=&quot;text/javascript&quot;&gt;
	var fo_pv3d_070508= new SWFObject(&quot;/antsgift/Faces.swf&quot;, &quot;viewer&quot;, &quot;650&quot;, &quot;650&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
	fo_pv3d_070508.write(&quot;pv3d_070508&quot;);	
&lt;/script&gt;



PS: All the best Ant! 
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 08 May 2007 08:52:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/5/8/PaperVision3D-is-good-for-cubes--a-geek-gift</guid>
				
			</item>
			
			<item>
				<title>Paper Vision 3D Sphere - Carousels on Steroids!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/20/Paper-Vision-3D-Sphere--Carousels-on-Steriods</link>
				<description>
				
				Check this out.

A bit more fun with a Carousel.

What I have done is added multiple carousels (9 in fact) with different number of pictures and radius settings.

The effect is quite fun!

&apos;ave a look:  [More]
				</description>
				
				<category>PaperVision</category>				
				
				<pubDate>Fri, 20 Apr 2007 22:48:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/20/Paper-Vision-3D-Sphere--Carousels-on-Steriods</guid>
				
			</item>
			
			<item>
				<title>PaperVision Carousel0.3 - one step closer to the master plan!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/19/PaperVision-Carousel03--one-step-closer-to-the-master-plan</link>
				<description>
				
				Ok, I admit it, this is more for fun than anything...

I am working towards a finished idea, but this is a small step towards it...

Hope you like it!  [More]
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Thu, 19 Apr 2007 23:14:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/19/PaperVision-Carousel03--one-step-closer-to-the-master-plan</guid>
				
			</item>
			
			<item>
				<title>Carousel v0.2 - source code</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/6/Carousel-v02--source-code</link>
				<description>
				
				the source code for my Carousel thus far is attached to this entry.

Click on the &quot;download&quot; button at the bottom.

Enjoy!

you can get PaperVision from here: &lt;a&gt;http://wiki.papervision3d.org/index.php?title=Download_from_SVN,PaperVision Wiki&lt;/a&gt;. 
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Fri, 06 Apr 2007 08:38:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/6/Carousel-v02--source-code</guid>
				
				<enclosure url="http://www.harrisfamily.net.nz/devblog/enclosures/carousel0.2.zip" length="21957" type="application/unknown"/>
				
			</item>
			
			<item>
				<title>PaperVision3D/Flex2 Carousel v0.2</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/4/PaperVision3DFlex2-Carousel-v2</link>
				<description>
				
				I&apos;ve been chatting online to someone who knows more 3D than me (which isn&apos;t hard to know more!), and her advice to me was &quot;Maths is your friend&quot;.

This is good advice, and I am attempting to learn about the &quot;z&quot; and radians etc...

...but...

in my previous post I put up a version of a Carousel I am working with and the images in the carousel didn&apos;t face away from the center correctly.  [More]
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 04 Apr 2007 17:27:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/4/PaperVision3DFlex2-Carousel-v2</guid>
				
			</item>
			
			<item>
				<title>Paper Vision, Flex2 and my daughter on a carousel</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/3/Paper-Vision-Flex2-and-my-daughter-on-a-carousel</link>
				<description>
				
				This isn&apos;t perfect, but I&apos;m getting there.

I have a master plan I am working towards, and it involves displaying images in a carousel...

This is where I am at so far:  [More]
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 03 Apr 2007 20:36:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/4/3/Paper-Vision-Flex2-and-my-daughter-on-a-carousel</guid>
				
			</item>
			
			<item>
				<title>PaperVision, Flex2 and my daughter all playing together!</title>
				<link>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/3/28/PaperVision-Flex2-and-my-daughter-all-playing-together</link>
				<description>
				
				In my ever increasing quest for cramming my head with stuff, I have been attempting to learn 3D stuff, using &lt;a&gt;http://blog.papervision3d.org/,PaperVision3D&lt;/a&gt;.

Here is my first example!
Very basic compared with what others are doing, but *I* did this one!

I&apos;ve still got lots to learn, but in the mean time, &apos;ave a look!

&lt;div id=&quot;pv3d_1&quot;&gt;My PaperVision Playing requires Adobe Flash Player 9. &lt;a href=&quot;http://www.macromedia.com/go/getflashplayer/&quot;&gt;Get Adobe Flash.&lt;/a&gt;.&lt;/div&gt;	
&lt;script type=&quot;text/javascript&quot;&gt;
	var fo_pvd_1 = new SWFObject(&quot;/devblog/enclosures/main.swf&quot;, &quot;viewer&quot;, &quot;600&quot;, &quot;600&quot;, &quot;9&quot;, &quot;#ffffff&quot;);	
	fo_pvd_1.write(&quot;pv3d_1&quot;);	
&lt;/script&gt;

Thanks to &lt;a&gt;http://www.blog.xsive.co.nz/,Campbell Anderson&lt;/a&gt; for his help! 
				</description>
				
				<category>PaperVision</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 28 Mar 2007 20:08:00 -0500</pubDate>
				<guid>http://www.harrisfamily.net.nz/devblog/index.cfm/2007/3/28/PaperVision-Flex2-and-my-daughter-all-playing-together</guid>
				
			</item>
			</channel></rss>