<?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>Real-Time Rendering &#187; browser</title>
	<atom:link href="http://www.realtimerendering.com/blog/tag/browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.realtimerendering.com/blog</link>
	<description>Tracking the latest developments in interactive rendering techniques</description>
	<lastBuildDate>Sun, 12 May 2013 00:21:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Really, another Minecraft article?</title>
		<link>http://www.realtimerendering.com/blog/really-another-minecraft-article/</link>
		<comments>http://www.realtimerendering.com/blog/really-another-minecraft-article/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 13:26:49 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[voxelization]]></category>

		<guid isPermaLink="false">http://www.realtimerendering.com/blog/?p=1747</guid>
		<description><![CDATA[Here at RTR HQ we like to consider ourselves trailing edge, covering all the stories that have already been slashdotted and boingboinged, not to mention Penny Arcaded. My last post included the simulated 6502 project. The madness/brilliance of this ALU simulator boggles my mind. Yes, Minecraft is awesome, and for the low low price of $13.30 it&#8217;s had [...]]]></description>
			<content:encoded><![CDATA[<p>Here at RTR HQ we like to consider ourselves trailing edge, covering all the stories that have already been <a href="http://games.slashdot.org/story/10/09/28/1957243/Minecraft-Enterprise-and-16-Bit-ALU">slashdotted</a> and <a href="http://www.boingboing.net/2010/09/27/interview-with-minec.html">boingboinged</a>, not to mention <a href="http://www.penny-arcade.com/comic/2010/9/17/">Penny Arcaded</a>. My <a href="http://www.realtimerendering.com/blog/peripherally-related-links/">last post</a> included the simulated 6502 project. The madness/brilliance of <a href="http://www.boingboing.net/2010/09/28/working-computer-mad.html">this ALU simulator</a> boggles my mind. Yes, <a href="http://minecraft.net/">Minecraft</a> is awesome, and for the low low price of $13.30 it&#8217;s had me in its terrible grasp for the past week, e.g. <a href="http://picasaweb.google.com/eric.haines/MinecraftMultiplayer#5520869597964334034">this</a>.</p>
<p>I wanted to run through a few graphical bits about it. First, the voxel display engine is surprisingly fast for something that runs in the browser. Minecraft uses the <a href="http://lwjgl.org/">Lightweight Java Game Library</a> to drive OpenGL. Max McGuire figures that the program tracks the visible faces, i.e. all those between air and non-air, and then brute-force displays all these faces (using backface culling) within a given distance. The <a href="http://minecraftwiki.net/wiki/Alpha_Level_Format">file format</a> keeps track of 16x16x128 (high) chunks, so just the nearby chunks need display. I don&#8217;t know if the program&#8217;s using frustum culling on the chunks (I&#8217;d hope so!). Looks like <a href="http://games.slashdot.org/comments.pl?sid=1802374&amp;cid=33729068">no occlusion culling</a> is done currently. The lighting model is interesting and nicely done, we haven&#8217;t quite figured it out; the game&#8217;s author, &#8220;Notch&#8221; (Markus Persson), <a href="http://www.indiegames.com/blog/2010/09/indiegamescom_podcast_2_minecr.html">notes that it</a> was one of the trickier elements to make work efficiently.</p>
<p>Me, I&#8217;ve been looking at voxelization programs out there, to see if there&#8217;s a good one for turning models into voxel building plans (it&#8217;s a sickness, seriously). Patrick Min&#8217;s <a href="http://www.cs.princeton.edu/~min/binvox/">binvox</a> (paired with his <a href="http://www.cs.princeton.edu/~min/viewvox/">viewvox</a> viewer) looks promising, since Patrick&#8217;s a good programmer (e.g., his <a href="http://www.patrickmin.com/calcudoku/">CalcuDoku</a> app), the program&#8217;s been around 6 years, and it&#8217;s open-source. Binvox uses the GPU to generate the voxel views, so it&#8217;s quite fast. It supports both parity counting and &#8220;carving&#8221;, and can also remove fully-interior voxels after processing. Parity count is for &#8220;watertight&#8221; models (closed and manifold, i.e. the polygon mesh correctly defines a solid object without gaps or self-intersections, etc.). Carving is taking 6 views and recording the closest occupied voxel from each direction. It won&#8217;t give you holes or crevices you can&#8217;t see from the 6 directions, but is otherwise good for polygonal models that are just surfaces, i.e., that don&#8217;t properly represent solids. See <a href="http://www.cs.princeton.edu/~min/binvox/">his page</a> for references to all techniques he uses. I found a bug in Patrick&#8217;s OBJ reader yesterday and he fixed it overnight (fast service!), so I&#8217;m game to give it another go tonight.</p>
<p><a href="http://picasaweb.google.com/eric.haines/MinecraftMultiplayer#5522180979193463394"><img class="alignnone" title="Minecraft: postcard from Voxelia" src="http://lh4.ggpht.com/_EDkP4IK7AF8/TKK6V8I-wmI/AAAAAAAABuo/er47itE5FoA/0928_Image43.jpg" alt="" width="854" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.realtimerendering.com/blog/really-another-minecraft-article/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>