An Interactive Introduction to OpenGL Programming
An Interactive Introduction to OpenGL Programming
An Interactive Introduction to OpenGL Programming
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Controlling a Light’s<br />
Position<br />
• The model-view matrix affects a light’s<br />
position<br />
– Different effects based on when position is<br />
specified<br />
• eye coordinates<br />
• world coordinates<br />
• model coordinates<br />
– Push and pop matrices <strong>to</strong> uniquely control a<br />
light’s position