Professional Documents
Culture Documents
Important Instruction: Write your name and roll number on the top of the first page.
Q1. Describe Scan line polygon filling algorithm with suitable example.
Q2. Number the order of the white pixels of the following polygon to be filled using boundary fill
algorithm
Start from the pixel marked with yellow color as seed pixel. Red color is the boundary color.
Q3. Generate the line from (2,2) to (9,5) using Bresenhams line generation algorithm.
Q4. Generate points of the circle using Bresenhams circle generation algorithm, Given radius = 8
Q5. Find initial decision parameter using midpoint ellipse generation algorithm for region I
Find only first two points using the above algorithm for region I.
Transform the window point (Xwin , Ywin ) = ( 45,55 ) to viewport point (Uview, Vview) = ?
Q7. Let ABCD be the rectangular window with A(20,20) B(90,20) C(90,70) and D(20,70) .Find
Region codes for endpoints. Use Cohen-Sutherland Algorithm to clip the line P1P2 with P1(10,30)
P2(80,90)
Q10. Derive Quadratic Bezier Curve and write its transformation matrix.
Q13. Describe GIF file format with its advantages and disadvantages.
Q14. Write about any five visual changes of animation that appears on the display screen.
****************************