08.01.2015 Views

OpenGL viewing notes - Bryn Mawr Computer Science

OpenGL viewing notes - Bryn Mawr Computer Science

OpenGL viewing notes - Bryn Mawr Computer Science

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.

Vertex Arrays<br />

<br />

<br />

<br />

<strong>OpenGL</strong> provides a facility called vertex<br />

arrays that allows us to store array data in the<br />

implementation<br />

Six types of arrays supported<br />

<br />

<br />

<br />

<br />

<br />

<br />

Vertices<br />

Colors<br />

Color indices<br />

Normals<br />

Texture coordinates<br />

Edge flags<br />

We will need only colors and vertices

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

Saved successfully!

Ooh no, something went wrong!