Syllabus   Blank Homework   Quizzes  
Notes   Labs   Scores   Blank

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

Curves and Surface Rendering

  1. Make a new directory called lab5.
  2. Compare curve rendering using polynomial interpolation and degree 3 Bezier curve. Use four control points to generate the cuves and render them on the same screen. Try 3 very different sets of control points to see how the curves change with control points.
  3. Use 16 points and appropriate OpenGL commands to produce a surface that approximates the upper hemisphere of a spherical surface. Turn on lighting to show the 3D effect. (see bezmesh.cpp )

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