<?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>nathandemick.com &#187; papervision3d</title>
	<atom:link href="http://nathandemick.com/tags/papervision3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://nathandemick.com</link>
	<description></description>
	<lastBuildDate>Fri, 06 Apr 2012 19:58: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>Compiling Papervision3D projects using mxmlc</title>
		<link>http://nathandemick.com/2009/03/compiling-papervision3d-projects-using-mxmlc/</link>
		<comments>http://nathandemick.com/2009/03/compiling-papervision3d-projects-using-mxmlc/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 19:39:49 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[mxmlc]]></category>
		<category><![CDATA[papervision3d]]></category>

		<guid isPermaLink="false">http://www.bitter-gamer.com/?p=238</guid>
		<description><![CDATA[There&#8217;s a new competition going on at TIGsource called the &#8220;Cockpit Compo,&#8221; wherein the design constraint is using a cockpit (or similar HUD). I doubt that I will have time to actually make an entry, but since I&#8217;m using Actionscript/Flash as my language/platform of choice now-a-days, I&#8217;m trying to look into a 3D library for [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a new competition going on at TIGsource called the &#8220;<a href="http://forums.tigsource.com/index.php?topic=4823.0" title="Cockpit Compo">Cockpit Compo</a>,&#8221; wherein the design constraint is using a cockpit (or similar HUD). I doubt that I will have time to actually make an entry, but since I&#8217;m using Actionscript/Flash as my language/platform of choice now-a-days, I&#8217;m trying to look into a 3D library for Actionscript. Papervision3D seems like a favorite, so my next step is to find some tutorials and give &#8216;em a shot. First, though, we have to figure out how to actually compile projects with Papervision.</p>
<p>1. Obtain the (free) Flex SDK, and put it somewhere in your system path. I wrote a post about <a href="http://www.bitter-gamer.com/2009/02/how-to-create-flash-programs-with-actionscript-3-and-the-flex-sdk/" title="setting up your Actionscript development environment">setting up your Actionscript development environment</a>; check it out if you haven&#8217;t done this already.<br />
2. Download the <a href="http://code.google.com/p/papervision3d/" title="Papervision3D compiled library (.swc) or source (.as)">Papervision3D compiled library (.swc) or source (.as)</a>. It doesn&#8217;t really matter which one, as I will explain how to use &#8216;em both.<br />
3a. If you got the .swc, put it in the same directory as your project files and rename it to &#8216;papervision3d.swc&#8217;. When you compile, add the flag <code>-include-libraries papervision3d.swc</code>. That&#8217;s it!<br />
3b. If you got the .as source, extract it and put the &#8216;/org&#8217; directory in the same directory as your project files. Compile as normal, you don&#8217;t need to feed mxmlc any extra flags. </p>
<p>To test out the process, get the &#8220;Simple HelloWorld Example for Papervision3D 2.0&#8243; .zip that&#8217;s on the <a href="http://code.google.com/p/papervision3d/downloads/list" title="Papervision3D downloads page">Papervision3D downloads page</a>. Drop in the .swc or the /org directory (depending on what you downloaded), then compile using the instructions above. I got the .swc, put it in a subdirectory called &#8216;/libs&#8217; within the /src, and compiled with <code>mxmlc Main.as -include-libraries libs/papervision3d.swc</code>. If everything goes the way it should, a .swf will be produced that displays a crazily-textured spinning sphere. </p>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2009/03/compiling-papervision3d-projects-using-mxmlc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

