Is it possible to load a bitmap as a background and then draw on top of that? For example, say you had an image of a speedometer. Could you use that image as a background and then draw on top of that a line indicating speed? If so, what is the best way to accomplish something like this?
Thanks for the help!
first you draw a square to be your background, then you draw the needle with a z closer to the camera, use glrotate to spin the needle,
if you use ortho(non 3d/2d flat mode) draw the needle last, it will appear on top
to get more info about drawing in gl try nehe.gamedev.net, he is where i learned gl from, very good tuts
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.