Skip to content

adinath-nikam/VTU-6TH-SEM-CG-LAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VTU-6TH-SEM-CG-LAB

💻 Requirements CGLAB

Installing packages

sudo apt update

sudo apt-get install freeglut3-dev

sudo apt-get install mesa-utils

sudo apt-get install libxmu-dev libxi-dev

Compilation Command

g++ filename.cpp -lGL -lGLU -lglut

Execution

./a.out

Syllabus

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. Draw a colour cube and spin it using OpenGL transformation matrices.

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

5. Clip a lines using Cohen-Sutherland algorithm.

6. 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 surfaces of the 
   solid object used in the scene.

7. Design, develop and implement recursively subdivide a tetrahedron to form 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 the polygon using scan line algorithm.

About

VTU 6th Semester Lab Termworks

Resources

Stars

Watchers

Forks

Languages