<?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>Game Rendering &#187; Spatial Data Structure</title>
	<atom:link href="http://www.gamerendering.com/category/scene-management/spatial-data-structure-scene-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamerendering.com</link>
	<description></description>
	<lastBuildDate>Thu, 21 Jan 2010 01:32:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Uniform Grid</title>
		<link>http://www.gamerendering.com/2008/11/17/uniform-grid/</link>
		<comments>http://www.gamerendering.com/2008/11/17/uniform-grid/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 20:54:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Spatial Data Structure]]></category>
		<category><![CDATA[Dynamic Objects]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[Rendering]]></category>
		<category><![CDATA[Static Objects]]></category>
		<category><![CDATA[Uniform Grid]]></category>

		<guid isPermaLink="false">http://www.gamerendering.com/?p=530</guid>
		<description><![CDATA[This is maybe the easiest way to manage the objects in a scene and is also often a very good choice. It&#8217;s a simple uniform grid with equally sized cells/buckets/patches (or whatever you want to call it). When rendering, all that is needed for culling is to check the view frustum against these cells to determine which ones are visible. This grid [...]]]></description>
			<content:encoded><![CDATA[<p>This is maybe the easiest way to manage the objects in a scene and is also often a very good choice. It&#8217;s a simple uniform grid with equally sized cells/buckets/patches (or whatever you want to call it). When rendering, all that is needed for culling is to check the view frustum against these cells to determine which ones are visible. This grid can most of the time be in only 2D but can of course in special cases be 3D if necessary. This spatial data structure works well with both static and dynamic objects.</p>
<div class="mceTemp"><a href="http://www.gamerendering.com/wp-content/uploads/grid.jpg"><img class="size-medium wp-image-531" title="A Uniform Grid" src="http://www.gamerendering.com/wp-content/uploads/grid.jpg" alt="A Uniform Grid" width="200" height="200" /></a></div>
<div class="mceTemp">Some information of traversing a grid structure</div>
<div class="mceTemp"><a href="http://www.cse.yorku.ca/~amana/research/grid.pdf">http://www.cse.yorku.ca/~amana/research/grid.pdf</a></div>

<div class="sociable">
<div class="sociable_tagline">
<strong>Please share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" id="print" href="javascript:window.location='http%3A%2F%2Fwww.printfriendly.com%2Fprint%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Bpartner%3Dsociable';" title="Print this article!"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="digg" href="javascript:window.location='http%3A%2F%2Fdigg.com%2Fsubmit%3Fphase%3D2%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid%26amp%3Bbodytext%3DThis%2520is%2520maybe%2520the%2520easiest%2520way%2520to%2520manage%2520the%2520objects%2520in%2520a%2520scene%25C2%25A0and%2520is%2520also%25C2%25A0often%2520a%2520very%2520good%2520choice.%2520It%2527s%2520a%2520simple%25C2%25A0uniform%2520grid%2520with%2520equally%2520sized%2520cells%252Fbuckets%252Fpatches%2520%2528or%2520whatever%2520you%2520want%2520to%2520call%2520it%2529.%2520When%25C2%25A0rendering%252C%2520all%2520that%2520is%2520needed%2520for%2520cul';" title="Digg"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="sphinn" href="javascript:window.location='http%3A%2F%2Fsphinn.com%2Findex.php%3Fc%3Dpost%26m%3Dsubmit%26link%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F';" title="Sphinn"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="del.icio.us" href="javascript:window.location='http%3A%2F%2Fdelicious.com%2Fpost%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid%26amp%3Bnotes%3DThis%2520is%2520maybe%2520the%2520easiest%2520way%2520to%2520manage%2520the%2520objects%2520in%2520a%2520scene%25C2%25A0and%2520is%2520also%25C2%25A0often%2520a%2520very%2520good%2520choice.%2520It%2527s%2520a%2520simple%25C2%25A0uniform%2520grid%2520with%2520equally%2520sized%2520cells%252Fbuckets%252Fpatches%2520%2528or%2520whatever%2520you%2520want%2520to%2520call%2520it%2529.%2520When%25C2%25A0rendering%252C%2520all%2520that%2520is%2520needed%2520for%2520cul';" title="del.icio.us"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="facebook" href="javascript:window.location='http%3A%2F%2Fwww.facebook.com%2Fshare.php%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Bt%3DUniform%2520Grid';" title="Facebook"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="mixx" href="javascript:window.location='http%3A%2F%2Fwww.mixx.com%2Fsubmit%3Fpage_url%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid';" title="Mixx"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="google" href="javascript:window.location='http%3A%2F%2Fwww.google.com%2Fbookmarks%2Fmark%3Fop%3Dedit%26amp%3Bbkmk%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid%26amp%3Bannotation%3DThis%2520is%2520maybe%2520the%2520easiest%2520way%2520to%2520manage%2520the%2520objects%2520in%2520a%2520scene%25C2%25A0and%2520is%2520also%25C2%25A0often%2520a%2520very%2520good%2520choice.%2520It%2527s%2520a%2520simple%25C2%25A0uniform%2520grid%2520with%2520equally%2520sized%2520cells%252Fbuckets%252Fpatches%2520%2528or%2520whatever%2520you%2520want%2520to%2520call%2520it%2529.%2520When%25C2%25A0rendering%252C%2520all%2520that%2520is%2520needed%2520for%2520cul';" title="Google Bookmarks"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="current" href="javascript:window.location='http%3A%2F%2Fcurrent.com%2Fclipper.htm%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid';" title="Current"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="linkedin" href="javascript:window.location='http%3A%2F%2Fwww.linkedin.com%2FshareArticle%3Fmini%3Dtrue%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid%26amp%3Bsource%3DGame%2BRendering%2B%26amp%3Bsummary%3DThis%2520is%2520maybe%2520the%2520easiest%2520way%2520to%2520manage%2520the%2520objects%2520in%2520a%2520scene%25C2%25A0and%2520is%2520also%25C2%25A0often%2520a%2520very%2520good%2520choice.%2520It%2527s%2520a%2520simple%25C2%25A0uniform%2520grid%2520with%2520equally%2520sized%2520cells%252Fbuckets%252Fpatches%2520%2528or%2520whatever%2520you%2520want%2520to%2520call%2520it%2529.%2520When%25C2%25A0rendering%252C%2520all%2520that%2520is%2520needed%2520for%2520cul';" title="LinkedIn"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="live" href="javascript:window.location='https%3A%2F%2Ffavorites.live.com%2Fquickadd.aspx%3Fmarklet%3D1%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid';" title="Live"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="myspace" href="javascript:window.location='http%3A%2F%2Fwww.myspace.com%2FModules%2FPostTo%2FPages%2F%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Bt%3DUniform%2520Grid';" title="MySpace"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="netvibes" href="javascript:window.location='http%3A%2F%2Fwww.netvibes.com%2Fshare%3Ftitle%3DUniform%2520Grid%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F';" title="Netvibes"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="stumbleupon" href="javascript:window.location='http%3A%2F%2Fwww.stumbleupon.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid';" title="StumbleUpon"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="twitter" href="javascript:window.location='http%3A%2F%2Ftwitter.com%2Fhome%3Fstatus%3DUniform%2520Grid%2520-%2520http%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F';" title="Twitter"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="reddit" href="javascript:window.location='http%3A%2F%2Freddit.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Btitle%3DUniform%2520Grid';" title="Reddit"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="technorati" href="javascript:window.location='http%3A%2F%2Ftechnorati.com%2Ffaves%3Fadd%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F';" title="Technorati"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" id="yahoo! bookmarks" href="javascript:window.location='http%3A%2F%2Fbookmarks.yahoo.com%2Ftoolbar%2Fsavebm%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F11%252F17%252Funiform-grid%252F%26amp%3Bt%3DUniform%2520Grid%26opener%3Dbm%26amp%3Bei%3DUTF-8%26amp%3Bd%3DThis%2520is%2520maybe%2520the%2520easiest%2520way%2520to%2520manage%2520the%2520objects%2520in%2520a%2520scene%25C2%25A0and%2520is%2520also%25C2%25A0often%2520a%2520very%2520good%2520choice.%2520It%2527s%2520a%2520simple%25C2%25A0uniform%2520grid%2520with%2520equally%2520sized%2520cells%252Fbuckets%252Fpatches%2520%2528or%2520whatever%2520you%2520want%2520to%2520call%2520it%2529.%2520When%25C2%25A0rendering%252C%2520all%2520that%2520is%2520needed%2520for%2520cul';" title="Yahoo! Bookmarks"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gamerendering.com/2008/11/17/uniform-grid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quadtree</title>
		<link>http://www.gamerendering.com/2008/10/17/quadtree/</link>
		<comments>http://www.gamerendering.com/2008/10/17/quadtree/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 23:05:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Spatial Data Structure]]></category>
		<category><![CDATA[Collision Detection]]></category>
		<category><![CDATA[Culling]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Quadtree]]></category>
		<category><![CDATA[Rendering]]></category>

		<guid isPermaLink="false">http://www.gamerendering.com/?p=362</guid>
		<description><![CDATA[Nearly the same as a Octree but instead of dividing the space in cuboids in 3D it&#8217;s rectangles in 2D space. This is useful for rendering terrain and you want to cull a lot of the terrain fast.

A visual demonstration of a quadtree used for fast collision detection:
http://lab.polygonal.de/2007/09/09/quadtree-demonstration/
Introduction to quadtrees and sample code:
http://www.gamedev.net/reference/programming/features/quadtrees/
More info about quadtrees, including source:
http://www.kyleschouviller.com/wsuxna/quadtree-source-included/



Please share:


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	


]]></description>
			<content:encoded><![CDATA[<p>Nearly the same as a <a title="Octree" href="http://www.gamerendering.com/2008/10/14/octree/">Octree</a> but instead of dividing the space in cuboids in 3D it&#8217;s rectangles in 2D space. This is useful for rendering terrain and you want to cull a lot of the terrain fast.</p>
<div class="mceTemp"><a href="http://www.gamerendering.com/wp-content/uploads/quadtree.jpg"><img class="size-medium wp-image-363" title="Example of the creation of a quadtree" src="http://www.gamerendering.com/wp-content/uploads/quadtree.jpg" alt="Example of the creation of a quadtree" width="252" height="251" /></a></div>
<p>A visual demonstration of a quadtree used for fast collision detection:<br />
<a href="http://lab.polygonal.de/2007/09/09/quadtree-demonstration/">http://lab.polygonal.de/2007/09/09/quadtree-demonstration/</a></p>
<p>Introduction to quadtrees and sample code:<br />
<a href="http://www.gamedev.net/reference/programming/features/quadtrees/">http://www.gamedev.net/reference/programming/features/quadtrees/</a></p>
<p>More info about quadtrees, including source:<br />
<a href="http://www.kyleschouviller.com/wsuxna/quadtree-source-included/">http://www.kyleschouviller.com/wsuxna/quadtree-source-included/</a></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Please share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" id="print" href="javascript:window.location='http%3A%2F%2Fwww.printfriendly.com%2Fprint%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Bpartner%3Dsociable';" title="Print this article!"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="digg" href="javascript:window.location='http%3A%2F%2Fdigg.com%2Fsubmit%3Fphase%3D2%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree%26amp%3Bbodytext%3DNearly%2520the%2520same%2520as%2520a%2520Octree%25C2%25A0but%2520instead%2520of%2520dividing%2520the%2520space%2520in%2520cuboids%2520in%25C2%25A03D%25C2%25A0it%2527s%2520rectangles%2520in%25202D%2520space.%2520This%2520is%2520useful%2520for%2520rendering%2520terrain%2520and%2520you%2520want%2520to%2520cull%2520a%2520lot%2520of%2520the%25C2%25A0terrain%2520fast.%250D%250A%250D%250AA%2520visual%2520demonstration%2520of%2520a%2520quadtree%2520used%2520for%2520fast';" title="Digg"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="sphinn" href="javascript:window.location='http%3A%2F%2Fsphinn.com%2Findex.php%3Fc%3Dpost%26m%3Dsubmit%26link%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F';" title="Sphinn"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="del.icio.us" href="javascript:window.location='http%3A%2F%2Fdelicious.com%2Fpost%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree%26amp%3Bnotes%3DNearly%2520the%2520same%2520as%2520a%2520Octree%25C2%25A0but%2520instead%2520of%2520dividing%2520the%2520space%2520in%2520cuboids%2520in%25C2%25A03D%25C2%25A0it%2527s%2520rectangles%2520in%25202D%2520space.%2520This%2520is%2520useful%2520for%2520rendering%2520terrain%2520and%2520you%2520want%2520to%2520cull%2520a%2520lot%2520of%2520the%25C2%25A0terrain%2520fast.%250D%250A%250D%250AA%2520visual%2520demonstration%2520of%2520a%2520quadtree%2520used%2520for%2520fast';" title="del.icio.us"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="facebook" href="javascript:window.location='http%3A%2F%2Fwww.facebook.com%2Fshare.php%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Bt%3DQuadtree';" title="Facebook"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="mixx" href="javascript:window.location='http%3A%2F%2Fwww.mixx.com%2Fsubmit%3Fpage_url%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree';" title="Mixx"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="google" href="javascript:window.location='http%3A%2F%2Fwww.google.com%2Fbookmarks%2Fmark%3Fop%3Dedit%26amp%3Bbkmk%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree%26amp%3Bannotation%3DNearly%2520the%2520same%2520as%2520a%2520Octree%25C2%25A0but%2520instead%2520of%2520dividing%2520the%2520space%2520in%2520cuboids%2520in%25C2%25A03D%25C2%25A0it%2527s%2520rectangles%2520in%25202D%2520space.%2520This%2520is%2520useful%2520for%2520rendering%2520terrain%2520and%2520you%2520want%2520to%2520cull%2520a%2520lot%2520of%2520the%25C2%25A0terrain%2520fast.%250D%250A%250D%250AA%2520visual%2520demonstration%2520of%2520a%2520quadtree%2520used%2520for%2520fast';" title="Google Bookmarks"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="current" href="javascript:window.location='http%3A%2F%2Fcurrent.com%2Fclipper.htm%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree';" title="Current"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="linkedin" href="javascript:window.location='http%3A%2F%2Fwww.linkedin.com%2FshareArticle%3Fmini%3Dtrue%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree%26amp%3Bsource%3DGame%2BRendering%2B%26amp%3Bsummary%3DNearly%2520the%2520same%2520as%2520a%2520Octree%25C2%25A0but%2520instead%2520of%2520dividing%2520the%2520space%2520in%2520cuboids%2520in%25C2%25A03D%25C2%25A0it%2527s%2520rectangles%2520in%25202D%2520space.%2520This%2520is%2520useful%2520for%2520rendering%2520terrain%2520and%2520you%2520want%2520to%2520cull%2520a%2520lot%2520of%2520the%25C2%25A0terrain%2520fast.%250D%250A%250D%250AA%2520visual%2520demonstration%2520of%2520a%2520quadtree%2520used%2520for%2520fast';" title="LinkedIn"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="live" href="javascript:window.location='https%3A%2F%2Ffavorites.live.com%2Fquickadd.aspx%3Fmarklet%3D1%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree';" title="Live"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="myspace" href="javascript:window.location='http%3A%2F%2Fwww.myspace.com%2FModules%2FPostTo%2FPages%2F%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Bt%3DQuadtree';" title="MySpace"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="netvibes" href="javascript:window.location='http%3A%2F%2Fwww.netvibes.com%2Fshare%3Ftitle%3DQuadtree%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F';" title="Netvibes"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="stumbleupon" href="javascript:window.location='http%3A%2F%2Fwww.stumbleupon.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree';" title="StumbleUpon"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="twitter" href="javascript:window.location='http%3A%2F%2Ftwitter.com%2Fhome%3Fstatus%3DQuadtree%2520-%2520http%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F';" title="Twitter"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="reddit" href="javascript:window.location='http%3A%2F%2Freddit.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Btitle%3DQuadtree';" title="Reddit"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="technorati" href="javascript:window.location='http%3A%2F%2Ftechnorati.com%2Ffaves%3Fadd%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F';" title="Technorati"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" id="yahoo! bookmarks" href="javascript:window.location='http%3A%2F%2Fbookmarks.yahoo.com%2Ftoolbar%2Fsavebm%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F17%252Fquadtree%252F%26amp%3Bt%3DQuadtree%26opener%3Dbm%26amp%3Bei%3DUTF-8%26amp%3Bd%3DNearly%2520the%2520same%2520as%2520a%2520Octree%25C2%25A0but%2520instead%2520of%2520dividing%2520the%2520space%2520in%2520cuboids%2520in%25C2%25A03D%25C2%25A0it%2527s%2520rectangles%2520in%25202D%2520space.%2520This%2520is%2520useful%2520for%2520rendering%2520terrain%2520and%2520you%2520want%2520to%2520cull%2520a%2520lot%2520of%2520the%25C2%25A0terrain%2520fast.%250D%250A%250D%250AA%2520visual%2520demonstration%2520of%2520a%2520quadtree%2520used%2520for%2520fast';" title="Yahoo! Bookmarks"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gamerendering.com/2008/10/17/quadtree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Octree</title>
		<link>http://www.gamerendering.com/2008/10/14/octree/</link>
		<comments>http://www.gamerendering.com/2008/10/14/octree/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 12:28:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Spatial Data Structure]]></category>
		<category><![CDATA[Collision]]></category>
		<category><![CDATA[Cuboid]]></category>
		<category><![CDATA[Culling]]></category>
		<category><![CDATA[Octree]]></category>
		<category><![CDATA[Optimizations]]></category>
		<category><![CDATA[Rendering]]></category>

		<guid isPermaLink="false">http://www.gamerendering.com/?p=339</guid>
		<description><![CDATA[Octrees are one of many ways to divide the space into smaller volumes structured in a tree. This is useful for culling objects while rendering or for finding collisions between objects. First cover the entire space that is of important into one big cuboid. Then the dividing algorithm for the tree goes as follows:
- First select the maximum number of [...]]]></description>
			<content:encoded><![CDATA[<p>Octrees are one of many ways to divide the space into smaller volumes structured in a tree. This is useful for culling objects while rendering or for finding collisions between objects. First cover the entire space that is of important into one big cuboid. Then the dividing algorithm for the tree goes as follows:</p>
<p>- First select the maximum number of objects in each cuboid. This determines how deep the tree will go.</p>
<p>- For each cuboid that contains more objects than the maximum allowed, split it into eight (oct = eight) new cuboids with the same volume and dimensions. Repeat this step until all cuboids fulfill the requirement.</p>
<p>The procedure looks like the following:</p>
<div class="mceTemp"><a href="http://www.gamerendering.com/wp-content/uploads/octree.jpg"><img class="size-medium wp-image-340" title="Octree creation process" src="http://www.gamerendering.com/wp-content/uploads/octree-124x400.jpg" alt="Octree creation process" width="124" height="400" /></a></div>
<p>More information about octrees.<br />
<a href="http://www.gamasutra.com/features/19970801/octree.htm">http://www.gamasutra.com/features/19970801/octree.htm</a></p>
<p>Source of the image:<br />
<a href="http://en.wikipedia.org/wiki/Octree">http://en.wikipedia.org/wiki/Octree</a></p>
<p>A little description of octrees.<br />
<a href="http://www.flipcode.com/archives/Introduction_To_Octrees.shtml">http://www.flipcode.com/archives/Introduction_To_Octrees.shtml</a></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Please share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" id="print" href="javascript:window.location='http%3A%2F%2Fwww.printfriendly.com%2Fprint%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Bpartner%3Dsociable';" title="Print this article!"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="digg" href="javascript:window.location='http%3A%2F%2Fdigg.com%2Fsubmit%3Fphase%3D2%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree%26amp%3Bbodytext%3DOctrees%2520are%2520one%2520of%2520many%2520ways%2520to%2520divide%2520the%2520space%2520into%2520smaller%2520volumes%2520structured%25C2%25A0in%2520a%25C2%25A0tree.%2520This%2520is%2520useful%2520for%2520culling%2520objects%25C2%25A0while%2520rendering%2520or%2520for%2520finding%2520collisions%2520between%2520objects.%2520First%2520cover%2520the%2520entire%2520space%2520that%2520is%2520of%2520important%2520into%2520one%2520bi';" title="Digg"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="sphinn" href="javascript:window.location='http%3A%2F%2Fsphinn.com%2Findex.php%3Fc%3Dpost%26m%3Dsubmit%26link%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F';" title="Sphinn"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="del.icio.us" href="javascript:window.location='http%3A%2F%2Fdelicious.com%2Fpost%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree%26amp%3Bnotes%3DOctrees%2520are%2520one%2520of%2520many%2520ways%2520to%2520divide%2520the%2520space%2520into%2520smaller%2520volumes%2520structured%25C2%25A0in%2520a%25C2%25A0tree.%2520This%2520is%2520useful%2520for%2520culling%2520objects%25C2%25A0while%2520rendering%2520or%2520for%2520finding%2520collisions%2520between%2520objects.%2520First%2520cover%2520the%2520entire%2520space%2520that%2520is%2520of%2520important%2520into%2520one%2520bi';" title="del.icio.us"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="facebook" href="javascript:window.location='http%3A%2F%2Fwww.facebook.com%2Fshare.php%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Bt%3DOctree';" title="Facebook"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="mixx" href="javascript:window.location='http%3A%2F%2Fwww.mixx.com%2Fsubmit%3Fpage_url%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree';" title="Mixx"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="google" href="javascript:window.location='http%3A%2F%2Fwww.google.com%2Fbookmarks%2Fmark%3Fop%3Dedit%26amp%3Bbkmk%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree%26amp%3Bannotation%3DOctrees%2520are%2520one%2520of%2520many%2520ways%2520to%2520divide%2520the%2520space%2520into%2520smaller%2520volumes%2520structured%25C2%25A0in%2520a%25C2%25A0tree.%2520This%2520is%2520useful%2520for%2520culling%2520objects%25C2%25A0while%2520rendering%2520or%2520for%2520finding%2520collisions%2520between%2520objects.%2520First%2520cover%2520the%2520entire%2520space%2520that%2520is%2520of%2520important%2520into%2520one%2520bi';" title="Google Bookmarks"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="current" href="javascript:window.location='http%3A%2F%2Fcurrent.com%2Fclipper.htm%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree';" title="Current"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="linkedin" href="javascript:window.location='http%3A%2F%2Fwww.linkedin.com%2FshareArticle%3Fmini%3Dtrue%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree%26amp%3Bsource%3DGame%2BRendering%2B%26amp%3Bsummary%3DOctrees%2520are%2520one%2520of%2520many%2520ways%2520to%2520divide%2520the%2520space%2520into%2520smaller%2520volumes%2520structured%25C2%25A0in%2520a%25C2%25A0tree.%2520This%2520is%2520useful%2520for%2520culling%2520objects%25C2%25A0while%2520rendering%2520or%2520for%2520finding%2520collisions%2520between%2520objects.%2520First%2520cover%2520the%2520entire%2520space%2520that%2520is%2520of%2520important%2520into%2520one%2520bi';" title="LinkedIn"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="live" href="javascript:window.location='https%3A%2F%2Ffavorites.live.com%2Fquickadd.aspx%3Fmarklet%3D1%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree';" title="Live"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="myspace" href="javascript:window.location='http%3A%2F%2Fwww.myspace.com%2FModules%2FPostTo%2FPages%2F%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Bt%3DOctree';" title="MySpace"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="netvibes" href="javascript:window.location='http%3A%2F%2Fwww.netvibes.com%2Fshare%3Ftitle%3DOctree%26amp%3Burl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F';" title="Netvibes"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="stumbleupon" href="javascript:window.location='http%3A%2F%2Fwww.stumbleupon.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree';" title="StumbleUpon"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="twitter" href="javascript:window.location='http%3A%2F%2Ftwitter.com%2Fhome%3Fstatus%3DOctree%2520-%2520http%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F';" title="Twitter"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="reddit" href="javascript:window.location='http%3A%2F%2Freddit.com%2Fsubmit%3Furl%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Btitle%3DOctree';" title="Reddit"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" id="technorati" href="javascript:window.location='http%3A%2F%2Ftechnorati.com%2Ffaves%3Fadd%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F';" title="Technorati"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" id="yahoo! bookmarks" href="javascript:window.location='http%3A%2F%2Fbookmarks.yahoo.com%2Ftoolbar%2Fsavebm%3Fu%3Dhttp%253A%252F%252Fwww.gamerendering.com%252F2008%252F10%252F14%252Foctree%252F%26amp%3Bt%3DOctree%26opener%3Dbm%26amp%3Bei%3DUTF-8%26amp%3Bd%3DOctrees%2520are%2520one%2520of%2520many%2520ways%2520to%2520divide%2520the%2520space%2520into%2520smaller%2520volumes%2520structured%25C2%25A0in%2520a%25C2%25A0tree.%2520This%2520is%2520useful%2520for%2520culling%2520objects%25C2%25A0while%2520rendering%2520or%2520for%2520finding%2520collisions%2520between%2520objects.%2520First%2520cover%2520the%2520entire%2520space%2520that%2520is%2520of%2520important%2520into%2520one%2520bi';" title="Yahoo! Bookmarks"><img src="http://www.gamerendering.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gamerendering.com/2008/10/14/octree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
