<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PaperVision3D one to one pixel representation</title>
	<atom:link href="http://www.rockabit.com/2009/02/24/papervision3d-one-to-one-pixel-representation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rockabit.com/2009/02/24/papervision3d-one-to-one-pixel-representation/</link>
	<description>personal blog and portfolio website</description>
	<lastBuildDate>Fri, 20 Aug 2010 10:29:40 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: joris</title>
		<link>http://www.rockabit.com/2009/02/24/papervision3d-one-to-one-pixel-representation/comment-page-1/#comment-1858</link>
		<dc:creator>joris</dc:creator>
		<pubDate>Wed, 27 May 2009 13:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.rockabit.com/?p=135#comment-1858</guid>
		<description>If you have a cube, set it&#039;s  Z to half it&#039;s depth instead of 0...</description>
		<content:encoded><![CDATA[<p>If you have a cube, set it&#8217;s  Z to half it&#8217;s depth instead of 0&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.rockabit.com/2009/02/24/papervision3d-one-to-one-pixel-representation/comment-page-1/#comment-1848</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 25 Feb 2009 09:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.rockabit.com/?p=135#comment-1848</guid>
		<description>Nice, thanks Dave! :)</description>
		<content:encoded><![CDATA[<p>Nice, thanks Dave! <img src='http://www.rockabit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Lenz</title>
		<link>http://www.rockabit.com/2009/02/24/papervision3d-one-to-one-pixel-representation/comment-page-1/#comment-1847</link>
		<dc:creator>Dave Lenz</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.rockabit.com/?p=135#comment-1847</guid>
		<description>Good stuff...

This is great for when you want to move the camera perfectly in front of a certain object, but for pixel-precise placement of your objects in front of your camera you can use the following code:
3dobj.z = (camera.zoom * camera.focus) - Math.abs(camera.z);

The above code is recommended by the PaperVision-team since version 639 of the 2.0 branch. For earlier revision you need to extract 1 from the camera-zoom. i.e.
3dobj.z = ((camera.zoom - 1) * camera.focus) - Math.abs(camera.z);

Hoppa!</description>
		<content:encoded><![CDATA[<p>Good stuff&#8230;</p>
<p>This is great for when you want to move the camera perfectly in front of a certain object, but for pixel-precise placement of your objects in front of your camera you can use the following code:<br />
3dobj.z = (camera.zoom * camera.focus) &#8211; Math.abs(camera.z);</p>
<p>The above code is recommended by the PaperVision-team since version 639 of the 2.0 branch. For earlier revision you need to extract 1 from the camera-zoom. i.e.<br />
3dobj.z = ((camera.zoom &#8211; 1) * camera.focus) &#8211; Math.abs(camera.z);</p>
<p>Hoppa!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
