head rendering without glut