<?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>stephen&#039;s blog &#187; SDL</title>
	<atom:link href="http://stephengentle.com/blog/tag/sdl/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephengentle.com/blog</link>
	<description>i like computers</description>
	<lastBuildDate>Sun, 29 Jan 2012 14:02:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Eclipse&#8230; In 3D?</title>
		<link>http://stephengentle.com/blog/eclipse-in-3d/</link>
		<comments>http://stephengentle.com/blog/eclipse-in-3d/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 08:32:58 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SDL]]></category>

		<guid isPermaLink="false">http://blog.stephengentle.com/entries/linux/eclipse-in-3d/</guid>
		<description><![CDATA[I&#8217;ve been working on Eclipse a lot lately. I&#8217;ve changed the build system, and also vastly improved the menu system. So, I was thinking that since I&#8217;m spending so much time and effort making the game, I might as well make as cool as I can. So, I thought that instead of just making it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on Eclipse a lot lately. I&#8217;ve changed the build system, and also vastly improved the menu system. So, I was thinking that since I&#8217;m spending so much time and effort making the game, I might as well make as cool as I can. So, I thought that instead of just making it 2D, I could do a top down 3D view instead. I&#8217;m already using OpenGL, so it shouldn&#8217;t take that much work to change the current code to 3D. It would make it easier to use particle effects too, so I could have cool looking explosions, and a better looking flame from the ship&#8217;s engine. </p>
<p>First, I would have to see if there are any file formats for storing 3D models that would be easy enough to implement. Then, I&#8217;d probably set the projection mode to a perspective view (instead of the orthographic view I use now), and get the coordinate system set up the same way as it is now. Then, all I&#8217;d have to do is to make a 3D version of the sprite class, and I could program it the same way I am now.</p>
<p>I have to try that out before I start writing game code. It&#8217;s a good thing that I have started storing the code in a GIT repository, because I can just roll back the changes if anything goes wrong. I&#8217;ve also ported Eclipse to the Autotools build system, and added internationalisation support. I don&#8217;t have any completed translations yet, but anyway&#8230; </p>
<p>What ever I decide, one thing that definitely needs to be done is resolution independence. Then I&#8217;ll need to make two new widgets. A spin-button kind of thing (or drop-down box) to select the resolution, and a checkbox to select full screen mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephengentle.com/blog/eclipse-in-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

