<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
	xmlns="http://purl.org/rss/1.0/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel rdf:about="http://feeds.garagegames.com/rss/blogs/developer/18484/">
		<title>Blog for Guy Allard at GarageGames.com</title>
		<description>Blog feeds for Gamers and Developers in the GarageGames community.</description>
		<link>http://www.garagegames.com/</link>
		<image rdf:resource="http://www.garagegames.com/images/GarageGames_logo_small_w.gif" />
		<dc:date>2008-11-22T05:31:44+00:00</dc:date>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://www.garagegames.com/blogs/18484/14821"/>
				<rdf:li rdf:resource="http://www.garagegames.com/blogs/18484/14747"/>
			</rdf:Seq>
		</items>
	</channel>
	<item rdf:about="http://www.garagegames.com/blogs/18484/14821">
		<dc:format>text/html</dc:format>
		<dc:date>2008-06-03T12:58:39+00:00</dc:date>
		<dc:creator>Guy Allard</dc:creator>
		<title>Blue Marble part 2</title>
		<link>http://www.garagegames.com/blogs/18484/14821</link>
		<description>After my last blog post, I received plenty of emails asking to see the planet shaders I was working on in action. So, here's a demo you can download which gives you a fly-by of the earth in TGEA1.7.&lt;br&gt;&lt;br&gt;&lt;a href='http://www.pigsie.com/torque/blue_marble/BlueMarble.zip' target=_blank&gt;Download the demo here&lt;/a&gt;, extract the zip somewhere and run it.&lt;br&gt;&lt;br&gt;There's a readme in the zip that gives some brief background information, and I've also commented the shaders (a little) so you should be able to figure out how they work if you want to use it for your own purposes. The main planet shader should work out of the box. The atmosphere shader requires a small modification to the engine if you want to use it in your own project, I'll post the necessary changes in the private forums.&lt;br&gt; &lt;br&gt;The shaders do not have any fallbacks, so if your graphics card can't handle them, then either the demo won't run, or you'll be missing some visuals.&lt;br&gt;&lt;br&gt;Enjoy.&lt;br&gt;&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/newMarble.jpg'  alt=&quot;&quot;&gt;</description>
	</item>
	<item rdf:about="http://www.garagegames.com/blogs/18484/14747">
		<dc:format>text/html</dc:format>
		<dc:date>2008-05-17T09:05:44+00:00</dc:date>
		<dc:creator>Guy Allard</dc:creator>
		<title>Blue Marble - (warning - pictures)</title>
		<link>http://www.garagegames.com/blogs/18484/14747</link>
		<description>Having recently purchased TGEA, I thought I'd try and get to grips with shaders and materials. I stumbled across &lt;a href='http://www.zaknafein.hjcrusaders.com/?p=7' target=_blank&gt;the blue planet demo&lt;/a&gt; during a random google search, and thought I'd have a go at producing something similar.&lt;br&gt;&lt;br&gt;The result:&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/marble.jpg'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;To model the earth, I used three spheres, one for the earths surface, a second sphere scaled up slightly for the cloud layer, and a third sphere scaled up again for the atmosphere.&lt;br&gt;&lt;br&gt;The Surface of the earth is rendered by a custom shader using three textures &lt;br&gt;- a diffuse map with a specular map in the alpha channel, which limits the specular reflection to the oceans.&lt;br&gt;- a normal map that gives height to the mountains and valleys&lt;br&gt;- an emission map which illuminates the cities at night time.&lt;br&gt;The shader that renders the planet restricts the emission map to the dark side of the planet, so cities only glow at night time.&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/america_sleeps.jpg'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;The cloud layer is a standard material which is rendered translucent, and is also bump mapped so that the clouds have depth.&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/european_dusk.jpg'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;For the atmosphere, I managed to port the shader from the &lt;a href='http://www.zaknafein.hjcrusaders.com/?p=7' target=_blank&gt;the blue planet demo&lt;/a&gt;. The color of the atmosphere can be specified in the material definition.&lt;br&gt;&lt;br&gt;The sun is a simple fxSunlight, and the moon is a single textured and bump-mapped sphere. &lt;br&gt;I'm pretty pleased with the outcome. As always, there's still plenty of tweaking to be done.&lt;br&gt;&lt;br&gt;Anyway, I'll leave you with a few more gratuitous screenshots.&lt;br&gt;&lt;br&gt;Earthrise&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/earthrise.jpg'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;Europe at night&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/europe_sleeps.jpg'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;Sunset of West Coast USA&lt;br&gt;&lt;img src='http://www.pigsie.com/torque/blue_marble/west_coast_sunset.jpg'  alt=&quot;&quot;&gt;</description>
	</item>
</rdf:RDF>
