I am trying to overlay some bitmaps onto my
3d models, for the user interface in a game I am writing.
Basically, I have a bitmap representing a control panel, and it is non transparent.
I also have a mouse pointer bmp, and it is transparent.
I draw my shapes, then overlay the menu onto it and finally draw the mouse pointer over the whole thing.
I am getting a weird effect. The mouse pointer is transparent when over the 3d objects (fine), but when it passes over the menu I can see the 3d objects through the menu ( not fine ).
I suspect the depth buffer is meddling with my program???
I can email my bitmap class, if anyone would
care to assist.
Thanks!
dd