PDA

View Full Version : display colored rectangle



guju
07-03-2002, 06:41 AM
i want to display my 3d stuff and two fixed rectangles. therefore i wanted to use a bitmap, but how can i fix it on screen.
Thanks
Juergen

Dodger
07-03-2002, 06:58 AM
Fix it on screen as in have it not moving when the camera moves?
Here's a hint: make sure the modelview matrix doesn't contain any transformation when rendering your rectangles... http://www.opengl.org/discussion_boards/ubb/wink.gif
Search the beginner's forum or google for more information, also have a look at orthographic mode.