<?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>Phillip Napieralski</title>
	<atom:link href="http://blog.pnapieralski.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pnapieralski.com</link>
	<description>Programmer, Engineer, Researcher.</description>
	<lastBuildDate>Tue, 20 Dec 2011 16:41:18 +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>Raycast Engine Progress 3</title>
		<link>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/</link>
		<comments>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 16:40:47 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=107</guid>
		<description><![CDATA[Floor casting After I added a quick prototype of floor-casting, it was obvious the technique I&#8217;m familiar with (from the permadi tutorials) would be too slow for the android version. There is definitely a way to speed this up, but I&#8217;ve removed the floor casting for now until I come up with an alternative method [...]]]></description>
			<content:encoded><![CDATA[<h2>Floor casting</h2>
<p>After I added a quick prototype of floor-casting, it was obvious the technique I&#8217;m familiar with (from the permadi tutorials) would be too slow for the android version. There is definitely a way to speed this up, but I&#8217;ve removed the floor casting for now until I come up with an alternative method that is faster.</p>
<h2>Textured Walls</h2>
<p>The big addition though is that I now have the ability to texture walls. Check out the screenshot!<br />
<a href="http://blog.pnapieralski.com/wp-content/uploads/2011/12/progress3.png" rel="shadowbox[sbpost-107];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2011/12/progress3-300x224.png" alt="" title="progress3" width="300" height="224" class="alignnone size-medium wp-image-108" /></a></p>
<h2>Next Steps</h2>
<p>Now, I need to modularize my code. It should be easy for someone to change the map (perhaps load it as a png/bmp) and it should also be easy to change the texture on each of the walls. Once the code is squared away, I plan to add sprite support. Then I&#8217;ll be ready for a Wolfenstein-like game.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+3&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/&amp;notes=Floor%20casting%0D%0AAfter%20I%20added%20a%20quick%20prototype%20of%20floor-casting%2C%20it%20was%20obvious%20the%20technique%20I%27m%20familiar%20with%20%28from%20the%20permadi%20tutorials%29%20would%20be%20too%20slow%20for%20the%20android%20version.%20There%20is%20definitely%20a%20way%20to%20speed%20this%20up%2C%20but%20I%27ve%20removed%20the%20floor%20casting%20for%20now%20until%20I%20come%20up%20with%20an%20alter&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+3&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/&amp;notes=Floor%20casting%0D%0AAfter%20I%20added%20a%20quick%20prototype%20of%20floor-casting%2C%20it%20was%20obvious%20the%20technique%20I%27m%20familiar%20with%20%28from%20the%20permadi%20tutorials%29%20would%20be%20too%20slow%20for%20the%20android%20version.%20There%20is%20definitely%20a%20way%20to%20speed%20this%20up%2C%20but%20I%27ve%20removed%20the%20floor%20casting%20for%20now%20until%20I%20come%20up%20with%20an%20alter&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+3&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/&amp;notes=Floor%20casting%0D%0AAfter%20I%20added%20a%20quick%20prototype%20of%20floor-casting%2C%20it%20was%20obvious%20the%20technique%20I%27m%20familiar%20with%20%28from%20the%20permadi%20tutorials%29%20would%20be%20too%20slow%20for%20the%20android%20version.%20There%20is%20definitely%20a%20way%20to%20speed%20this%20up%2C%20but%20I%27ve%20removed%20the%20floor%20casting%20for%20now%20until%20I%20come%20up%20with%20an%20alter&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+3&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/&amp;notes=Floor%20casting%0D%0AAfter%20I%20added%20a%20quick%20prototype%20of%20floor-casting%2C%20it%20was%20obvious%20the%20technique%20I%27m%20familiar%20with%20%28from%20the%20permadi%20tutorials%29%20would%20be%20too%20slow%20for%20the%20android%20version.%20There%20is%20definitely%20a%20way%20to%20speed%20this%20up%2C%20but%20I%27ve%20removed%20the%20floor%20casting%20for%20now%20until%20I%20come%20up%20with%20an%20alter&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+3&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/&amp;notes=Floor%20casting%0D%0AAfter%20I%20added%20a%20quick%20prototype%20of%20floor-casting%2C%20it%20was%20obvious%20the%20technique%20I%27m%20familiar%20with%20%28from%20the%20permadi%20tutorials%29%20would%20be%20too%20slow%20for%20the%20android%20version.%20There%20is%20definitely%20a%20way%20to%20speed%20this%20up%2C%20but%20I%27ve%20removed%20the%20floor%20casting%20for%20now%20until%20I%20come%20up%20with%20an%20alter&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+3&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/&amp;notes=Floor%20casting%0D%0AAfter%20I%20added%20a%20quick%20prototype%20of%20floor-casting%2C%20it%20was%20obvious%20the%20technique%20I%27m%20familiar%20with%20%28from%20the%20permadi%20tutorials%29%20would%20be%20too%20slow%20for%20the%20android%20version.%20There%20is%20definitely%20a%20way%20to%20speed%20this%20up%2C%20but%20I%27ve%20removed%20the%20floor%20casting%20for%20now%20until%20I%20come%20up%20with%20an%20alter&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raycast Engine Progress 2</title>
		<link>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/</link>
		<comments>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 01:11:05 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=104</guid>
		<description><![CDATA[Switch to LibGDX I really wanted to make my raycast engine compatible with cell phones, but I also wanted to be able to play it on my own machine. Because of this, I decided to switch my raycast engine from QT over to the java based LibGDX. This allows me to run the same project [...]]]></description>
			<content:encoded><![CDATA[<h2>Switch to LibGDX</h2>
<p>I really wanted to make my raycast engine compatible with cell phones, but I also wanted to be able to play it on my own machine. Because of this, I decided to switch my raycast engine from QT over to the java based <a href="http://libgdx.badlogicgames.com/">LibGDX</a>. This allows me to run the same project on my desktop AND my Droid X phone. Seriously, LibGDX is great!</p>
<h2>Progress update</h2>
<p>I find the project to be moving a lot quicker now that I&#8217;m in JAVA and using the easy-to-use LibGDX. Checkout a screenshot of the current state below.<br />
<a href="http://blog.pnapieralski.com/wp-content/uploads/2011/12/raycast2.png" rel="shadowbox[sbpost-104];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2011/12/raycast2-300x222.png" alt="" title="raycast2" width="300" height="222" class="alignnone size-medium wp-image-105" /></a></p>
<p>It features one joystick (on the android version) that allows you to move around a simple room. </p>
<h2>Next steps</h2>
<p>Next, I plan to implement floor and ceiling casting. Tutorial for the algorithm can be found at <a href="http://www.permadi.com/tutorial/raycast/rayc11.html#DRAWING FLOORS">permadi</a>. </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+2&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/&amp;notes=Switch%20to%20LibGDX%0D%0AI%20really%20wanted%20to%20make%20my%20raycast%20engine%20compatible%20with%20cell%20phones%2C%20but%20I%20also%20wanted%20to%20be%20able%20to%20play%20it%20on%20my%20own%20machine.%20Because%20of%20this%2C%20I%20decided%20to%20switch%20my%20raycast%20engine%20from%20QT%20over%20to%20the%20java%20based%20LibGDX.%20This%20allows%20me%20to%20run%20the%20same%20project%20on%20my%20desktop%20AND%20m&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+2&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/&amp;notes=Switch%20to%20LibGDX%0D%0AI%20really%20wanted%20to%20make%20my%20raycast%20engine%20compatible%20with%20cell%20phones%2C%20but%20I%20also%20wanted%20to%20be%20able%20to%20play%20it%20on%20my%20own%20machine.%20Because%20of%20this%2C%20I%20decided%20to%20switch%20my%20raycast%20engine%20from%20QT%20over%20to%20the%20java%20based%20LibGDX.%20This%20allows%20me%20to%20run%20the%20same%20project%20on%20my%20desktop%20AND%20m&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+2&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/&amp;notes=Switch%20to%20LibGDX%0D%0AI%20really%20wanted%20to%20make%20my%20raycast%20engine%20compatible%20with%20cell%20phones%2C%20but%20I%20also%20wanted%20to%20be%20able%20to%20play%20it%20on%20my%20own%20machine.%20Because%20of%20this%2C%20I%20decided%20to%20switch%20my%20raycast%20engine%20from%20QT%20over%20to%20the%20java%20based%20LibGDX.%20This%20allows%20me%20to%20run%20the%20same%20project%20on%20my%20desktop%20AND%20m&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+2&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/&amp;notes=Switch%20to%20LibGDX%0D%0AI%20really%20wanted%20to%20make%20my%20raycast%20engine%20compatible%20with%20cell%20phones%2C%20but%20I%20also%20wanted%20to%20be%20able%20to%20play%20it%20on%20my%20own%20machine.%20Because%20of%20this%2C%20I%20decided%20to%20switch%20my%20raycast%20engine%20from%20QT%20over%20to%20the%20java%20based%20LibGDX.%20This%20allows%20me%20to%20run%20the%20same%20project%20on%20my%20desktop%20AND%20m&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+2&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/&amp;notes=Switch%20to%20LibGDX%0D%0AI%20really%20wanted%20to%20make%20my%20raycast%20engine%20compatible%20with%20cell%20phones%2C%20but%20I%20also%20wanted%20to%20be%20able%20to%20play%20it%20on%20my%20own%20machine.%20Because%20of%20this%2C%20I%20decided%20to%20switch%20my%20raycast%20engine%20from%20QT%20over%20to%20the%20java%20based%20LibGDX.%20This%20allows%20me%20to%20run%20the%20same%20project%20on%20my%20desktop%20AND%20m&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+2&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/&amp;notes=Switch%20to%20LibGDX%0D%0AI%20really%20wanted%20to%20make%20my%20raycast%20engine%20compatible%20with%20cell%20phones%2C%20but%20I%20also%20wanted%20to%20be%20able%20to%20play%20it%20on%20my%20own%20machine.%20Because%20of%20this%2C%20I%20decided%20to%20switch%20my%20raycast%20engine%20from%20QT%20over%20to%20the%20java%20based%20LibGDX.%20This%20allows%20me%20to%20run%20the%20same%20project%20on%20my%20desktop%20AND%20m&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raycast Engine Progress 1</title>
		<link>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/</link>
		<comments>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 05:12:51 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=101</guid>
		<description><![CDATA[I&#8217;ve recently started building a raycasting engine using QT. Here are my (simple) results so far. Implementation I created a View based on QGraphicsView. I then added a scene to this (inherited from QGraphicsScene) which contains 240 rectangles. Each rectangle represents a slice from the raycasting algorithm (one ray = one rectangle). The math was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started building a raycasting engine using QT. Here are my (simple) results so far.</p>

<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/12/screen1.png' rel='shadowbox[sbalbum-101];player=img;' title='screen1'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/12/screen1-150x150.png" class="attachment-thumbnail" alt="screen1" title="screen1" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/12/screen2.png' rel='shadowbox[sbalbum-101];player=img;' title='screen2'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/12/screen2-150x150.png" class="attachment-thumbnail" alt="screen2" title="screen2" /></a>

<h2>Implementation</h2>
<p>I created a View based on QGraphicsView. I then added a scene to this (inherited from QGraphicsScene) which contains 240 rectangles. Each rectangle represents a slice from the raycasting algorithm (one ray = one rectangle).</p>
<p>The math was from a tutorial I found <a href="http://www.permadi.com/tutorial/raycast/rayc1.html#INTRODUCTION" title="tutorial">online</a>. It&#8217;s really a great source to getting started.</p>
<h2>Results so far</h2>
<p>So far, I have a rectangular room that renders a solid color for walls. You are able to rotate using the mouse right now, but there are still some bugs to fix!</p>
<p>Check out the source on <a href="https://github.com/pnapieralski/RaycastEngine" title="github">github</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+1&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/&amp;notes=I%27ve%20recently%20started%20building%20a%20raycasting%20engine%20using%20QT.%20Here%20are%20my%20%28simple%29%20results%20so%20far.%0D%0A%0D%0A%0D%0A%0D%0AImplementation%0D%0AI%20created%20a%20View%20based%20on%20QGraphicsView.%20I%20then%20added%20a%20scene%20to%20this%20%28inherited%20from%20QGraphicsScene%29%20which%20contains%20240%20rectangles.%20Each%20rectangle%20represents%20a%20slice%20from%20the%20ray&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+1&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/&amp;notes=I%27ve%20recently%20started%20building%20a%20raycasting%20engine%20using%20QT.%20Here%20are%20my%20%28simple%29%20results%20so%20far.%0D%0A%0D%0A%0D%0A%0D%0AImplementation%0D%0AI%20created%20a%20View%20based%20on%20QGraphicsView.%20I%20then%20added%20a%20scene%20to%20this%20%28inherited%20from%20QGraphicsScene%29%20which%20contains%20240%20rectangles.%20Each%20rectangle%20represents%20a%20slice%20from%20the%20ray&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+1&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/&amp;notes=I%27ve%20recently%20started%20building%20a%20raycasting%20engine%20using%20QT.%20Here%20are%20my%20%28simple%29%20results%20so%20far.%0D%0A%0D%0A%0D%0A%0D%0AImplementation%0D%0AI%20created%20a%20View%20based%20on%20QGraphicsView.%20I%20then%20added%20a%20scene%20to%20this%20%28inherited%20from%20QGraphicsScene%29%20which%20contains%20240%20rectangles.%20Each%20rectangle%20represents%20a%20slice%20from%20the%20ray&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+1&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/&amp;notes=I%27ve%20recently%20started%20building%20a%20raycasting%20engine%20using%20QT.%20Here%20are%20my%20%28simple%29%20results%20so%20far.%0D%0A%0D%0A%0D%0A%0D%0AImplementation%0D%0AI%20created%20a%20View%20based%20on%20QGraphicsView.%20I%20then%20added%20a%20scene%20to%20this%20%28inherited%20from%20QGraphicsScene%29%20which%20contains%20240%20rectangles.%20Each%20rectangle%20represents%20a%20slice%20from%20the%20ray&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+1&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/&amp;notes=I%27ve%20recently%20started%20building%20a%20raycasting%20engine%20using%20QT.%20Here%20are%20my%20%28simple%29%20results%20so%20far.%0D%0A%0D%0A%0D%0A%0D%0AImplementation%0D%0AI%20created%20a%20View%20based%20on%20QGraphicsView.%20I%20then%20added%20a%20scene%20to%20this%20%28inherited%20from%20QGraphicsScene%29%20which%20contains%20240%20rectangles.%20Each%20rectangle%20represents%20a%20slice%20from%20the%20ray&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Raycast+Engine+Progress+1&amp;link=http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/&amp;notes=I%27ve%20recently%20started%20building%20a%20raycasting%20engine%20using%20QT.%20Here%20are%20my%20%28simple%29%20results%20so%20far.%0D%0A%0D%0A%0D%0A%0D%0AImplementation%0D%0AI%20created%20a%20View%20based%20on%20QGraphicsView.%20I%20then%20added%20a%20scene%20to%20this%20%28inherited%20from%20QGraphicsScene%29%20which%20contains%20240%20rectangles.%20Each%20rectangle%20represents%20a%20slice%20from%20the%20ray&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/uncategorized/raycast-engine-progress-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Successful Ludum Dare Entry</title>
		<link>http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/</link>
		<comments>http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 04:11:38 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=98</guid>
		<description><![CDATA[The Ludum Dare October 2011 challenge was to create a game in a month and make $1. I&#8217;m proud to say, I surpassed that by 60 cents! It&#8217;s barely enough to buy a candy bar, but it&#8217;s interesting how just a buck can motivate you to keep creating. Here is proof that I beat the [...]]]></description>
			<content:encoded><![CDATA[<p>The Ludum Dare October 2011 challenge was to create a game in a month and make $1. I&#8217;m proud to say, I surpassed that by 60 cents! It&#8217;s barely enough to buy a candy bar, but it&#8217;s interesting how just a buck can motivate you to keep creating. Here is proof that I beat the challenge (from Kongregate): <a href="http://blog.pnapieralski.com/wp-content/uploads/2011/11/moneymoneymoneymoney.png" rel="shadowbox[sbpost-98];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2011/11/moneymoneymoneymoney-300x296.png" alt="" title="moneymoneymoneymoney" width="300" height="296" class="alignnone size-medium wp-image-99" /></a></p>
<p>Now I need to figure out a way to make REAL money from developing games.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Successful+Ludum+Dare+Entry&amp;link=http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/&amp;notes=The%20Ludum%20Dare%20October%202011%20challenge%20was%20to%20create%20a%20game%20in%20a%20month%20and%20make%20%241.%20I%27m%20proud%20to%20say%2C%20I%20surpassed%20that%20by%2060%20cents%21%20It%27s%20barely%20enough%20to%20buy%20a%20candy%20bar%2C%20but%20it%27s%20interesting%20how%20just%20a%20buck%20can%20motivate%20you%20to%20keep%20creating.%20Here%20is%20proof%20that%20I%20beat%20the%20challenge%20%28from%20Kongregate%29%3A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Successful+Ludum+Dare+Entry&amp;link=http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/&amp;notes=The%20Ludum%20Dare%20October%202011%20challenge%20was%20to%20create%20a%20game%20in%20a%20month%20and%20make%20%241.%20I%27m%20proud%20to%20say%2C%20I%20surpassed%20that%20by%2060%20cents%21%20It%27s%20barely%20enough%20to%20buy%20a%20candy%20bar%2C%20but%20it%27s%20interesting%20how%20just%20a%20buck%20can%20motivate%20you%20to%20keep%20creating.%20Here%20is%20proof%20that%20I%20beat%20the%20challenge%20%28from%20Kongregate%29%3A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Successful+Ludum+Dare+Entry&amp;link=http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/&amp;notes=The%20Ludum%20Dare%20October%202011%20challenge%20was%20to%20create%20a%20game%20in%20a%20month%20and%20make%20%241.%20I%27m%20proud%20to%20say%2C%20I%20surpassed%20that%20by%2060%20cents%21%20It%27s%20barely%20enough%20to%20buy%20a%20candy%20bar%2C%20but%20it%27s%20interesting%20how%20just%20a%20buck%20can%20motivate%20you%20to%20keep%20creating.%20Here%20is%20proof%20that%20I%20beat%20the%20challenge%20%28from%20Kongregate%29%3A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Successful+Ludum+Dare+Entry&amp;link=http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/&amp;notes=The%20Ludum%20Dare%20October%202011%20challenge%20was%20to%20create%20a%20game%20in%20a%20month%20and%20make%20%241.%20I%27m%20proud%20to%20say%2C%20I%20surpassed%20that%20by%2060%20cents%21%20It%27s%20barely%20enough%20to%20buy%20a%20candy%20bar%2C%20but%20it%27s%20interesting%20how%20just%20a%20buck%20can%20motivate%20you%20to%20keep%20creating.%20Here%20is%20proof%20that%20I%20beat%20the%20challenge%20%28from%20Kongregate%29%3A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Successful+Ludum+Dare+Entry&amp;link=http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/&amp;notes=The%20Ludum%20Dare%20October%202011%20challenge%20was%20to%20create%20a%20game%20in%20a%20month%20and%20make%20%241.%20I%27m%20proud%20to%20say%2C%20I%20surpassed%20that%20by%2060%20cents%21%20It%27s%20barely%20enough%20to%20buy%20a%20candy%20bar%2C%20but%20it%27s%20interesting%20how%20just%20a%20buck%20can%20motivate%20you%20to%20keep%20creating.%20Here%20is%20proof%20that%20I%20beat%20the%20challenge%20%28from%20Kongregate%29%3A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Successful+Ludum+Dare+Entry&amp;link=http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/&amp;notes=The%20Ludum%20Dare%20October%202011%20challenge%20was%20to%20create%20a%20game%20in%20a%20month%20and%20make%20%241.%20I%27m%20proud%20to%20say%2C%20I%20surpassed%20that%20by%2060%20cents%21%20It%27s%20barely%20enough%20to%20buy%20a%20candy%20bar%2C%20but%20it%27s%20interesting%20how%20just%20a%20buck%20can%20motivate%20you%20to%20keep%20creating.%20Here%20is%20proof%20that%20I%20beat%20the%20challenge%20%28from%20Kongregate%29%3A&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/uncategorized/successful-ludum-dare-entry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ideas I Would Like to See Implemented</title>
		<link>http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/</link>
		<comments>http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 03:06:11 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Idea]]></category>
		<category><![CDATA[OpenHMD]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=91</guid>
		<description><![CDATA[Idea 1 &#8211; Open Design for HMDs I work a lot with Virtual Reality equipment in my research. The most common is a Head Mounted Display (HMD). Unfortunately, there is no standard for a HMD. The HMD on my desk only works with Windows XP 32-bit, and only some of the time. Wouldn&#8217;t it be [...]]]></description>
			<content:encoded><![CDATA[<h2>Idea 1 &#8211; Open Design for HMDs</h2>
<p>I work a lot with Virtual Reality equipment in my research. The most common is a Head Mounted Display (HMD). Unfortunately, there is no standard for a HMD. The HMD on my desk only works with Windows XP 32-bit, and only some of the time. Wouldn&#8217;t it be cool if there was some standard that all HMDs could follow so that it could work under Windows 7 and (ideally) Linux?</p>
<p>Something similar to what I&#8217;m thinking of has already been started for connecting 3D depth sensors to skeleton and gesture recognition (see <a href="http://openni.org/">OpenNI</a>. OpenHMD.com is not registered with anyone. I see a great opportunity to start an open-source group. It&#8217;s sort of a niche idea right now, but this could allow the price of HMDs to decrease and make the group even bigger.</p>
<h2>Idea 2 &#8211; Conversational Agent Droid App for Long Drives</h2>
<p>I recently got back from a trip to Washington DC. I drove 9 hours there and 9 hours back straight through. The only thing that kept me awake after the 5 hour mark was a mixture of caffeine and conversation from my girlfriend. However, for people driving long distances without a passenger, they only have the unhealthy options of caffeine/sugar/snacking/loud music and at some point, that mixture can wear off.</p>
<p>Why don&#8217;t we create a simple conversational agent for the droid? The technology could be similar to previous research that my advisor has worked on before (see <a href="http://www.youtube.com/watch?v=CtfNf75RG6k#t=34s" rel="shadowbox[sbpost-91];player=swf;width=640;height=385;">MARVE</a> for a demo). The basic idea is to gather information from the internet (would could be handled, ideally, via 3G automatically) to give the virtual agent up-to-date jokes or movies facts. Then using simple voice recognition, the virtual agent could converse with the driver. One example in the youtube video for MARVE is the knock-knock joke. This could keep the driver engaged and awake.</p>
<h2>Idea 3 &#8211; Windshield Projector</h2>
<p>How cool would it be to use your whole car windshield, as a projection screen? Now you can remove the dash almost completely and have a bigger windshield which can use the lower space for MPH, RPM, and Temperature displays. </p>
<p>There is also rising research to reduce the number of accidents related to texting while driving. Voiceing technology originally conceived by <a href="http://www.juangilbert.com">Dr. Gilbert</a> is one such approach. Their approach is to instead send short voice messages via the phone. Thus, the user could conceivably do everything without straying their eyes from the road.</p>
<p>My idea is to add an HDMI slot in the console of a car that has this projection technology. Now, you can plugin any phone that has a mini-HDMI port (for instance the Droid X) into the console and have a text message project directly on your windshield when you receive it. The one flaw in this: how would you reply to the text message? You would still have to look at your phone.</p>
<h2>Conclusion</h2>
<p>My mind is buzzing with ideas constantly. I&#8217;ll continue to post the ones I don&#8217;t expect to ever implement (although I would in a heartbeat if I had time or funding) in hopes that someone WILL take the idea and go with it. I simply think these products would be very cool and futuristic (and some of them practical :]). Seeing them implemented would be incredibly satisfying.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Ideas+I+Would+Like+to+See+Implemented&amp;link=http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/&amp;notes=Idea%201%20-%20Open%20Design%20for%20HMDs%0D%0AI%20work%20a%20lot%20with%20Virtual%20Reality%20equipment%20in%20my%20research.%20The%20most%20common%20is%20a%20Head%20Mounted%20Display%20%28HMD%29.%20Unfortunately%2C%20there%20is%20no%20standard%20for%20a%20HMD.%20The%20HMD%20on%20my%20desk%20only%20works%20with%20Windows%20XP%2032-bit%2C%20and%20only%20some%20of%20the%20time.%20Wouldn%27t%20it%20be%20cool%20if%20there%20was&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Ideas+I+Would+Like+to+See+Implemented&amp;link=http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/&amp;notes=Idea%201%20-%20Open%20Design%20for%20HMDs%0D%0AI%20work%20a%20lot%20with%20Virtual%20Reality%20equipment%20in%20my%20research.%20The%20most%20common%20is%20a%20Head%20Mounted%20Display%20%28HMD%29.%20Unfortunately%2C%20there%20is%20no%20standard%20for%20a%20HMD.%20The%20HMD%20on%20my%20desk%20only%20works%20with%20Windows%20XP%2032-bit%2C%20and%20only%20some%20of%20the%20time.%20Wouldn%27t%20it%20be%20cool%20if%20there%20was&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Ideas+I+Would+Like+to+See+Implemented&amp;link=http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/&amp;notes=Idea%201%20-%20Open%20Design%20for%20HMDs%0D%0AI%20work%20a%20lot%20with%20Virtual%20Reality%20equipment%20in%20my%20research.%20The%20most%20common%20is%20a%20Head%20Mounted%20Display%20%28HMD%29.%20Unfortunately%2C%20there%20is%20no%20standard%20for%20a%20HMD.%20The%20HMD%20on%20my%20desk%20only%20works%20with%20Windows%20XP%2032-bit%2C%20and%20only%20some%20of%20the%20time.%20Wouldn%27t%20it%20be%20cool%20if%20there%20was&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Ideas+I+Would+Like+to+See+Implemented&amp;link=http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/&amp;notes=Idea%201%20-%20Open%20Design%20for%20HMDs%0D%0AI%20work%20a%20lot%20with%20Virtual%20Reality%20equipment%20in%20my%20research.%20The%20most%20common%20is%20a%20Head%20Mounted%20Display%20%28HMD%29.%20Unfortunately%2C%20there%20is%20no%20standard%20for%20a%20HMD.%20The%20HMD%20on%20my%20desk%20only%20works%20with%20Windows%20XP%2032-bit%2C%20and%20only%20some%20of%20the%20time.%20Wouldn%27t%20it%20be%20cool%20if%20there%20was&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Ideas+I+Would+Like+to+See+Implemented&amp;link=http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/&amp;notes=Idea%201%20-%20Open%20Design%20for%20HMDs%0D%0AI%20work%20a%20lot%20with%20Virtual%20Reality%20equipment%20in%20my%20research.%20The%20most%20common%20is%20a%20Head%20Mounted%20Display%20%28HMD%29.%20Unfortunately%2C%20there%20is%20no%20standard%20for%20a%20HMD.%20The%20HMD%20on%20my%20desk%20only%20works%20with%20Windows%20XP%2032-bit%2C%20and%20only%20some%20of%20the%20time.%20Wouldn%27t%20it%20be%20cool%20if%20there%20was&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Ideas+I+Would+Like+to+See+Implemented&amp;link=http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/&amp;notes=Idea%201%20-%20Open%20Design%20for%20HMDs%0D%0AI%20work%20a%20lot%20with%20Virtual%20Reality%20equipment%20in%20my%20research.%20The%20most%20common%20is%20a%20Head%20Mounted%20Display%20%28HMD%29.%20Unfortunately%2C%20there%20is%20no%20standard%20for%20a%20HMD.%20The%20HMD%20on%20my%20desk%20only%20works%20with%20Windows%20XP%2032-bit%2C%20and%20only%20some%20of%20the%20time.%20Wouldn%27t%20it%20be%20cool%20if%20there%20was&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/idea/ideas-i-would-like-to-see-implemented/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Trip to Washington DC</title>
		<link>http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/</link>
		<comments>http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 18:50:59 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[trip]]></category>
		<category><![CDATA[vacation]]></category>
		<category><![CDATA[washington dc]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=75</guid>
		<description><![CDATA[My girlfriend and I recently embarked on a trip to Washington DC for the first weekend of spring break. We managed to do this for under $300 by staying with her friend, Xiao Yu, too. In fact, our final bill was: $140 gas both ways + $90 food + $10 transportation (subway tickets) + $18 [...]]]></description>
			<content:encoded><![CDATA[<p>My girlfriend and I recently embarked on a trip to Washington DC for the first weekend of spring break. We managed to do this for under $300 by staying with her friend, Xiao Yu, too. In fact, our final bill was:</p>
<p>$140 gas both ways<br />
+ $90 food<br />
+ $10 transportation (subway tickets)<br />
+ $18 iMax movie (Dinosaurs 3D)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
$258 total for 2 people</p>
<h2>Tips and Tricks</h2>
<h3>Parking</h3>
<p>Parking is incredibly expensive in Washington DC if you&#8217;re inexperienced. Many people advised me to park at a subway station that has long-term overnight parking (Shady Grove, Fraconia-springfield or Huntington terminal) and simply subway into the city. Since it was a weekend trip, however, we were able to park in the street for the entire trip. Weekend street parking is free and available in some areas from Friday at 7pm until Monday at 7am. We took advantage of this the whole time.</p>
<p>On Monday, we left early to eat and to check out the statue park and art gallery. We reached the statue park gates at 9:30am (before they opened) and managed to get a front row parking spot (I&#8217;m super proud of that)!</p>
<div id="attachment_76" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.pnapieralski.com/wp-content/uploads/2011/03/Sweet-parking-spot.jpg" rel="shadowbox[sbpost-75];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/Sweet-parking-spot-300x169.jpg" alt="" title="Sweet-parking-spot" width="300" height="169" class="size-medium wp-image-76" /></a><p class="wp-caption-text">My sweet parking spot</p></div>
<h3>Stuff to See</h3>
<p>There is so much free stuff to do in DC. We checked out the Museum of Natural History, the Art Museum, the Statue Park, drove around Mount Vernon and went to the top of the George Washington Monument.</p>
<p>The George Washington Monument was definitely one of the highlights of the trip. If you line up at 7am at the ticket booth near the monument, you can get a timed ticket that allows you access to the top of the monument. On the geeky side, I&#8217;m thinking of using google street view to stitch all the images of the view together to create a really cool panorama experience.</p>
<p><a href="http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument1.jpg" rel="shadowbox[sbpost-75];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument1-300x169.jpg" alt="" title="monument1" width="300" height="169" class="alignnone size-medium wp-image-77" /></a><a href="http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument2.jpg" rel="shadowbox[sbpost-75];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument2-300x169.jpg" alt="" title="monument2" width="300" height="169" class="alignnone size-medium wp-image-78" /></a></p>
<h2>Photos</h2>
<p>There is so much more we can do in DC, so we&#8217;ll be back. Here are some of my favorite photos from the trip.</p>

<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-21_09-57-08_402.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-21_09-57-08_402'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-21_09-57-08_402-150x150.jpg" class="attachment-thumbnail" alt="2011-03-21_09-57-08_402" title="2011-03-21_09-57-08_402" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-21_09-53-13_291.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-21_09-53-13_291'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-21_09-53-13_291-150x150.jpg" class="attachment-thumbnail" alt="2011-03-21_09-53-13_291" title="2011-03-21_09-53-13_291" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-20_14-58-58_458.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-20_14-58-58_458'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-20_14-58-58_458-150x150.jpg" class="attachment-thumbnail" alt="2011-03-20_14-58-58_458" title="2011-03-20_14-58-58_458" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-20_14-31-35_983.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-20_14-31-35_983'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-20_14-31-35_983-150x150.jpg" class="attachment-thumbnail" alt="2011-03-20_14-31-35_983" title="2011-03-20_14-31-35_983" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-20_14-20-52_312.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-20_14-20-52_312'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-20_14-20-52_312-150x150.jpg" class="attachment-thumbnail" alt="2011-03-20_14-20-52_312" title="2011-03-20_14-20-52_312" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_17-24-38_106.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-19_17-24-38_106'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_17-24-38_106-150x150.jpg" class="attachment-thumbnail" alt="2011-03-19_17-24-38_106" title="2011-03-19_17-24-38_106" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_15-37-17_699.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-19_15-37-17_699'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_15-37-17_699-150x150.jpg" class="attachment-thumbnail" alt="2011-03-19_15-37-17_699" title="2011-03-19_15-37-17_699" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_14-48-04_753.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-19_14-48-04_753'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_14-48-04_753-150x150.jpg" class="attachment-thumbnail" alt="2011-03-19_14-48-04_753" title="2011-03-19_14-48-04_753" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_14-16-19_917.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-19_14-16-19_917'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_14-16-19_917-150x150.jpg" class="attachment-thumbnail" alt="2011-03-19_14-16-19_917" title="2011-03-19_14-16-19_917" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_14-16-59_761.jpg' rel='shadowbox[sbalbum-75];player=img;' title='Rui and Statue'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-19_14-16-59_761-150x150.jpg" class="attachment-thumbnail" alt="Rui and Statue" title="Rui and Statue" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument2.jpg' rel='shadowbox[sbalbum-75];player=img;' title='monument2'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument2-150x150.jpg" class="attachment-thumbnail" alt="monument2" title="monument2" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument1.jpg' rel='shadowbox[sbalbum-75];player=img;' title='monument1'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/monument1-150x150.jpg" class="attachment-thumbnail" alt="monument1" title="monument1" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/Sweet-parking-spot.jpg' rel='shadowbox[sbalbum-75];player=img;' title='Sweet-parking-spot'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/Sweet-parking-spot-150x150.jpg" class="attachment-thumbnail" alt="My sweet parking spot" title="Sweet-parking-spot" /></a>
<a href='http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-21_09-59-31_275.jpg' rel='shadowbox[sbalbum-75];player=img;' title='2011-03-21_09-59-31_275'><img width="150" height="150" src="http://blog.pnapieralski.com/wp-content/uploads/2011/03/2011-03-21_09-59-31_275-150x150.jpg" class="attachment-thumbnail" alt="2011-03-21_09-59-31_275" title="2011-03-21_09-59-31_275" /></a>



<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=My+Trip+to+Washington+DC&amp;link=http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/&amp;notes=My%20girlfriend%20and%20I%20recently%20embarked%20on%20a%20trip%20to%20Washington%20DC%20for%20the%20first%20weekend%20of%20spring%20break.%20We%20managed%20to%20do%20this%20for%20under%20%24300%20by%20staying%20with%20her%20friend%2C%20Xiao%20Yu%2C%20too.%20In%20fact%2C%20our%20final%20bill%20was%3A%0D%0A%0D%0A%24140%20gas%20both%20ways%0D%0A%2B%20%2490%20food%0D%0A%2B%20%2410%20transportation%20%28subway%20tickets%29%0D%0A%2B%20%2418%20iMax%20mov&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=My+Trip+to+Washington+DC&amp;link=http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/&amp;notes=My%20girlfriend%20and%20I%20recently%20embarked%20on%20a%20trip%20to%20Washington%20DC%20for%20the%20first%20weekend%20of%20spring%20break.%20We%20managed%20to%20do%20this%20for%20under%20%24300%20by%20staying%20with%20her%20friend%2C%20Xiao%20Yu%2C%20too.%20In%20fact%2C%20our%20final%20bill%20was%3A%0D%0A%0D%0A%24140%20gas%20both%20ways%0D%0A%2B%20%2490%20food%0D%0A%2B%20%2410%20transportation%20%28subway%20tickets%29%0D%0A%2B%20%2418%20iMax%20mov&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=My+Trip+to+Washington+DC&amp;link=http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/&amp;notes=My%20girlfriend%20and%20I%20recently%20embarked%20on%20a%20trip%20to%20Washington%20DC%20for%20the%20first%20weekend%20of%20spring%20break.%20We%20managed%20to%20do%20this%20for%20under%20%24300%20by%20staying%20with%20her%20friend%2C%20Xiao%20Yu%2C%20too.%20In%20fact%2C%20our%20final%20bill%20was%3A%0D%0A%0D%0A%24140%20gas%20both%20ways%0D%0A%2B%20%2490%20food%0D%0A%2B%20%2410%20transportation%20%28subway%20tickets%29%0D%0A%2B%20%2418%20iMax%20mov&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=My+Trip+to+Washington+DC&amp;link=http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/&amp;notes=My%20girlfriend%20and%20I%20recently%20embarked%20on%20a%20trip%20to%20Washington%20DC%20for%20the%20first%20weekend%20of%20spring%20break.%20We%20managed%20to%20do%20this%20for%20under%20%24300%20by%20staying%20with%20her%20friend%2C%20Xiao%20Yu%2C%20too.%20In%20fact%2C%20our%20final%20bill%20was%3A%0D%0A%0D%0A%24140%20gas%20both%20ways%0D%0A%2B%20%2490%20food%0D%0A%2B%20%2410%20transportation%20%28subway%20tickets%29%0D%0A%2B%20%2418%20iMax%20mov&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=My+Trip+to+Washington+DC&amp;link=http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/&amp;notes=My%20girlfriend%20and%20I%20recently%20embarked%20on%20a%20trip%20to%20Washington%20DC%20for%20the%20first%20weekend%20of%20spring%20break.%20We%20managed%20to%20do%20this%20for%20under%20%24300%20by%20staying%20with%20her%20friend%2C%20Xiao%20Yu%2C%20too.%20In%20fact%2C%20our%20final%20bill%20was%3A%0D%0A%0D%0A%24140%20gas%20both%20ways%0D%0A%2B%20%2490%20food%0D%0A%2B%20%2410%20transportation%20%28subway%20tickets%29%0D%0A%2B%20%2418%20iMax%20mov&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=My+Trip+to+Washington+DC&amp;link=http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/&amp;notes=My%20girlfriend%20and%20I%20recently%20embarked%20on%20a%20trip%20to%20Washington%20DC%20for%20the%20first%20weekend%20of%20spring%20break.%20We%20managed%20to%20do%20this%20for%20under%20%24300%20by%20staying%20with%20her%20friend%2C%20Xiao%20Yu%2C%20too.%20In%20fact%2C%20our%20final%20bill%20was%3A%0D%0A%0D%0A%24140%20gas%20both%20ways%0D%0A%2B%20%2490%20food%0D%0A%2B%20%2410%20transportation%20%28subway%20tickets%29%0D%0A%2B%20%2418%20iMax%20mov&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/personal/my-trip-to-washington-dc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some things I want to see in the WebGL world</title>
		<link>http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/</link>
		<comments>http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 06:13:52 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[WebGL]]></category>
		<category><![CDATA[Kinect]]></category>
		<category><![CDATA[Three.js]]></category>
		<category><![CDATA[Virtual Humans]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=73</guid>
		<description><![CDATA[I&#8217;ve been working quite a bit with WebGL for one of my research projects, so here goes: Skeletal Animation I want to see a graphics library built on top of WebGL that supports rigged meshes. For instance, there was a blog post recently about combining the Kinect with WebGL, but there is currently no easy [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working quite a bit with WebGL for one of my research projects, so here goes:</p>
<h2>Skeletal Animation</h2>
<p>I want to see a graphics library built on top of WebGL that supports rigged meshes. For instance, there was a blog post recently about combining the <a href="http://blog.aleksandarrodic.com/?p=4">Kinect with WebGL</a>, but there is currently no easy way to connect that skeletal information to a model for interactivity. In order to see Kinect games, training environments, etc&#8230; a skeletal library would be very useful. </p>
<p>Imagine if you will, logging on to a website called kinectworkoutonline.com. On this site you can select any one of many workout routines, in which a simple WebGL app loads and asks you to perform certain exercises. The kinect can then do some detection to see if you are working out correctly/make it fun. Further, it could be expanded so that other people can see how effectively/how long you worked out.</p>
<p>The target demographic for a site like that would be someone looking to get fit, but needs a little social nudge which you can&#8217;t necessarily get from a regular Kinect workout game (yet). Research is starting to show that society has a big impact on how much we choose to <a href="http://www.chrisharrison.net/projects/pediluma/index.html">workout</a>.</p>
<p>EDIT: Turns out <a href="http://glge.org">glge</a> has had support for skeletal animations for a year!</p>
<h2>Virtual Human Library</h2>
<p>Now, turn this skeletal support into a full blown virtual human (VH) library. Make it simple enough to use (like <a href="http://haptek.com/">haptek</a> was back when it was new). Allow the VH to smile, frown, wink, etc on command and even perform some simple gestures.</p>
<p>Allow this to be displayed on a transparent canvas and give it text-to-speech capabilities and you can have a VH that can give a tour of a website, or a web application easily and effectively (and for blind/sight-challenged people too).</p>
<p>One of the best displays of a virtual human I had when I was little was in the <a href="http://www.youtube.com/watch?v=fgu2gK3oVhs" rel="shadowbox[sbpost-73];player=swf;width=640;height=385;">cut scenes from Return to Castle Wolfenstein</a>. Striving for something like that to begin with would be very cool.</p>
<h2>Discussion</h2>
<p>Now we have a VH library, what else can we do with it? The possibilities grow exponentially. I would start with simple things like a VH webpage tour guide. As a graduate student, I could see a user study being done on that and (probably) getting published. </p>
<p>From a non-researcher standpoint, you could incorporate this library into an online video game (why not recreate Return to Castle Wolfenstein?). </p>
<h2>Optimism</h2>
<p>I&#8217;m certainly not an expert at WebGL. But, I&#8217;m going to make a valiant effort to start adding VH support to three.js (Maybe I can build off some code that was <a href="https://github.com/mrdoob/three.js/issues/labels/Feature?authenticity_token=6adb0745ea02e1478741fa401c96270bc5aa72c1#issue/130">already started for it</a>?). </p>
<p>I will stop there. If you have some other ideas on how a VH library addition could benefit WebGL, feel free to comment!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Some+things+I+want+to+see+in+the+WebGL+world&amp;link=http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/&amp;notes=I%27ve%20been%20working%20quite%20a%20bit%20with%20WebGL%20for%20one%20of%20my%20research%20projects%2C%20so%20here%20goes%3A%0D%0A%0D%0ASkeletal%20Animation%0D%0AI%20want%20to%20see%20a%20graphics%20library%20built%20on%20top%20of%20WebGL%20that%20supports%20rigged%20meshes.%20For%20instance%2C%20there%20was%20a%20blog%20post%20recently%20about%20combining%20the%20Kinect%20with%20WebGL%2C%20but%20there%20is%20currentl&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Some+things+I+want+to+see+in+the+WebGL+world&amp;link=http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/&amp;notes=I%27ve%20been%20working%20quite%20a%20bit%20with%20WebGL%20for%20one%20of%20my%20research%20projects%2C%20so%20here%20goes%3A%0D%0A%0D%0ASkeletal%20Animation%0D%0AI%20want%20to%20see%20a%20graphics%20library%20built%20on%20top%20of%20WebGL%20that%20supports%20rigged%20meshes.%20For%20instance%2C%20there%20was%20a%20blog%20post%20recently%20about%20combining%20the%20Kinect%20with%20WebGL%2C%20but%20there%20is%20currentl&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Some+things+I+want+to+see+in+the+WebGL+world&amp;link=http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/&amp;notes=I%27ve%20been%20working%20quite%20a%20bit%20with%20WebGL%20for%20one%20of%20my%20research%20projects%2C%20so%20here%20goes%3A%0D%0A%0D%0ASkeletal%20Animation%0D%0AI%20want%20to%20see%20a%20graphics%20library%20built%20on%20top%20of%20WebGL%20that%20supports%20rigged%20meshes.%20For%20instance%2C%20there%20was%20a%20blog%20post%20recently%20about%20combining%20the%20Kinect%20with%20WebGL%2C%20but%20there%20is%20currentl&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Some+things+I+want+to+see+in+the+WebGL+world&amp;link=http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/&amp;notes=I%27ve%20been%20working%20quite%20a%20bit%20with%20WebGL%20for%20one%20of%20my%20research%20projects%2C%20so%20here%20goes%3A%0D%0A%0D%0ASkeletal%20Animation%0D%0AI%20want%20to%20see%20a%20graphics%20library%20built%20on%20top%20of%20WebGL%20that%20supports%20rigged%20meshes.%20For%20instance%2C%20there%20was%20a%20blog%20post%20recently%20about%20combining%20the%20Kinect%20with%20WebGL%2C%20but%20there%20is%20currentl&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Some+things+I+want+to+see+in+the+WebGL+world&amp;link=http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/&amp;notes=I%27ve%20been%20working%20quite%20a%20bit%20with%20WebGL%20for%20one%20of%20my%20research%20projects%2C%20so%20here%20goes%3A%0D%0A%0D%0ASkeletal%20Animation%0D%0AI%20want%20to%20see%20a%20graphics%20library%20built%20on%20top%20of%20WebGL%20that%20supports%20rigged%20meshes.%20For%20instance%2C%20there%20was%20a%20blog%20post%20recently%20about%20combining%20the%20Kinect%20with%20WebGL%2C%20but%20there%20is%20currentl&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Some+things+I+want+to+see+in+the+WebGL+world&amp;link=http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/&amp;notes=I%27ve%20been%20working%20quite%20a%20bit%20with%20WebGL%20for%20one%20of%20my%20research%20projects%2C%20so%20here%20goes%3A%0D%0A%0D%0ASkeletal%20Animation%0D%0AI%20want%20to%20see%20a%20graphics%20library%20built%20on%20top%20of%20WebGL%20that%20supports%20rigged%20meshes.%20For%20instance%2C%20there%20was%20a%20blog%20post%20recently%20about%20combining%20the%20Kinect%20with%20WebGL%2C%20but%20there%20is%20currentl&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/webgl/some-things-i-want-to-see-in-the-webgl-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to run Haptek Player on Multi-core Systems</title>
		<link>http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/</link>
		<comments>http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 01:51:08 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Haptek]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=72</guid>
		<description><![CDATA[If you're having problems running Haptek Player, or it's running super slow, on Windows Vista or Windows 7, it's probably because you have a multi-core system. The fix is to make Haptek run on just 1 core.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re having problems running Haptek Player, or it&#8217;s running super slow, on Windows Vista or Windows 7, it&#8217;s probably because you have a multi-core system. The fix is to make Haptek run on just 1 core.</p>
<p>1. If Haptek Player is already running, press CTRL+Shift+ESC to bring up the Task Manager.<br />
2. Find HapAXPlayer.exe (or iexplore.exe if running in a web browser) in the processes tab<br />
3. Right-click the program and go to Set Affinity&#8230;<br />
4. Uncheck all the CPUs except 1 of them<br />
5. Enjoy Haptek running at normal speed!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+run+Haptek+Player+on+Multi-core+Systems&amp;link=http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/&amp;notes=If%20you%27re%20having%20problems%20running%20Haptek%20Player%2C%20or%20it%27s%20running%20super%20slow%2C%20on%20Windows%20Vista%20or%20Windows%207%2C%20it%27s%20probably%20because%20you%20have%20a%20multi-core%20system.%20The%20fix%20is%20to%20make%20Haptek%20run%20on%20just%201%20core.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+run+Haptek+Player+on+Multi-core+Systems&amp;link=http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/&amp;notes=If%20you%27re%20having%20problems%20running%20Haptek%20Player%2C%20or%20it%27s%20running%20super%20slow%2C%20on%20Windows%20Vista%20or%20Windows%207%2C%20it%27s%20probably%20because%20you%20have%20a%20multi-core%20system.%20The%20fix%20is%20to%20make%20Haptek%20run%20on%20just%201%20core.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+run+Haptek+Player+on+Multi-core+Systems&amp;link=http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/&amp;notes=If%20you%27re%20having%20problems%20running%20Haptek%20Player%2C%20or%20it%27s%20running%20super%20slow%2C%20on%20Windows%20Vista%20or%20Windows%207%2C%20it%27s%20probably%20because%20you%20have%20a%20multi-core%20system.%20The%20fix%20is%20to%20make%20Haptek%20run%20on%20just%201%20core.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+run+Haptek+Player+on+Multi-core+Systems&amp;link=http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/&amp;notes=If%20you%27re%20having%20problems%20running%20Haptek%20Player%2C%20or%20it%27s%20running%20super%20slow%2C%20on%20Windows%20Vista%20or%20Windows%207%2C%20it%27s%20probably%20because%20you%20have%20a%20multi-core%20system.%20The%20fix%20is%20to%20make%20Haptek%20run%20on%20just%201%20core.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+run+Haptek+Player+on+Multi-core+Systems&amp;link=http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/&amp;notes=If%20you%27re%20having%20problems%20running%20Haptek%20Player%2C%20or%20it%27s%20running%20super%20slow%2C%20on%20Windows%20Vista%20or%20Windows%207%2C%20it%27s%20probably%20because%20you%20have%20a%20multi-core%20system.%20The%20fix%20is%20to%20make%20Haptek%20run%20on%20just%201%20core.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+run+Haptek+Player+on+Multi-core+Systems&amp;link=http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/&amp;notes=If%20you%27re%20having%20problems%20running%20Haptek%20Player%2C%20or%20it%27s%20running%20super%20slow%2C%20on%20Windows%20Vista%20or%20Windows%207%2C%20it%27s%20probably%20because%20you%20have%20a%20multi-core%20system.%20The%20fix%20is%20to%20make%20Haptek%20run%20on%20just%201%20core.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/research/how-to-run-haptek-player-on-multi-core-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Compile/Install osgAudio for Windows</title>
		<link>http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/</link>
		<comments>http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 21:14:03 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[osg]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=65</guid>
		<description><![CDATA[Did osgAudio's webpage leave you confused? This post is for you.]]></description>
			<content:encoded><![CDATA[<p>I decided to make this post out of necessity. OsgAudio is not well-documented at this point. I probably invested a solid 5 hours trying to get it working correctly.</p>
<h2>Pre-requisites</h2>
<p>You should already have the following:</p>
<ul>
<li>Microsoft Visual Studio (any recent version)</li>
<li>OpenSceneGraph (and, at least, the ability to compile/run any OpenSceneGraph example)</li>
</ul>
<h2>Handling Dependencies</h2>
<p>OsgAudio&#8217;s <a href="http://code.google.com/p/osgaudio/wiki/Installation">wiki</a> mentions there are the following dependencies:</p>
<ul>
<li>OggVorbis</li>
<li>OpenAL</li>
<li>FreeALUT</li>
</ul>
<p>Let&#8217;s handle Ogg and Vorbis first:</p>
<ol>
<li>Create a folder to store all the dependency&#8217;s source code (I called it &#8216;source&#8217;)</li>
<li>Create another folder to store all the compiled source, which will be in the form of an SDK (I called it &#8216;bin&#8217;)</li>
<li>Navigate to <a href="http://www.vorbis.com/">OggVorbis</a> and download <a href="http://xiph.org/downloads/">libogg-x.x.xx.zip</a> and <a href="http://xiph.org/downloads/">libvorbis-x.x.xx.zip</a> (found in the developer section).r</li>
<li>Extract both zip files to your &#8216;source&#8217; folder.</li>
<li>Enter your libogg-x.x.xx directory and go into the &#8216;win32&#8242; directory.</li>
<li>Go inside the directory corresponding to your version of Microsoft Visual Studio</li>
<li>Open libogg_dynamic.sln</li>
<li>Build the solution</li>
<li>Inside the ./libogg-x.x.xx/win32/VSxxx/ directory, there should now be a win32/release directory (if not, make sure to build the release version of the code)</li>
<li>Inside your &#8216;bin&#8217; directory, create a folder called libogg. Inside this folder, create a &#8216;lib&#8217; and an &#8216;include&#8217; directory</li>
<li>Copy the libogg.lib and libogg.dll files from the win32/release directory into your new &#8216;bin/libogg/lib&#8217; directory</li>
<li>Copy the &#8216;include&#8217; folder from the libogg source folder and paste it to your newly created &#8216;bin/libogg&#8217; directory</li>
</ol>
<p>You can now build items that rely on the Ogg libraries. For example, let&#8217;s now build Vorbis:</p>
<ol>
<li>Similarly, navigate to your libvorbis-x.x.x folder and go in the win32/<your MSVC++ version> folder.</li>
<li>Open the dynamic solution and build the release version of libvorbis.</li>
</ol>
<p>At this point, you WILL receive an error that &#8216;libogg.lib&#8217; cannot be found. To fix this, do the following:</p>
<ol>
<li>Open up the solution file (libvorbis_dynamic.sln)</li>
<li>In the top menu bar, navigate to &#8216;Tools->Options&#8217;</li>
<li>On the left of the options window, navigate to &#8216;Projects and Solutions->VC++ Directories&#8217;</li>
<li>On the right side, under &#8216;Show directories for:&#8217; select &#8216;Library files&#8217;</li>
<li>Create a new entry by selecting an empty spot in the white textbox area. Type-in/browse to the &#8216;lib&#8217; directory you created for libogg.</li>
<li>Now the same for &#8216;Include files&#8217;. Except type-in/browse to the include directory you copy/pasted for libogg.</li>
</ol>
<p>After compiling libvorbis, create a folder in your &#8216;bin&#8217; directory called &#8216;lib&#8217; and copy libvorbis.dll, libvorbisfile.dll, libvorbis.lib and libvorbisfile.lib from the Win32/Release folder to the lib directory you created. As with libogg, copy the include folder to your bin/libvorbis directory.</p>
<p>GOOD! Now OggVorbis should be good to go. Let&#8217;s handle OpenAL and freeALUT.</p>
<ol>
<li>Navigate to OpenAL&#8217;s <a href="http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx">download page</a></li>
<li>Install OpenAL (use OpenALInstaller) and it&#8217;s SDK (use OpenAL11CoreSDK).</li>
<li>The OpenAL SDK will default to your &#8216;Program Files&#8217; folder, keep this in mind for later use</li>
<li>Back on the downloads page, click ALUT.</li>
<li>Download freealut-x.x.x-bin and extract it to the &#8216;bin&#8217; folder you created</li>
</ol>
<p>At this point, you should have 4 different directories in the dependency &#8216;bin&#8217; folder that you created. If not, shoot me a comment and I might be able to help.</p>
<p>Finally, let&#8217;s build osgAudio.</p>
<h2>Building osgAudio</h2>
<ol>
<li>Navigate to osgAudio&#8217;s <a href="http://code.google.com/p/osgaudio/downloads/list">download page</a> and download osgAudio_xx_xx_xx.zip.</li>
<li>Extract it to the &#8216;source&#8217; folder you created earlier</li>
<li>Rename the extracted folder to osgAudio_xx_xx_xx-PreCMAKE</li>
<li><a href="http://www.cmake.org/cmake/resources/software.html">Download/Install CMAKE</a> if you haven&#8217;t already</li>
<li>Run CMAKE</li>
<li>Click &#8216;Browse Source&#8217; and select the osgAudio_xx_xx_xx-PRECMAKE directory</li>
<li>Click &#8216;Browse Build&#8217; and store it next to your other osgAudio folder but with a POSTCMAKE suffix &#8216;osgAudio_xx_xx_xx-POSTCMAKE&#8217;</li>
</ol>
<p>At this point, when we run CMAKE (by clicking Configure), it will attempt to find the dependencies we compiled earlier. If it&#8217;s successful, we can then open up our osgAudio_xx_xx_xx-POSTCMAKE directory and build the solution it created. But, it likely failed.</p>
<p>Basically, for every RED box that appears in the settings list, you need to do something. As an example, here is a screencap of my settings:</p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 809px"><a href="http://blog.pnapieralski.com/wp-content/uploads/2010/09/cmakesettings.png" rel="shadowbox[sbpost-65];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2010/09/cmakesettings.png" alt="" title="cmakesettings" width="799" height="486" class="size-full wp-image-69" /></a><p class="wp-caption-text">osgAudio cmake settings</p></div>
<p>YAY! Now we have the solution file for osgAudio, but we STILL need to compile it!</p>
<ol>
<li>Open up your osgAudio_xx_xx_xx-POSTCMAKE directory and double-click osgAudio.sln to open it in Microsoft Visual Studio.</li>
<li>If, for some reason, it complains about a missing library/include file. Navigate to Tools->Options and add the directory as we did with libogg and the other libraries.</li>
</ol>
<p>After building the release version of osgAudio successfully, copy the lib and include folder from the source folder to the &#8216;bin&#8217; folder you built earlier.</p>
<p>Your final directory listing SHOULD look something like this:</p>
<p><a href="http://blog.pnapieralski.com/wp-content/uploads/2010/09/tree-dir.png" rel="shadowbox[sbpost-65];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2010/09/tree-dir.png" alt="" title="tree-dir" width="211" height="444" class="alignnone size-full wp-image-68" /></a></p>
<p>PHEW, that&#8217;s it!</p>
<h2>Further Troubleshooting</h2>
<p><i>I&#8217;m missing xxx.lib &#8211; Linker Error!</i> Open up the solution file you are working with and go into Tools->Options. Then, on the left, navigate to &#8216;Projects and Solutions->VC++ Directories&#8217;. Use the interface to add your include and library directories (see screencap below):</p>
<p><a href="http://blog.pnapieralski.com/wp-content/uploads/2010/09/tool-options.png" rel="shadowbox[sbpost-65];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2010/09/tool-options.png" alt="" title="tool-options" width="760" height="446" class="alignnone size-full wp-image-67" /></a></p>
<p>If you are getting any other weird errors when building your own projects, you probably did not add the correct .lib files to link with. Fix this by doing the following:</p>
<ol>
<li>Open up your solution file</li>
<li>On the top menu-bar, navigate to &#8216;Project->XX Properties&#8217;</li>
<li>In the listing on the left, navigate to &#8216;Configuration Properties->Linker->Input&#8217;</li>
<li>Under &#8216;Additional Dependencies&#8217;, add osgAudio.lib (for Release mode) or osgAudiod.lib (for Debug mode) as in the picture below</li>
</ol>
<p><a href="http://blog.pnapieralski.com/wp-content/uploads/2010/09/project-properties.png" rel="shadowbox[sbpost-65];player=img;"><img src="http://blog.pnapieralski.com/wp-content/uploads/2010/09/project-properties.png" alt="project-properties" title="project-properties" width="755" height="524" class="alignnone size-full wp-image-66" /></a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Compile%2FInstall+osgAudio+for+Windows&amp;link=http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/&amp;notes=Did%20osgAudio%27s%20webpage%20leave%20you%20confused%3F%20This%20post%20is%20for%20you.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Compile%2FInstall+osgAudio+for+Windows&amp;link=http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/&amp;notes=Did%20osgAudio%27s%20webpage%20leave%20you%20confused%3F%20This%20post%20is%20for%20you.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Compile%2FInstall+osgAudio+for+Windows&amp;link=http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/&amp;notes=Did%20osgAudio%27s%20webpage%20leave%20you%20confused%3F%20This%20post%20is%20for%20you.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Compile%2FInstall+osgAudio+for+Windows&amp;link=http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/&amp;notes=Did%20osgAudio%27s%20webpage%20leave%20you%20confused%3F%20This%20post%20is%20for%20you.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Compile%2FInstall+osgAudio+for+Windows&amp;link=http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/&amp;notes=Did%20osgAudio%27s%20webpage%20leave%20you%20confused%3F%20This%20post%20is%20for%20you.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Compile%2FInstall+osgAudio+for+Windows&amp;link=http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/&amp;notes=Did%20osgAudio%27s%20webpage%20leave%20you%20confused%3F%20This%20post%20is%20for%20you.&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/osg/how-to-compileinstall-osgaudio-for-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to make a scrolling star field background with Flixel</title>
		<link>http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/</link>
		<comments>http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 07:01:23 +0000</pubDate>
		<dc:creator>Phillip Napieralski</dc:creator>
				<category><![CDATA[Flixel]]></category>
		<category><![CDATA[flixel]]></category>
		<category><![CDATA[shooter]]></category>

		<guid isPermaLink="false">http://blog.pnapieralski.com/?p=58</guid>
		<description><![CDATA[I won't waste your time, here's the source code...]]></description>
			<content:encoded><![CDATA[<p>Here is what it does:</p>
<p><embed src='http://blog.pnapieralski.com/wp-content/uploads/2010/07/Starfielddriver.swf' width=640 height=480></embed></p>
<h2>The Code</h2>
<p>I won&#8217;t waste your time, here&#8217;s the source code.</p>
<pre class="brush: plain; title: ; notranslate">
package {
	import org.flixel.*;

	public class StarField extends FlxObject {
		public static const NUM_STARS:Number = 75;
		private var _stars:FlxGroup;

		/**
		 * @param	ang This is the angle that the starField will be rotating (in degrees)
		 * @param	speedMultiplier
		 */
		override public function StarField(ang:Number = 90, speedMultiplier:Number = 4):void {
			angle = ang;
			_stars = new FlxGroup();

			var radang:Number = angle * Math.PI / 180;
			var cosang:Number = Math.cos(radang);
			var sinang:Number = Math.sin(radang);

			for ( var i:int = 0; i &lt; StarField.NUM_STARS; i++ ) {
				var str:FlxSprite = new FlxSprite(Math.random() * FlxG.width, Math.random() * FlxG.height);
				var vel:Number = Math.random() * -16 * speedMultiplier;

				// change the transparency of the star based on it's velocity
				var transp:uint = (Math.round(16 * (-vel / speedMultiplier) - 1) &lt;&lt; 24);

				str.createGraphic(2, 2, 0x00ffffff | transp);
				str.velocity.x = cosang * vel;
				str.velocity.y = sinang * vel;
				_stars.add(str);
			}
		}

		/**
		 * Rotate the starField
		 * @param	howMuch Input the amount of rotation in degrees
		 */
		public function rotate(howMuch:Number = 1):void {
			angle += howMuch;

			var radang:Number = angle * Math.PI / 180;
			var cosang:Number = Math.cos(radang);
			var sinang:Number = Math.sin(radang);

			for ( var i:int = 0; i &lt; StarField.NUM_STARS; i++ ) {
				var str:FlxSprite = _stars.members[i] as FlxSprite;

				FlxU.rotatePoint(str.velocity.x, str.velocity.y, 0, 0, howMuch, str.velocity);
			}
		}

		override public function update():void {
			_stars.update();

			for (var i:int = 0; i &lt; _stars.members.length; i++) {
				var star:FlxSprite = _stars.members[i] as FlxSprite;
				if (star.x &gt; FlxG.width) {
					star.x = 0;
				} else if (star.x &lt; 0) {
					star.x = FlxG.width;
				}
				if (star.y &gt; FlxG.height) {
					star.y = 0;
				} else if (star.y &lt; 0) {
					star.y = FlxG.height;
				}

			}
		}

		override public function render():void {
			_stars.render();
		}
	}

}
</pre>
<p>Now to use it, simply add the following in one of your states:</p>
<pre class="brush: plain; title: ; notranslate">
private var sf:StarField = new StarField();

// state constructor
override public function StarState():void {
     this.add(sf);
}
</pre>
<p><a href='http://blog.pnapieralski.com/wp-content/uploads/2010/07/src.zip'>Get the star field demo source code</a></p>
<p>I also used this star field class in my FIRST ever flash game. <a href='http://www.kongregate.com/games/pnapieralski/face-defender'>Face Defender</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+make+a+scrolling+star+field+background+with+Flixel&amp;link=http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/&amp;notes=I%20won%27t%20waste%20your%20time%2C%20here%27s%20the%20source%20code...&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+make+a+scrolling+star+field+background+with+Flixel&amp;link=http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/&amp;notes=I%20won%27t%20waste%20your%20time%2C%20here%27s%20the%20source%20code...&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+make+a+scrolling+star+field+background+with+Flixel&amp;link=http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/&amp;notes=I%20won%27t%20waste%20your%20time%2C%20here%27s%20the%20source%20code...&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+make+a+scrolling+star+field+background+with+Flixel&amp;link=http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/&amp;notes=I%20won%27t%20waste%20your%20time%2C%20here%27s%20the%20source%20code...&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+make+a+scrolling+star+field+background+with+Flixel&amp;link=http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/&amp;notes=I%20won%27t%20waste%20your%20time%2C%20here%27s%20the%20source%20code...&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+make+a+scrolling+star+field+background+with+Flixel&amp;link=http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/&amp;notes=I%20won%27t%20waste%20your%20time%2C%20here%27s%20the%20source%20code...&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.pnapieralski.com/flixel/how-to-make-a-scrolling-star-field-background-with-flixel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

