finish head opengl rendering