CS2405 SET2
-
Upload
vigneswaran-vignesh -
Category
Documents
-
view
25 -
download
0
description
Transcript of CS2405 SET2
1
ANNA UNIVERSITY, CHENNAI-600025.
B.E / B.Tech DEGREE EXAMINATION, Nov/Dec 2014.
Regulation-2008
BE - Computer Science and Engg / B.Tech – Information Technology
Semester 7
CS2405 / Computer Graphics Lab
Time : 3 Hours Max Marks : 100
1. a. Write program to draw line using Bresenham’s Line drawing program. ( 50 )
b. Apply the above program to create Solid Line, Dotted Line, Center Line, Dashed Line and Userbit Line using line attributes. ( 50 )
2. a. Write program to draw circle using Bresenham’s circle drawing program using x-coordinate of the centre point : 100, y-coordinate of the centre point : 100 and radius : 50. ( 50 ) b. Write an program to create Empty Fill, Soild Fill,Line Fill, Wide dot Fill, Close dot Fill and User Fill using circle attributes. ( 50 )
3. a. Write program to draw circle using Bresenham’s ellipse drawing program using x-coordinate of the centre point : 100,y-coordinate of the centre point : 200, x-coordinate of the radius : 50 and the y-coordinate of the radius : 60. ( 50 ) b. Write program to create Empty Fill,Soild Fill,Line Fill,Wide dot Fill,close dot Fill
and User Fill using ellipse attributes. ( 50 )
2
4. a. Write program to perform translation of a triangle object as below. ( 50 )
b. Apply reflection of the above object with respect to x axis and y-axis. ( 50 )
5. a. Write program to perform translation of a triangle object as shown below. ( 50 )
b. Apply shearing with respect to x-axis and y axis separately as shown below. ( 50 )
3
6. i. Write a program to create 3 D object as shown below. ( 50 )
ii. Apply 3-D translation and rotation with respect to x axis. ( 50 )
7. i. Write a program to create 3 D object as shown below. ( 50 )
ii. Apply 3-D translation and scaling operation. ( 50 )
8. Write a program to perform 2-D Composite transformation (translation followed by rotation) of triangle. ( 100 )
4
9. i. Write a program for 2-D Reflection with respect to x axis. ( 50 )
ii. Write a program for 2-D shearing. ( 50 )
10. Write a program to perform cohen Sutherland line clipping program. ( 100 )
11. Write a program to perform Sutherland Hodgeman polygon clipping program. ( 100 )
12. Write a program to generate fractal image. ( 100 )
13. i. Write a program to apply scaling to 2-Dimensional shapes. ( 50 )
Ii. Write a program to apply rotation to 2-Dimensional shapes. ( 50 )
5
14. i. Write a program to apply scaling to 2-Dimensional shapes. ( 50 )
ii. Write a program to apply shearing to 2-Dimensional shapes. ( 50 )
15. Write a program to apply composite scaling and rotation to 2-D shapes. ( 100 )
16. Write a program to apply composite translation and rotation to 2-D shapes. ( 100 )
17. Write a program to apply composite translation and scaling to 2-D shapes. ( 100 )
18. Write a program to apply scaling and rotation to 3-Dimensional shapes. ( 100 )
6
19. Write a program to apply scaling and translation to 3-Dimensional shapes. ( 100 )
20. Write a program to apply translation and rotation to 3-Dimensional shapes. ( 100 )