DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19...

37
DC66 COMPUTER GRAPHICS DEC 2015 © IETE 1 Q.2 a. List out the four uses of computer graphics. (2) Answer: b. With a neat diagram. Explain graphics system configuration. (8) Answer:

Transcript of DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19...

Page 1: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 1

Q.2 a. List out the four uses of computer graphics. (2) Answer:

b. With a neat diagram. Explain graphics system configuration. (8) Answer:

Page 2: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 2

Page 3: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 3

Page 4: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 4

c. Explain the essential components of GUI. (6) Answer:

Page 5: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 5

Page 6: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 6

Q.3 a. Write the algorithm for raster display of a line using Bresenham’s

Algorithm. (8) Answer:

Page 7: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 7

Page 8: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 8

b. Explain scan line seed fill algorithm for filling a polygon with a single color. (6) Answer:

Page 9: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 9

c. What is aliasing & antialiasing? (2) Answer:

Page 10: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 10

Page 11: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 11

Q.4 a. Derive the Transformation matrix in 2D for: (2x2) (i) Shearing about x axis (ii) Reflection about y axis Answer:

b. Give the transformation matrix for reflection of a point along the line y = mx + c. (6)

Page 12: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 12

Answer:

Page 13: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 13

c. Explain the steps required to rotate an object in 3D about an arbitrary point. (6) Answer:

Page 14: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 14

Q.5 a. Explain the Barsky 2D line clipping algorithm. (8) Answer:

Page 15: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 15

Page 16: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 16

b. Explain the steps involved in 2D viewing transformation. (8) Answer:

Page 17: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 17

Page 18: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 18

Page 19: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 19

Q.6 a. Define Perspective and Parallel projections. What is the main difference between them? (4)

b. Derive the transformation matrix for the projection of a point (x, y, z) onto the plane z = 0 with centre of projection at (0, 0, –zc). (8)

c. What do you mean by vanishing points? What are different types of vanishing points? (4)

Answer: A B and C

Page 20: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 20

Page 21: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 21

Page 22: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 22

Page 23: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 23

Q.7 a. Explain back face detection method of hidden surface removal. (10) Answer:

Page 24: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 24

Page 25: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 25

Page 26: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 26

b. Explain the following w.r.t. hidden line removal (6) (i) Direct method

Page 27: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 27

(ii) Using visible surface detection methods Answer:

Page 28: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 28

Page 29: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 29

Q.8 a. Briefly explain any two different devices used for producing animation. (8) Answer:

Page 30: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 30

Page 31: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 31

b. Explain different video formats. (8) Answer:

Page 32: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 32

Page 33: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 33

Q.9 a. Explain BMP file format. (10) Answer:

Page 34: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 34

Page 35: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 35

b. Explain compact disk and digital versatile disk. (6) Answer:

Page 36: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 36

Page 37: DC66 COMPUTER GRAPHICS DEC 2015 - iete-elan.ac.in · DC66 COMPUTER GRAPHICS. DEC. 2015 © IETE. 19 . Q.6 a. Define Perspective and Parallel projections.

DC66 COMPUTER GRAPHICS DEC 2015

© IETE 37

Text Book Computer Graphics C Version, Hearn D, N. Sinha, Arun D Udai, TMH, 2008