<?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>casual design - design is casual &#187; papervision</title>
	<atom:link href="http://www.designiscasual.com/tag/papervision/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designiscasual.com</link>
	<description>creative studio - experience design, web design, interactive design</description>
	<lastBuildDate>Sun, 22 Jan 2012 06:13:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>January Quick Post</title>
		<link>http://www.designiscasual.com/2009/01/january-quick-post/</link>
		<comments>http://www.designiscasual.com/2009/01/january-quick-post/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 02:36:04 +0000</pubDate>
		<dc:creator>brooks</dc:creator>
				<category><![CDATA[Lead Story]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[papervision]]></category>

		<guid isPermaLink="false">http://www.designiscasual.com/?p=40</guid>
		<description><![CDATA[It is a new year and the first month is over. So far this year I have been headed into interactive space more and more. I made a little headway back into Flash and 3D, using ActionScript 3 and <a href="http://blog.papervision3d.org/" target="_blank">Papervision</a>. I also want to take a minute to check out <a href="http://www.loworks.co.jp" target="_blank">Loworks</a> website. I liked reading the thinking by Haruki Higashi in the winter issue of <a href="http://www.computerarts.co.uk/" target="_blank">Computer Arts Projects</a>. It is a good year for change and continuation.]]></description>
			<content:encoded><![CDATA[<p>It is a new year and the first month is over. So far this year I have been headed into interactive space more and more. I made a little headway back into Flash and 3D, using ActionScript 3 and <a href="http://blog.papervision3d.org/" target="_blank">Papervision</a>. I also want to take a minute to check out <a href="http://www.loworks.co.jp" target="_blank">Loworks</a> website. I liked reading the thinking by Haruki Higashi in the winter issue of <a href="http://www.computerarts.co.uk/" target="_blank">Computer Arts Projects</a>. It is a good year for change and continuation.</p>
<div id="flashcontent">
<p>requires <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&#038;promoid=BIOW">flash player</a></p>
</div>
<p><script type="text/javascript">
		/*<!--*/
		var so = new SWFObject("http://www.designiscasual.com/wp-content/uploads/2009/01/example01.swf", "3d plane", "605", "400", "8", "#333333");
		so.addParam("menu", "false");
		so.addParam("scale", "noscale");
		//so.addParam("wmode", "transparent");
		so.addParam("align", "middle");
    		so.write("flashcontent");
		/*-->*/
	</script></p>
<p>The animation above is from the basic example to test Papervision. The example on Google Code did not work, so here is the code I used (rocketclowns pointed me in the right direction).<br />
<code></p>
<pre class="code">package {

	import flash.display.Sprite;
	import flash.events.Event;

	import org.papervision3d.objects.primitives.Plane;
	import org.papervision3d.materials.ColorMaterial;
	import org.papervision3d.view.BasicView;

	public class ExampleTransformationRotate extends BasicView {

		private var plane:Plane;

		public function ExampleTransformationRotate() {

			super();

			var material:ColorMaterial = new ColorMaterial();
			material.doubleSided = true;
			material.fillColor = 0xFF0000;
			material.fillAlpha = 1.0;

			plane = new Plane(material, 300, 300, 1, 1);

			scene.addChild(plane);

			stage.addEventListener(Event.ENTER_FRAME, render);

		} 

		private function render(event:Event):void {

			plane.rotationX += 4.35;
			plane.rotationY += 6.55;
			plane.rotationZ += 0.55;

			singleRender();

		}

	}

}</pre>
<p></code></p>
<p>Let me know if this helps anybody.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designiscasual.com/2009/01/january-quick-post/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

