OpenGL:  Projection Example
 
 

Click  here to see example of code that based on user input will render using either glOrtho, glPerspective, glFrustum a scene with 3 trees that exist at different 3D locations in the virtual world.

Here are the results:
 

via glOrtho,

via glPerspective

via glFrustum