A Bird's Eye View of a Procedurally Generated Maze |
I used a variant of the Randomized Prim's Algorithm. The basic algorithm, as described on Wikipedia is actually one of the most clear and concise explanations I have found. The problem I had with most algorithms I found was that they used lines for walls rather than blocks themselves, which simply won't work in a 3D world of this sort (but are fine for things like online Java Applets). Nonetheless, resources like Think Labyrinth and Daedalus are excellent references for exploring this line of algorithms.
No comments:
Post a Comment