Scan line seed fill algorithm


Q1. Explain the Scan Line Seed fill algorithm to produce solid area on the screen.

Q2. A box is 100 cm long, 50 cm wide and 50 cm high. This is lying with one of its corners lying at the origin of 3-D axes, with its 3 edges touching the 3 axes. Work out the essential rotations needed so that an isometric view of the object can be viewed on z = 0 plane.

Q3. An animation series is to be developed to exhibit a car accelerating from stationary position and then moving with the constant speed. Illustrate how the accelerations can be simulated for this function?

Q4. Construct the Bresenham’s circle generation algorithm to draw an octant of the circle (one eighth of a circle) with centre (0, 0) and radius R. The octant begins from the point (O, R) and lies in the first quadrant.

Q5. Work out the transformation matrix to get mirror reflection of a point (X, Y) regarding a line passing via the points (0, 20) and (20, 0). Use this matrix to get the coordinates of the reflected points of a triangle P(20, 20), Q(15, 15) and R(20, 30).

Request for Solution File

Ask an Expert for Answer!!
Computer Graphics: Scan line seed fill algorithm
Reference No:- TGS011213

Expected delivery within 24 Hours