An Interactive Introduction to OpenGL Programming
An Interactive Introduction to OpenGL Programming
An Interactive Introduction to OpenGL Programming
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Rendering Bitmaps and<br />
Images<br />
• <strong>OpenGL</strong> can render blocks of pixels<br />
– Doesn’t understand image formats<br />
• Raster position controls placement of<br />
entire image<br />
– If the raster position is clipped, the entire<br />
block of pixels is not rendered<br />
glDrawPixels( width, height, format,<br />
type, pixels );<br />
glBitmap( width, height, xorig, yorig,<br />
xmove, ymove, bitmap );