PDA

View Full Version : Bitmap & Primitives together



SurGL
05-04-2001, 01:35 AM
Hi,
I have a problem!!!
I am displaying a Bitmap using glDrawPixel.
When the window is resized, I am taking care by adjusting the zoom factor for glPixelZoom();
I am drawing circles over specified points on the bitmap.Now.... What should i do for maintaining the circles over the specified point on window resizing.

p.s. What i understand is when window resizes, I adjust the clip volume and viewport. so the new positions for circles are calculated by OpenGl.These points does not match with bitmap points.

Any solution or workaround. I need it badly.
Regards

05-05-2001, 12:28 PM
Hey, i dont have an answer yet, but can u please tell me the syntax of glDrawPixel? it displays only bmps?

Alkakios