3D viewer: create floor as sub-divided plane instead of lines

As it turns out, rendering quads (and triangles) is much faster than rendering
lines. This improves the performance of the 3D viewer quite a bit.