Syllabus   Blank Homework   Quizzes  
Notes   Labs   Scores   Blank

Lab 1, due 1/9/19 (Wed), 6 pm
Dr. Tong Lai Yu

Animation and Lighting

  1. As a review of what you learned in CSE 420, write a graphics program that has the following features:
    1. A ball, which can be created using glutSolidSphere() is located at the origin and is lit by some light (any color) from the top.
    2. The ball moves to the right for some distance and then moves in the opposite direction to the left for some distance, then reverses direction again.
    Compile and run the program.

  2. Write a report that shows all your work; make sample screen shots of your graphics outputs of the problem. Comment on and self-evaluate your work; state explicilty whether you have finished each part successfully! If you have finished all parts succussfully, give yourself 20 points, otherwise deduct some points that you feel apropriate. The instructor may adjust your score depending on your submitted report.

Note: All your work must be saved in pdf file format and submitted online! Typically, your submitted pdf file should should consist of the source code you write that is highlighted. It should also have a screen shot of the output of the program. (But do not use screen shot for text outuput, including source code.) You must also put down your name but not your student ID in your submitted report. To submit your lab, you must first login by choosing your name, entering your student id, and clicking Login below.

Choose your name:
Enter your student id (xxxxxxxxx):