30.07.2013 Views

Basic Graphics Programming - University of Southern California

Basic Graphics Programming - University of Southern California

Basic Graphics Programming - University of Southern California

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

OpenGL is a state machine<br />

State variables: color, camera position,<br />

light position, material properties...<br />

These variables (the state) then apply to<br />

every subsequent drawing command.<br />

They persist until set to new values<br />

by the programmer.<br />

9

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

Saved successfully!

Ooh no, something went wrong!