graphics exercise (b.tech)

40
TOPIC : Question of Ch - 3(FOLEY )

Upload: sonia-pahuja

Post on 14-Apr-2017

33 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Graphics exercise (b.tech)

TOPIC :

Question of Ch -3(FOLEY)

Page 2: Graphics exercise (b.tech)
Page 3: Graphics exercise (b.tech)

• If pk < 0, this midpoint is inside the circle and the pixel on scan line yk is closer to the circle boundary.

• Otherwise, the midposition is outside or on the circle boundary,and we select the pixel on scanline yk – 1.

Page 4: Graphics exercise (b.tech)

4.Determine symmetry points in the other seven octants.5. Move each calculated pixel position (x, y) onto the circular path centered on (x, yc) and plot the coordinate values: x=x+xc, y=y+yc6. Repeat steps 3 through 5 until x >= y.

Page 5: Graphics exercise (b.tech)
Page 6: Graphics exercise (b.tech)
Page 7: Graphics exercise (b.tech)
Page 8: Graphics exercise (b.tech)
Page 9: Graphics exercise (b.tech)
Page 10: Graphics exercise (b.tech)
Page 11: Graphics exercise (b.tech)
Page 12: Graphics exercise (b.tech)
Page 13: Graphics exercise (b.tech)
Page 14: Graphics exercise (b.tech)
Page 15: Graphics exercise (b.tech)
Page 16: Graphics exercise (b.tech)
Page 17: Graphics exercise (b.tech)
Page 18: Graphics exercise (b.tech)
Page 19: Graphics exercise (b.tech)
Page 20: Graphics exercise (b.tech)
Page 21: Graphics exercise (b.tech)
Page 22: Graphics exercise (b.tech)
Page 23: Graphics exercise (b.tech)
Page 24: Graphics exercise (b.tech)
Page 25: Graphics exercise (b.tech)
Page 26: Graphics exercise (b.tech)
Page 27: Graphics exercise (b.tech)
Page 28: Graphics exercise (b.tech)
Page 29: Graphics exercise (b.tech)
Page 30: Graphics exercise (b.tech)
Page 31: Graphics exercise (b.tech)
Page 32: Graphics exercise (b.tech)
Page 33: Graphics exercise (b.tech)
Page 34: Graphics exercise (b.tech)
Page 35: Graphics exercise (b.tech)
Page 36: Graphics exercise (b.tech)
Page 37: Graphics exercise (b.tech)
Page 38: Graphics exercise (b.tech)
Page 39: Graphics exercise (b.tech)
Page 40: Graphics exercise (b.tech)