Write template for GLUT viewier, might be useful as a gist or something