• Learning XNA
    32 replies, posted
[QUOTE=VoiDeD;18721669]I remember reading on the word of notch that Minecraft uses a BSP format for it's levels. Each time you delete or place a block it re-partitions the geometry for optimal rendering efficiency. In a basic sense, it attempts to recreate a large cube section of blocks as a single large block, so that it renders only once for the large cube, instead of once for each cube inside of it. Having a 3d array of blocks is very inefficient compared to this method. I don't quite exactly remember how the textures were handled though..[/QUOTE] That can't be right, because if you have noclip you can see each individual cube when you go through walls.
Maybe I'm mistaken then. I highly doubt it's using a 3d array of blocks though.
If you're making tile-based levels a multidimensional array seems fine.
Sorry, you need to Log In to post a reply to this thread.