PDA

View Full Version : Rendering the weapon in the first person view.



lgc_ustc
04-07-2004, 09:39 PM
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.

chowe6685
04-08-2004, 03:04 AM
just draw the weapon before everything else and before you have transformed the modelview matrix