CGV-Lab-Programs

CGV-LAB-PROGRAMS


1. Implement Brenham’s line drawing algorithm for all types of slope.


2. Create and rotate a triangle about the origin and a fixed point.


3.Program to draw a color cube and spin it using OpenGL transformation matrices.


4. Program to draw a color cube and allow the user to move the camera suitably to experiment with perspective viewing.


5. Program to clip a lines using Cohen-Sutherland line-clipping algorithm.


6. Program to draw a simple shaded scene consisting of a tea pot on a table. Define suitably the position and properties of the light source along with the properties of the properties of the surfaces of the solid object used in the scene.


7. Program to recursively subdivide a tetrahedron to from 3D Sierpinski gasket. The number of recursive steps is to be specified by the user.


8. Develop a menu driven program to animate a flag using Bezier curve algorithm.


9. Develop a menu driven program to fill any given polygon using scanline area filling algorithm.