Display 3D-Object

I have 3D object presented by its surfaces,Each surface is the polygon with n vertexes.
For every vertex 3 coordinates are given :(x,y,z),when -1<=x,y,z<=1
I need to draw the object…How can I do it,using perspective projection

Thank you in advance for the answers

First do a tutorial about “First triangle”, then build on that :

You have to know that even if polygons exists in OpenGL 2, they must be convex or strange artifacts can appear.

I did all tutorials in the link above…

The question was how to build perspective projection
And what is reccomened in order to deal with hidden surfaces…

Then go for next page :slight_smile:
You don’t need the texturing part, but there is perspective projection and hidden surface removal (through depth testing and the zbuffer).