Computer Graphics Lab

Paper Code: 
MCA 227
Credits: 
02
Periods/week: 
4
Max. Marks: 
100.00
Objective: 
  • The objective of this course is to get hands-on experience with graphics programming and implementing the techniques learnt in the theory course.
  • Students acquire knowledge about the basic concepts of 2D and 3D graphic functions. They also learn various transformation and clipping techniques.

 

Unit I: 
  1. Implementation of algorithms on line, circle
  1. Two Dimensional transformations- Translation, Rotation, Scaling, Reflection
  1. Composite 2D Transformation
  1. 2D Line Clipping- Cohen Sutherland
  1. 3D Transformation- Translation, Rotation, Scaling
  1. Polygon Clipping- Hodgeman Polygon Clipping
  1. Drawing 2D & 3D objects
  1. Generating images
  1. Implementation of programs using following functions. Instructors will instruct students to use different given graphics functions in making graphics programs:

circle, cleardevice, closegraph, drawpoly, fillpoly, imagesize, line, lineto, linerel, moveto, moverel, outtext, outtextxy, putimage, putpixel, rectangle, sector, setbkcolor, setcolor, setfillstyle, setlinestyle, getarccords, getbkcolor, getcolor, getdrivername, getimage, getmaxcolor, getmaxx, getmaxy, getpixel.

   

 

Academic Year: