Informazioni sul documento
- Università
- Politecnico di Milano
- Corso di laurea
- Computer Engineering
- Materia
- Computer Graphics
- Classificazione
- Appunti · Completi
- Formato originale
- Testo
- Testo ricercabile
Completi di Computer Graphics per il corso di Computer Engineering presso Politecnico di Milano. Materiale proveniente dall’archivio storico Studwiz e classificato per la consultazione online.
Completi di Computer Graphics per il corso di Computer Engineering presso Politecnico di Milano. Materiale proveniente dall’archivio storico Studwiz e classificato per la consultazione online.
Qualità dell’importazione: il testo è stato estratto direttamente dal documento originale.
Passaggi rappresentativi riconosciuti nelle diverse parti del materiale. Il testo completo resta presente nella pagina per la ricerca, mentre l’anteprima compatta rende più semplice la lettura.
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…
Prima pagina del documento.