Translating problems

Right now in my program, I have it where you can walk around in a world. Its first person perspective and the I translate the world using some simple cos and sin functions, anyways, I’m trying to draw a light saber of some sort to always be in view of the camera, to move with the camera, just like any other first person game. But I can’t get it to move parallel to the viewport. Is there some kind of matrix manipulation I have to do, somebody please help. Thanks.

That’s called billboard, I’m sure u can find info on billboarding on this site or on OpenGL FAQ around the net.

Anyway, U can surely find a billboarding sample on Nate Miller’s web site at nate.scuzzy.net

rIO.sK http://www.spinningkids.org/umine