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.

Perspective Correction<br />

Hint<br />

• Texture coordinate and color interpolation<br />

– either linearly in screen space<br />

– or using depth/perspective values (slower)<br />

• Noticeable for polygons “on edge”<br />

glHint( GL_PERSPECTIVE_CORRECTION_HINT, hint )<br />

where hint is one of<br />

• GL_DONT_CARE<br />

• GL_NICEST<br />

• GL_FASTEST

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

Saved successfully!

Ooh no, something went wrong!