<?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>Terry Butler &#187; XNA</title>
	<atom:link href="http://www.terrybutler.co.uk/tag/xna/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.terrybutler.co.uk</link>
	<description>Personal Homepage of Terry Butler</description>
	<lastBuildDate>Thu, 29 Jul 2010 03:44:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Ray Casting #2</title>
		<link>http://www.terrybutler.co.uk/2009/11/29/ray-casting-2/</link>
		<comments>http://www.terrybutler.co.uk/2009/11/29/ray-casting-2/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 15:39:24 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Ray Casting]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.terrybutler.co.uk/?p=180</guid>
		<description><![CDATA[Finally got around to adding those few lines of code to add textured walls to the ray caster. (Click to Show Full Size) (Click to Show Full Size) A few details: 1) The texture isn&#8217;t mine, I merely found it via Google Images with the term &#8220;wall texture&#8221; and it has the filename &#8220;Wall_Texture_by_shadowh3.JPG&#8221; 2) [...]]]></description>
			<content:encoded><![CDATA[<p>Finally got around to adding those few lines of code to add textured walls to the ray caster.</p>
<p><a href="http://www.terrybutler.co.uk/downloads/raycasting/RC%202009-11-29%2015-14-57-82.png"><img src="http://www.terrybutler.co.uk/downloads/raycasting/RC%202009-11-29%2015-14-57-82%20(Small).png" alt="" /></a><br />
(Click to Show Full Size)</p>
<p><a href="http://www.terrybutler.co.uk/downloads/raycasting/RC%202009-11-29%2015-15-22-26.png"><img src="http://www.terrybutler.co.uk/downloads/raycasting/RC%202009-11-29%2015-15-22-26%20(Small).png" alt="" /></a><br />
(Click to Show Full Size)</p>
<p>A few details:</p>
<p>1) The texture isn&#8217;t mine, I merely found it via Google Images with the term &#8220;wall texture&#8221; and it has the filename &#8220;Wall_Texture_by_shadowh3.JPG&#8221;<br />
2) There&#8217;s still a problem with the corners of the grids having a weird fringe. It&#8217;s better than it was, but still not right. Haven&#8217;t tracked that down yet, but have some ideas<br />
3) The somewhat hybrid mix (Courtesy of XNA) of performing the ray casting algorithm and then using the hardware to render (i.e. the column strips as Lines, plus using the hardware to render the correct strip of texture, which is all nice and filtered) is arguably making using the ray caster seem futile. Depends on how you look at that one I suppose. I think it&#8217;s neat<br />
4) A bit of &#8220;FYI&#8221;. John Carmack&#8217;s <a href="http://www.idsoftware.com/wolfenstein-3d-classic-platinum/wolfdevelopment.htm">article </a> on how he wrote the iPhone version of Wolfenstein 3D is what really got me wanting to do this. Many thanks to him for the unrelenting inspiration!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terrybutler.co.uk/2009/11/29/ray-casting-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
