Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

CPT205  Computer Graphics (2021-22)

Resit Assessment (100% of Module Assessment)

This re-assessment for the module has two parts for both theory and practice to examine

your understanding and application of the general knowledge and techniques / algorithms covered in the lecture and lab sessions.

PART I  Questions about Key Topics of Computer Graphics                [50 Marks]

1)   Briefly describe the key topics of computer graphics that have been taught in the module,

including the key methods and applications.

[24 marks]

2)   Briefly describe and compare the Brute Force Similar Triangles and Cohen-Sutherland methods for clipping in computer graphics.

[26 marks]

PART II  Graphics Projects using OpenGL                                                  [50 marks]

3)   Implementation of Brute force clipping of lines (Similar triangles) – You will write a program in C++ along with OpenGL to complete the following tasks:

a)   draw a graphic window,

b)   draw a clipping window within the graphic window,

c)    draw a straight line segment that is partially in the clipping window,

d)   calculate the intersection point(s) with the clipping window edge(s), and

e)   draw the straight line segment in two parts, the part inside the clipping window as a solid line segment and the part outside the clipping window as a dash-line segment.

In your code, you will first decide the size of the graphic window based on which you will decide the size of the clipping window. You will then define the straight line segment       either by specifying the x and y co-ordinates of its two end points (making sure it is          partially in the clipping window) in your code, or by taking in the x and y co-ordinate        values as user input (prompting the user the ranges of x and y co-ordinate values).

[25 marks]

4)   3D Scene – You will create a 3-dimensional simplified scene of a campus to demonstrate your knowledge and skills in computer graphics. You should make use of the graphics      techniques and OpenGL functions covered in the module. In particular, you should           consider the following when completing the task

•   A well thought-out 3D design of a campus with static and moving objects;

•   A good range of graphics techniques appropriately utilised, e.g. creation of geometry, hierarchical modelling, transformations, viewing and projection, lighting and                 materials, texture mapping (no more than 3 images of less than 1 MB to be used),       animation and interactions;

•    Effective use of relevant OpenGL libraries for implementing relevant functions;

•   Good programming practice (e.g. necessary comments and neat format of the code)

 do not copy from other sources without appropriate acknowledgment.

[25 marks]

SUBMISSION

The submission deadline is Sunday, 31 July 2022.  The following will be required for the     submission via a link in the Re-assessment section for the module in Learning Mall Online.

a)   A pdf document containing a cover sheet with basic information (module code and title, and your name, student ID and degree programme), written answers for          Questions 1 and 2 of PART I. Your pdf file should be named as                                       yourID_Surname_GivenName_Part1, e.g. 1954321_Yue_Yong_Part1;

b)   A single zip/rar file containing two folders for Questions 3 and 4 respectively. Each    folder should contain your source code, executable and other necessary files (e.g.    header and texture image files if applicable) while further files are not required. Your zip/rar file should be named as YourID_Surname_GivenName_code, e.g.                       1954321_Yue_Yong_Part2.

BACKUP AND PLAGIARISM AND COLLUSION

Backup your work.  As good practice, you should always make sure that your work is backed up on a regular basis.

This assignment is individual work.  Plagiarism (e.g. copying materials from other sources,

including your own previous work, without proper acknowledgement) and collusion (e.g.    unauthorised collaboration between two or more students / a student and another person in the preparation and production of work which is presented as the student’s own) are      serious academic offences.  They will not be tolerated and will be dealt with in accordance with the University Code of Practice on Assessment.