Computer Graphics Lab
Spring 2015-2016 • CSE SW Lab FRI • 14:00-16:55
Assignments
Meshlab
First login to the local machine.
Now login to the server of IP 10.5.18.90, using the following command:
ssh -X <login_name>@server_IP
To view an obj file in meshlab, use the following command:
meshlab &
OpenGL, GLUT, GLUI
Login to the server with IP 10.5.18.66 or 10.5.18.75 after login to the local machine,
as explained above.
After server login, you may copy the example files from the servers.
For this, use the following commands:
cp -r /usr/local/glui-2.36/src/example .
cd example
For compiling, use the following command:
./Compile <prog_name.cpp> <prog_name.out>
Installation (In UBUNTU)
With internet connection ON, just execute the following statements in sequence:
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install freeglut3 freeglut3-dev
sudo apt-get install libXi-dev
sudo apt-get install libXmu-dev
Sample Code
pb1.cpp
OpenGL Resources
OpenGL tutorial |
OpenGL wiki
Softwares
2D & 3D Objects
You can right-click on the link and then save it.
- 2D objects: 85 silhouette images
- 3D integer point set: zip of 4 files
- 3D OBJ files
- PLY files
airplane |
apple |
bunny: large |
medium |
small |
tiny |
canstick |
cow |
cube |
cube-twisted |
dodecahedron |
flowervase |
fighter plane f16 |
p20 |
p120 |
kerosene lamp |
ladybird |
mug |
pickup van |
stratocaster |
street lamp |
table |
table 2 |
teapot |
testa |
toy plane |
trashcan |
turbine |
vase
All files zip