Due: Friday, Oct. 14, 11:59pm
FINALIZED
SUBMISSION - zip up the CL112D-MSVS2010 runnable project and upload it using the Carmen Dropbox
See getting started if you're having trouble getting started.
To get you started on OpenGl programming including:
DescriptionWrite a program that draws:
NOTES
|
After changing the display according to any of the following user interaction, issue:
glutPostRedisplay()to tell OpenGL to display the new image. At the end of your display program, call
glFlush()to empty OpenGL's buffer.
Allow for the user interface window to be resized while preventing distortion by adjusting the viewport limits.
Whenever the aspect of the world-window/viewport does not equal the aspect of the entire user interface window, compute new viewport limits that are as large as possible, but still has an aspect ratio that matches the world window aspect ratio.
Do one (or both) of the following:
NOTES:
|
Implement the mouse movement with left mouse button down to move the world space window.
The cursor should stay in a fixed place relative to the image - (similar to, say, how you can grab and move the map around in Google maps
NOTES:
|
Implement the following (special) key stroke functionality:
NOTES:
|
Implement the following key stroke functionality:
NOTES:
|