Syllabus   Blank Homework   Quizzes  
Notes   Labs   Scores   Blank

Lab 4, due 2/6/19 (Wed), 6 pm
Dr. Tong Lai Yu

Color Tetrahedron

  1. Make a new directory called lab4. Write a glsl shader graphics program that renders a colored tetrahedron like the one shown below. When one clicks on the mouse, the object can rotate along the x, y or z axis automatically.
Compile and run the program.

  • 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):