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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Applying Textures I<br />

• Three steps <strong>to</strong> applying a texture<br />

1. specify the texture<br />

• read or generate image<br />

• assign <strong>to</strong> texture<br />

• enable texturing<br />

2. assign texture coordinates <strong>to</strong> vertices<br />

3. specify texture parameters<br />

• wrapping, filtering

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

Saved successfully!

Ooh no, something went wrong!