hi all,
i want to put 3 things on the sreen
,a map information(ie. an image), over that my drawing and again one more drawing on it. the objects has to transparent, so that i can see the map information.
in directx triple buffering is possible, how about in opengl?
please help me…
I think it is an extension. Anyways for your problem, you need the accumulation buffer. You would render the map onto it first, then the second drawing on to that and the third drawing on to that. You would have to alpha blend the second and third drawings to the map. This is only if you store all three drawins in seperate buffers. Or else you could just normally draw the map to the background and follow it up with the two other drawings alpha blended (this is without accumulation buffer).