Syllabus   Blank Homework   Quizzes  
Notes   Labs   Scores   Blank

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

Extrusion

  1. Make a new directory called lab7.
  2. As shown in the figure below, draw an ARROW prism by following the below steps:
    1. Create the vertice list for the base arrow and draw the base arrow.
    2. Create the vertice list for the cap arrow and draw the cap arrow.
    3. Create the face list for the cap, base and walls.
    4. Draw the whole prism.

    There is a sample program in the directory

      /pool/u/class/cs520/labs/lab4

    that displays a mesh. You can try it and make use of the utility program in your work. Basically, you need to create a file like that of data.txt for the prism.

  3. (5 points EC) Draw the prism with double-sided arrows.

  4. 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):