10CSL67
10CSL67 copied to clipboard
Computer Graphics and Visualization Lab (VTU)
Index
- 3D Sierpinski
- Liang-Barsky
- Color Cube with OpenGLTransformation
- House
- Cohen-Sutherland
- Cylinder and Parallelepiped
- Tea pot
- Color cube with perspective viewing
- Polygon using scan-line area filling
- Rectangular mesh
Installing on Linux
You can install the required dependencies using the following commands
On Debian based systems
sudo apt-get update
sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
sudo apt-get install binutils-gold
sudo apt-get install g++ cmake
sudo apt-get install libglew-dev
sudo apt-get install g++
sudo apt-get install mesa-common-dev
sudo apt-get install build-essential
sudo apt-get install libglew1.5-dev libglm-dev
On Fedora/RedHat based systems
sudo dnf group install c-development
sudo dnf install freeglut-devel
On Arch based systems
pacman -S mesa glu freeglut
On MacOS/OSX
add OPENGL.framework and GLUT.framework to project properties in XCode
Compiling the code
sh compile.sh file
Executing the code
./file.o