Page 424 OpenGL Super Bible! glPixelStorei(GL_UNPACK_ALIGNMENT, 4); glPixelZoom(xscale, (Dedicated web hosting)
Page 424 OpenGL Super Bible! glPixelStorei(GL_UNPACK_ALIGNMENT, 4); glPixelZoom(xscale, yscale); glRasterPos2i(xoffset, yoffset); glDrawPixels(BitmapInfo->bmiHeader.biWidth, BitmapInfo->bmiHeader.biHeight, GL_RGB, GL_UNSIGNED_BYTE, BitmapBits); }; glFinish(); } Summary In this chapter you have learned about most of the OpenGL bitmap functions. Beyond the simple application of character fonts, bitmaps can be full-color images for window backgrounds or texture images (explored in the chapter coming up). OpenGL functions such as glPixelMap, glPixelTransfer, and glPixelZoom can be used for special effects, as well.
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.