By using the function
glortho( 0,0,maxX,maxY,0,maxZ) I can define the viewing volume in my viewport....
I have set the option in the user interface window to select either ortho view or perspective view..... My coordinate axes x,y,z lie at the lower left corner of the graphical window in orthographic view...
the problem is if the user selects the perspective view....the picture disappears and it is somewhere in the graphics window..... and the coordinate axes comes to the center.....
glperspective(45, w/h,1.0, 12000);
is there anything I have to improve the relation between ortho and perspective....
Thanking you
Start Free Trial