PDA

View Full Version : onscreen controls for 3d game



12-09-2003, 11:26 AM
What is the best way to have onscreen controls that will stay put when I rotate the camera view? I want to make a chess game in 3d where the camera view can rotate, the pieces will be controlled using a 2d chessboard that will not change when the camera view is rotated. Thanks for any help you can give.

mikael_aronsson
12-09-2003, 02:07 PM
You would just push/pop (or just reset) the matrices, set a modelview matrix render something, set a new modelview matrix and render again and so on...

Mikael