Docsity

Hello Graphics World - Assignment 1 | CSC 461, Assignments of Computer Graphics

Toggle sidebar
bg1
CSC 461 Sept 2008
Assignment 1
Hello Graphics World
Due: end of Monday, September 22
Learning Objective:
In this assignment you will familiarized yourself with programming in OpenGL and
GLUT/GLUI. You will also learn about rendering points, lines and polygons, and simple
transformations of those primitives.
Output:
You will spell your name in points, lines and polygons. The initial view should be points.
When the user hits the spacebar, it should swap to lines. The next spacebar press should
switch to polygons. Another spacebar press goes back to the beginning. Your name
should be viewable from all sides. You may accomplish this by rotating in response to the
left and right arrow key, but you will receive extra credit if you figure out how to use the
GLUI rotation widget.
Method:
You may hardcode your name into your program. In a few days, the TA will provide you
with a GLUT shell program that opens a window, displays a triangle, and change the
triangle’s color when the spacebar is pressed. She will handle all details regarding turn in
etc.

Partial preview of the text

Download Hello Graphics World - Assignment 1 | CSC 461 and more Assignments Computer Graphics in PDF only on Docsity!

CSC 461 Sept 2008 Assignment 1

Hello Graphics World Due: end of Monday, September 22

Learning Objective: In this assignment you will familiarized yourself with programming in OpenGL and GLUT/GLUI. You will also learn about rendering points, lines and polygons, and simple transformations of those primitives.

Output: You will spell your name in points, lines and polygons. The initial view should be points. When the user hits the spacebar, it should swap to lines. The next spacebar press should switch to polygons. Another spacebar press goes back to the beginning. Your name should be viewable from all sides. You may accomplish this by rotating in response to the left and right arrow key, but you will receive extra credit if you figure out how to use the GLUI rotation widget.

Method: You may hardcode your name into your program. In a few days, the TA will provide you with a GLUT shell program that opens a window, displays a triangle, and change the triangle’s color when the spacebar is pressed. She will handle all details regarding turn in etc.