hi all, when i setup my ogl scene i call :
which is fine for a std. top down or side scroll view, but whats best way to create a perspective type view of the scene?
cheers
glViewport(0.0,0.0,width,height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(0.0,width,height,0.0,-1.0,1.0); glMatrixMode(GL_MODELVIEW); glLoadIdentity();
which is fine for a std. top down or side scroll view, but whats best way to create a perspective type view of the scene?
cheers