<?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>Anna Filina &#187; 3D</title>
	<atom:link href="http://annafilina.com/blog/tag/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://annafilina.com/blog</link>
	<description>I fix stuff</description>
	<lastBuildDate>Thu, 17 May 2012 19:58:42 +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>Simplify camera parameters in pv3d</title>
		<link>http://annafilina.com/blog/camera-param-in-pv3d/</link>
		<comments>http://annafilina.com/blog/camera-param-in-pv3d/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 21:10:38 +0000</pubDate>
		<dc:creator>Anna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[papervision3d]]></category>

		<guid isPermaLink="false">http://annafilina.com/blog/?p=346</guid>
		<description><![CDATA[I&#8217;ve been supplied a 2D sketch of what my 3D world (PaperVision3D) will look like. The hardest part was matching the perspective by carefully positioning the camera. Having no other way than trial and error and a total of 7 different parameters, I quickly went nuts. This is a time consuming task: changing the values,<div><a href="http://annafilina.com/blog/camera-param-in-pv3d/">Read the rest...</a></div><br />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been supplied a 2D sketch of what my 3D world (PaperVision3D) will look like. The hardest part was matching the perspective by carefully positioning the camera. Having no other way than trial and error and a total of 7 different parameters, I quickly went nuts. This is a time consuming task: changing the values, recompiling, testing.</p>
<p>I wrote a tiny utility that allows you to position/rotate/zoom the camera visually, saving hours and possibly days of tweaking.</p>
<h3>How to code it</h3>
<p>Easily. Pass the camera object to the constructor and add the whole thing to your display list:</p>
<pre class="brush:as3">var cameraControl:pv3dCameraControl = new pv3dCameraControl(_camera);
addChild(cameraControl);</pre>
<h3>How to use it</h3>
<p>Click and drag the desired text field and your camera will move, updating text field&#8217;s value. Once satisfied with the result, write down the numbers!</p>
<h3>Also position objects</h3>
<p>A second, similar utility I wrote allows to position objects in the viewport.</p>
<pre class="brush:as3">var objectControl:pv3dObjectControl = new pv3dObjectControl(viewport);
addChild(objectControl);</pre>
<p>Click on an object in the viewport, then drag the desired text field.</p>
<p>Have fun.</p>
<p><a href="http://annafilina.com/blog/wp-content/uploads/2009/09/pv3dcameracontrol.as">pv3dCameraControl.as</a><a href="http://annafilina.com/blog/wp-content/uploads/2009/09/pv3dobjectcontrol.as"><br />
pv3dObjectControl.as</a></p>
]]></content:encoded>
			<wfw:commentRss>http://annafilina.com/blog/camera-param-in-pv3d/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PaperVision3D and JigLib</title>
		<link>http://annafilina.com/blog/papervision3d-and-jiglib/</link>
		<comments>http://annafilina.com/blog/papervision3d-and-jiglib/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 15:21:33 +0000</pubDate>
		<dc:creator>Anna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[papervision3d]]></category>

		<guid isPermaLink="false">http://annafilina.com/blog/?p=344</guid>
		<description><![CDATA[I experiemented with PaperVision3D and JigLib last week. Since JigLib had a plugin specifically designed for PaperVision3D, making the two work together was a breeze. The only thing that really bothered me is the fact that when I applied a force on a body, it rolled instead of gliding smoothly along the surface. I&#8217;m used to<div><a href="http://annafilina.com/blog/papervision3d-and-jiglib/">Read the rest...</a></div><br />]]></description>
			<content:encoded><![CDATA[<p>I experiemented with PaperVision3D and JigLib last week. Since JigLib had a plugin specifically designed for PaperVision3D, making the two work together was a breeze. The only thing that really bothered me is the fact that when I applied a force on a body, it rolled instead of gliding smoothly along the surface. I&#8217;m used to 2D physics engines, so that was unexpected for me.</p>
<p>I found that the documentation for JigLib was pretty limited. There is only an API without any explanation as to what the methods do and a few tutorials. Oh yes, and my physics knowledge is limited, so many terms don&#8217;t mean much to me.</p>
<p>I spent sleepless nights in the source code, trying to figure out what everything does by myself (since nobody answered my e-mails). I stumbled upon a very nice class named &#8220;JConfig&#8221;. This was the jackpot. It had a nice property &#8220;limitAngVelocities&#8221;, which was set to 10. I set it to 0 and voilà! My objects glided nicely along the surface, colliding with each other, maintaining their initial rotation.</p>
<p>I hope that this will save some sleepless nights to others.</p>
]]></content:encoded>
			<wfw:commentRss>http://annafilina.com/blog/papervision3d-and-jiglib/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex 3D and Wiimote</title>
		<link>http://annafilina.com/blog/flex-3d-and-wiimote/</link>
		<comments>http://annafilina.com/blog/flex-3d-and-wiimote/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 16:09:14 +0000</pubDate>
		<dc:creator>Anna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://annafilina.com/blog/?p=209</guid>
		<description><![CDATA[I haven&#8217;t blogged in a while. Too much work to catch after the conference.
I&#8217;m having a lot of fun with 3D in Flex lately. I found this really great open source library papervision3d. It&#8217;s incredibly easy to use. I got the hello world to run in my existing Flex app in under 5 minutes. It&#8217;s<div><a href="http://annafilina.com/blog/flex-3d-and-wiimote/">Read the rest...</a></div><br />]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged in a while. Too much work to catch after the conference.</p>
<p>I&#8217;m having a lot of fun with 3D in Flex lately. I found this really great open source library <a href="http://blog.papervision3d.org/">papervision3d</a>. It&#8217;s incredibly easy to use. I got the hello world to run in my existing Flex app in under 5 minutes. It&#8217;s not using the native Flash 3D so it can be run in Flash Player 9.</p>
<p>After reading their blog, I also found out about the <a href="http://sourcebinder.org/">SourceBinding</a> framework (currently in alpha stage). However, the following video is a must-see for all gadget lovers.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/fVBkQR7MCAU&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/fVBkQR7MCAU&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://annafilina.com/blog/flex-3d-and-wiimote/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

