i'm using opengl 4 on windows 8.

When i call gluPerspective, the focus or center of the view seems to be in the corner rather than the center. this is depicted in the following link to an image:

(add http in front and replace all * with . to get it working)

On the left side is how a wireframe cube would look if i used gluPerspective. The view is centered on the lower left corner.

On the right side is how i want the cube to look. The view is centered on the center, and all edges of the cube are visible.

how can i do this?