OpenGL code for walking setup