   Displaying bitmaps
  This should be a really simple thing to do but I''ve been trying for a few days and am completely stumped so I hope someone can help.Basically, all I want to do is display a bitmap in OpenGL.  I do NOT want to just texture a primitive because I don''t want to be limited by size, and I don''t want to use glDrawPixels because I would like the bitmap to be properly projected on to the scene.  The scene is quite a simple one, it''s 2 dimensional and in orthographic projection so I don''t need to apply any transformations to the bitmap or do anything else complicated (other than resizing it when the window resizes.)The only ''solution'' I''ve come up with so far is to just draw the bitmap using standard Windows routines (StretchBlt) but this doesn''t seem like a good approach (plus it flickers as OpenGL swaps buffers) so I''m hoping someone can come up with a better solution.Thanks for any help.   -Mark. 
  If you really want to loop up PFD_DRAW_TO_BITMAP.  It is discussed here:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnopen/html/msdn_gl6.asp ;  PFD_DRAW_TO_BITMAP isn't what I want to do - I already have a bitmap and just want to use it within my OpenGL scene.  I've now managed to open the bitmap and convert it using GDI functions (which isn't ideal but I can't see an alternative,) then use glDrawPixels to get it in to my scene.  The problem now is that I can't resize the bitmap with the scene.  The only way I can see to resize the bitmap is by using StretchBlt or StretchDIB but this involves completely reloading the image and results in a bad quality image.EDIT: Just realised I can use glPixelZoom to resize the image, silly me!  Now I've just gotta figure out how to convert pink to transparent... [edited by - moo_ski_doo on February 20, 2004 7:16:51 AM]