<?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>Kenneth Weiss &#187; PaperVision3D</title>
	<atom:link href="http://www.chrome-fusion.com/blog/category/websites/papervision3d-websites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrome-fusion.com/blog</link>
	<description>An archive of stuff I’ve done, And do. More technical, some graphical, some musical, Nothing too personal.</description>
	<lastBuildDate>Sat, 01 May 2010 01:18:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PaperVision3D+ ActionScript3==funtime&#8230;</title>
		<link>http://www.chrome-fusion.com/blog/graphics/papervision3d-actionscript3funtime/</link>
		<comments>http://www.chrome-fusion.com/blog/graphics/papervision3d-actionscript3funtime/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 23:13:24 +0000</pubDate>
		<dc:creator>Kenneth</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Actionscript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[PaperVision3D]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Tweener]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.chrome-fusion.com/blog/?p=145</guid>
		<description><![CDATA[It&#8217;s been a while since I had done any decent flash/Actionscript programming. For some reason I had the feeling that nothing was really changing for the last few years. I was so wrong.  I have been in a coma while some talented brains have been plotting and building 3D engines that actually work under (the not [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float: right;" class="alignleft size-full wp-image-171" title="barbieshanghai" src="http://www.chrome-fusion.com/blog/wp-content/uploads/2008/12/barbieshanghai.jpg" alt="barbieshanghai" width="150" height="117" />It&#8217;s been a while since I had done any decent flash/Actionscript programming. For some reason I had the feeling that nothing was really changing for the last few years. I was so wrong.  I have been in a coma while some talented brains have been plotting and building 3D engines that actually work under (the not so optimized) flash player.</p>
<p>So I&#8217;m back at it with a <a href="http://www.papervision3d.org">papervision3d</a> project for <a href="http://www.barbieshanghai.com/index.htm">Barbie Shanghai</a>&#8217;s website.<br />
What seemed simple in the first glance was actually quite challenging. The site was designed with cover flow in mind. The problem with the design is that its a pseudo 3D scene, its not a mathematically accurate perspective. The solution was to create an individual Viewport3D scene for each object in the movie. For the movement on the y axis I am actually tweening the whole viewport of each object on the stage. For performance I only render the Viewport3D for each floor only when its changing in size or animating.</p>
<p>I used the <a href="http://code.google.com/p/tweener/">Tweener</a> package for all the tweens. I needed to tween the ColorMaterial&#8217;s fillColor. So I created a package based on how tweener splits the color hex value. Here is the code for the package: <a href="http://www.chrome-fusion.com/blog/wp-content/uploads/2008/12/papervisioncolormaterialproperty.as">PaperVisionColorMaterialProperty.as </a> &#8211; Papervision3D ColorMaterial property for Tweener. To use it you must call 	<em>PaperVisionColorMaterialProperty.init();</em> somewhere in you code.</p>
<p>If you don&#8217;t know what PaperVision3D is about, check the following links:<br />
<a href="http://papervision3d.org/">Papervision3D</a> - The source.<br />
<a title="ROXIC" href="http://temp.roxik.com/">ROXIC</a>  - Nice &#8220;fake&#8221; 3D, notice that the spares are not real 3D objects.<br />
<a href="http://mrdoob.com/blog/">MR-doob</a> - This guy has really mad experiments going on in his lab.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrome-fusion.com/blog/graphics/papervision3d-actionscript3funtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
