Here's a brief overview on how to render the maze. You need a background and a set of walls to render.
The background image you must first apply before any rendering.
The walls :
- 3 front views
- 6 side views (the right view is automatically done by using a mirror effect).
To render the maze, you have to use the [painter algorithm], render distant objects first, followed by closer objects and finally the closest wall.
Here's an animation showing the final result :
Here's the 23 wall sides to draw to render an ingame view :
* red : wall sides to render * blue : Team view field * The case between N and P is the point of view