Rendering the weapon in the first person view.

Hi, all,

Currently I am developing an FPS demo. I need to draw the weapon in the first person view(like it looks in Quake,etc. You know what I mean:)), but I had problems figuring out what the transformation is. Can anybody tell me how this works? Thanks a lot.

just draw the weapon before everything else and before you have transformed the modelview matrix