<?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>tadej.eu &#187; Computer Graphics</title>
	<atom:link href="http://tadej.eu/category/blog/computer-graphics/feed" rel="self" type="application/rss+xml" />
	<link>http://tadej.eu</link>
	<description>Game development, web technologies, Unity 3D and entrepreneurship</description>
	<lastBuildDate>Wed, 19 May 2010 16:20:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Morda &#8211; a simple 3D game engine</title>
		<link>http://tadej.eu/morda-a-simple-3d-game-platform</link>
		<comments>http://tadej.eu/morda-a-simple-3d-game-platform#comments</comments>
		<pubDate>Thu, 06 Dec 2007 18:49:55 +0000</pubDate>
		<dc:creator>Tadej Gregorcic</dc:creator>
				<category><![CDATA[Computer Graphics]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Game engine]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.tadejhq.com/?p=62</guid>
		<description><![CDATA[

Morda is a simple game engine that Miha Lesjak and I developed completely from scratch a few years back (actually [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a title="image1000008-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000008-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000008-sm1.thumbnail.jpg" alt="image1000008-sm1.jpg" /></a><a title="image1000005-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000005-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000005-sm1.thumbnail.jpg" alt="image1000005-sm1.jpg" /></a><a title="image1000004-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000004-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000004-sm1.thumbnail.jpg" alt="image1000004-sm1.jpg" /></a><a title="image1000003-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000003-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000003-sm1.thumbnail.jpg" alt="image1000003-sm1.jpg" /></a><a title="image1000007-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000007-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000007-sm1.thumbnail.jpg" alt="image1000007-sm1.jpg" /></a><a title="image1000006-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000006-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000006-sm1.thumbnail.jpg" alt="image1000006-sm1.jpg" /></a><a title="image1000002-sm1.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000002-sm1.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/image1000002-sm1.thumbnail.jpg" alt="image1000002-sm1.jpg" /></a><a title="morda2ard05.jpg" rel="gb_imageset[tanks]" href="http://www.tadejhq.com/wp-content/uploads/2007/12/morda2ard05.jpg"><img src="http://www.tadejhq.com/wp-content/uploads/2007/12/morda2ard05.thumbnail.jpg" alt="morda2ard05.jpg" /></a><br />
<span id="more-62"></span><br />
Morda is a simple game engine that Miha Lesjak and I developed completely from scratch a few years back (actually in record time of 1-2 weeks) as part of an assignment at the university.</p>
<p>I did the <a class="zem_slink" title="Game engine" rel="wikipedia" href="http://en.wikipedia.org/wiki/Game_engine" target="_blank">3D engine</a> part with math calculations and <a class="zem_slink" title="Evolutionary programming" rel="wikipedia" href="http://en.wikipedia.org/wiki/Evolutionary_programming" target="_blank">evolutionary programming</a>, while Miha worked on the scripting engine.</p>
<p>The terrain is generated either randomly (fractal generation) or in my terrain generation tool (where you can add or subtract various shapes to the map) and loaded into the engine, whereas the mesh is generated through simple triangulation (without any significant optimization).</p>
<p>The entities (tanks, turrets, buildings, trees, etc.) can be placed or moved arbitrarily (pitch, roll, <a class="zem_slink" title="Flight dynamics" rel="wikipedia" href="http://en.wikipedia.org/wiki/Flight_dynamics" target="_blank">yaw</a> adjusted to the terrain), there is some gravity affecting the projectiles, tanks and buildings blow up in magnificent particle explosions, etc. The camera is either 1st person or free (<a class="zem_slink" title="Six degrees of freedom" rel="wikipedia" href="http://en.wikipedia.org/wiki/Six_degrees_of_freedom" target="_blank">6DOF</a>) and the whole map is surrounded by a rotating sky sphere.</p>
<p>The tanks are hard-wired with an evasive-movement algorithm (they exit traps easily) and the A.I. can now be either scripting with dynamic decision trees or evolutionary programming &#8211; I have had quite some fun having generations of &#8220;evolutionaries&#8221; head agains a scripter team <img src='http://tadej.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Somewhere in the near future, I intend to squeeze the A.I. into standard DLL&#8217;s that perhaps students at the university can use to write their own tank brains and have them do all kinds of new funky stuff.</p>
<p>Oh, and the whole thing is written in C++ with Win32 and OpenGL.</p>
<p>Also, it&#8217;s time for some real monsters with IK! <img src='http://tadej.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="zemanta-pixie" style="margin: 5px 0pt; width: 100%;"><a id="zemanta-pixie-a" title="Zemified by Zemanta" href="http://www.zemanta.com/"><img id="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixie.png?x-id=f389efe9-8472-4926-b392-76000a137949" alt="" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://tadej.eu/morda-a-simple-3d-game-platform/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
