Somewhat working version of rastering using opengl.