World Structure Technique

Block Technique
This is a 2D cut out of the world with the purple block being the centre.

You may also like...

5 Responses

  1. Luke says:

    This is really interesting and the demo rocks, any chance you could go into more detail such as data structures or when exactly a particular voxel is split into four? Btw I think layer 0 (directly surrounding the middle cube) is split into four voxels on the next layer in game.

  2. Da5id says:

    Thank you for pointing me in the right direction Jordan! I avoided generating anything below say four layers above the core because I couldn’t think of a good way to handle it, and currently my blocks keep getting wider as distance from the core increases, but I think this is a pretty good system if you are going to generate voxel planets in this manner. I still don’t know how I feel about the larger blocks though, it seems a little strange to break in game.

  3. fyst says:

    I’m trying real hard to understand how this diagram maps onto the result I see in the demo but to no avail. Can anyone help a n00b out?

  4. fyst says:

    Oh nevermind, I finally realized they aren’t cubes – they are actually subtle trapezoids but I had to look really carefully while playing. Now I get it 🙂 Slick job!

Leave a Reply to fyst Cancel reply