Bitmaps in OGL
I am trying to create a main menu for my game. Is there a way you can just blit a bitmap to the screen without changing its size without using a quad? Also, how do you make specific colors in a bitmap transparant while the bitmap is being blitted.
i assume youre talking about textures and not bitmaps.
>>Is there a way you can just blit a bitmap to the screen without changing its size without using a quad<<
glDrawPixels of setup an ortho modelviewprojection (check the faq) and draw the textured poly to that
>>Also, how do you make specific colors in a bitmap transparant while the bitmap is being blitted.<<
manually alter the alpha of the pixels when u load the texture
http://members.xoom.com/myBollux
>>Is there a way you can just blit a bitmap to the screen without changing its size without using a quad<<
glDrawPixels of setup an ortho modelviewprojection (check the faq) and draw the textured poly to that
>>Also, how do you make specific colors in a bitmap transparant while the bitmap is being blitted.<<
manually alter the alpha of the pixels when u load the texture
http://members.xoom.com/myBollux
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement