1 / 13

CS 174 Discussion 8

CS 174 Discussion 8. Gianfranco Doretto. Submission guidelines. Due: 6 / 6 /2002 at 11 :00pm  No partial credit will be given to programs which cannot be compiled and tested on ugrad.seas (Solaris) Submission system will be open from Monday 3rd, trough Thursday 6th at 11:00pm

foster
Download Presentation

CS 174 Discussion 8

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 174 Discussion 8 Gianfranco Doretto Gianfranco Doretto May 31, 2002

  2. Submission guidelines • Due: 6/6/2002 at 11:00pm  • No partial credit will be given to programs which cannot be compiled and tested on ugrad.seas (Solaris) • Submission system will be open from Monday 3rd, trough Thursday 6th at 11:00pm • NO submission will be accepted by SEASnet after June6th, at 6:00 pm  Gianfranco Doretto May 31, 2002

  3. Submission guidelines • submit a tarball: source code files, Makefile, input script files, README etc. • Example: your files are located in $(HOME)/lab3 • 1) cd ~/ • 2) tar cvf lab3.tar lab3 • 3) gzip lab3.tar • 4) submit cs174 lab3.tar.gz • After you hit the return key, a statement like "submission successful" will be printed on the screen Gianfranco Doretto May 31, 2002

  4. README file • submit a README file with each lab, only if you are doing the extra credit stuff, or if you are doing something different from what is mentioned in the lab description handout.  Also, mention what assumptions you have made to get your lab running. • Your name appeared in UCLA record, • Your student ID, • Your preferred email address • Your seas login ID, • Date and Lab number. Gianfranco Doretto May 31, 2002

  5. Surce files • In particular, you must put down the following information at the top of each program file. • Your name appeared in UCLA record • Your student ID • Your preferred email address • Your seas login ID • Date and Lab number Gianfranco Doretto May 31, 2002

  6. Grading policy • No basic information  5 points of penalty • Compilation on Solaris using Makefile: 5 points • Good programming style (comments, modularity, etc …): 5 points Gianfranco Doretto May 31, 2002

  7. Grading policy • Object loading and creation: 15 points • Transformations (scaling, translation, rotation): 15 points • Observer: 15 points • Viewport (2D clipping): 15 points • Display (window-to-viewport mapping): 10 points • Reset, clearScreen, clearData, end, #: 15 points • Wait-for-return: 5 points Gianfranco Doretto May 31, 2002

  8. Extra credit • Back-face elimination: 5 points • 3D clipping: 10 points • Shading: 5 points Gianfranco Doretto May 31, 2002

  9. Weiler-Atherton Visibility Algorithm Characteristics: • Area-subdivision algorithms • Polygon area coherence • Based on a general polygon clipper (concave polygons with holes clipped to a concave polygon with holes) Gianfranco Doretto May 31, 2002

  10. Basic steps • Preliminary rough depth sort • XY polygon area sort • Depth sort • Recursive subdivision if error in original depth sort Gianfranco Doretto May 31, 2002

  11. XY polygon area sort: inside/outside lists Gianfranco Doretto May 31, 2002

  12. Z Sort: recursive subdivision Gianfranco Doretto May 31, 2002

  13. Z Sort: recursive subdivision Gianfranco Doretto May 31, 2002

More Related