Back
NotesComplete set

Raccolta temi 2016

Complete course materials for Computer Graphics in the Computer Engineering degree programme at Politecnico di Milano. The document covers: DRAFT y +1/1/60+ y Student ID ( Matricola) 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 Computer Graphics Course 090958 2015-16 Course Compiled Exams File (with Solutions) Last Name / Cognome: . . . . . .

Computer GraphicsComplete set

Document information

What's included in this study material

Complete course materials for Computer Graphics in the Computer Engineering degree programme at Politecnico di Milano. The document covers: DRAFT y +1/1/60+ y Student ID ( Matricola) 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 Computer Graphics Course 090958 2015-16 Course Compiled Exams File (with Solutions) Last Name / Cognome: . . . . . .

Import quality: text was extracted directly from the original document.

Extracted content from the document

Representative passages recognised in different parts of the material. The full extracted text remains available to search, while this compact preview makes the page easier to read.

Page 1

DRAFT y +1/1/60+ y Student ID ( Matricola) 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 Computer Graphics Course 090958 2015-16 Course Compiled Exams File (with Solutions) Last Name / Cognome: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . First Name / Nome: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers must be given exclusively on the answer sheet (last sheet): DO NOT FILL ANY BOX IN THIS SHEET Students must use pen (black or blue) to mark answers (no pencil). Students are permitted to use a non-programmable calculator. Students are NOT permitted to copy anyone else's answers, pass notes amongst themselves, or engage in other forms of misconduct at any time during the exam. Students are NOT permitted to use mobile phones and similar connected devices. Scores: correct answers +1 point, unanswered questions 0 points, wrong answers -0.333 points. y For your examination, preferably print documents compiled from auto-multiple-choice. y Exam 1 DRAFT y +1/3/58+ y Exercise: 2D graphics Let us consider a line that connects point P = (4, 6) to point Q = (0, 15) Question 1 The x coordinate of its 5-th pixel is: A 4 B 2 C 1 D 3 Question 2 The y coordinate of its 5-th pixel is: A 10 B 8 C 11 D 9 SOLUTION: Using either the Bresenham or the interpolation algorithm, starting from either of the vertices, the fth pixel will always be in the center of the two vertices, that is at (2, 10). Question 3 An image has the size of w = 300 and h = 200 pixels. Each pixel is coded with 3 bits for the red, 3 bits for the green and 2 bits for the blue…

Preview

First page of the document.

First page: Raccolta temi 2016