Rendering code for a 3D grid with regular spacing in X and Y directions, but, possibly, irregular spacing in Z direction. Intended for calling from GX Simulator.
