Octrees as data structure

Posted by Christian Frantz on Game Development See other posts from Game Development or by Christian Frantz
Published on 2013-10-17T18:02:27Z Indexed on 2013/10/17 22:22 UTC
Read the original article Hit count: 257

Filed under:
|

In my cube world, I want to use octrees to represent my chunks of 20x20x20 cubes for frustum and occlusion culling. I understand how octrees work, I just dont know if I'm going about this the right way.

My base octree class is taken from here: http://www.xnawiki.com/index.php/Octree

What I'm wondering is how to apply occlusion culling using this class. Does it make sense to have one octree for each cube chunk? Or should I make the octree bigger? Since I'm using cubes, each cube should fit into a node without overlap so that won't be an issue

© Game Development or respective owner

Related posts about c#

Related posts about octree