18.07.2014 Views

An Interactive Introduction to OpenGL Programming

An Interactive Introduction to OpenGL Programming

An Interactive Introduction to OpenGL Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pixel-based primitives<br />

• Bitmaps<br />

– 2D array of bit masks for pixels<br />

• update pixel color based on current color<br />

• Images<br />

– 2D array of pixel color information<br />

• complete color information for each pixel<br />

• <strong>OpenGL</strong> does not understand image<br />

formats

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!