<?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>Cyberborean Chronicles &#187; 3D</title>
	<atom:link href="http://blog.cyberborean.org/tag/3d/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.cyberborean.org</link>
	<description>by Alex Alishevskikh</description>
	<lastBuildDate>Wed, 18 Jan 2012 07:52:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Raytracing Middle-earth</title>
		<link>http://blog.cyberborean.org/2006/07/27/raytracing-middle-earth</link>
		<comments>http://blog.cyberborean.org/2006/07/27/raytracing-middle-earth#comments</comments>
		<pubDate>Thu, 27 Jul 2006 01:15:23 +0000</pubDate>
		<dc:creator>Alex Alishevskikh</dc:creator>
				<category><![CDATA[Essays]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[tolkien]]></category>

		<guid isPermaLink="false">https://cyberborean.wordpress.com/2006/07/27/raytracing-middle-earth/</guid>
		<description><![CDATA[Recently I played with raytracing and POV-Ray for artificial landscapes generation. My goal was to have the realistic &#8220;Google Maps-style&#8221; images of the Middle-earth terrains to create the maps for Tolkien Gateway Encyclopedia &#8211; the wiki project I&#8217;m involved in. You can see my first outcome here. This is a reduced snapshot of rendering the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://tolkiengateway.net/wiki/Image:Middleearth_3d.jpg"><img src="http://cyberborean.org/blog/wp-content/uploads/2006/07/middleearth3d_sm.jpg" alt="middleearth3d_sm.jpg" /></a></p>
<p>Recently I played with raytracing and <a href="http://www.povray.org">POV-Ray</a> for artificial landscapes generation. My goal was to have the realistic &#8220;Google Maps-style&#8221; images of the Middle-earth terrains to create the maps for <a href="http://tolkiengateway.net/wiki/">Tolkien Gateway Encyclopedia</a> &#8211; the wiki project I&#8217;m involved in. You can see my first outcome <a href="http://tolkiengateway.net/wiki/Image:Middleearth_3d.jpg">here</a>. This is a reduced snapshot of rendering the whole scene.</p>
<p><span id="more-119"></span></p>
<h3>Technology</h3>
<p>I used POV-Ray for Linux raytracing engine and povray scripts from <a href="http://geomorph.sf.net">Geomorph</a> tool. For my purposes I had to hack the scripts (<code>sea_and_rocks.pov</code> and basic <code>geomorph_txtr.inc</code>) and tweak them a damn lot of time until I got what I expected to see. It was especially tricky task for me, as I am definitely not an expert in POV-Ray language (what is more, except for few dummy excercises it was my first serious POV-Ray scripting experience).</p>
<p>A source of the relief information is so-called &#8220;height map&#8221; &#8211; a monochrome bitmap where the values of pixels are translated into the heights of the terrain points. It was drawn manually in GIMP on few semi-transparent layers above the scanned real Middle-earth map from &#8220;The Lord of the Rings&#8221; (the famous Christopher&#8217;s map which is admitted as the most authentic one). The layers then were merged together (except for original map, of course) and saved as PNG for using as the height-map. It was also a tricky and lengthy process &#8211; as it was non-interactive, I might see the result of changes only after re-saving and re-rendering and it took a lot of time, especially at final polishing stage.</p>
<p>When I went through all it, I finally got a 3D landscape scene which now can be rendered from various point of views to get the base terrains for the maps of Middle-earth regions. Huh.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cyberborean.org/2006/07/27/raytracing-middle-earth/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

