how do i create different views with glortho and glperspective

i need to create a perspective, top orthographic, and
front orthographic view of my object.

but when i try glperspective i just get a black screen. changing
the fov and the near and far parameters doesn’t help. what should i do?

also how do i create a top orthographic view and front orthographic view, i know i should glortho, but what parameters
are changed. so i use glulookat to achieve this?

thanks

could you send a part of the code ?

sorry about that, here’s my code

glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(90,1,1,10);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();

this is the only matrix transform that i perform in
this code.