Octree Towers

January 31st, 2010

I found a sneaky bug in my overhang-detection code which was preventing altitude. Here are 10,000 blocks of altitude.

10,000 turns out to be the limit of my patience – with the overhang-detection code, this takes about two hours. This code isn’t the most efficient way to build this structure – if I were aiming for this specifically it would be simpler to just keep track of which ground-plane squares I’d built into without doing collision-detection, and then build straight up from each square. That’s typically how city-building code works, and by and large, that’s what we’re seeing here.

But I don’t plan to keep to just cubes, stacked on top of each other. Oh my goodness gracious no.

« previously: Moldsville | Home | next: Guests from Overseas »

One Response to “Octree Towers”

  1. Peter Says:

    Yea this one is really sweet.

Leave a Reply