GeezerVison is showing github.com — GitHub - karthik-d/Graphics-and-Multimedia-LabWork: Programs, reports, documentation, and screenshots implemented and designed for the laboratory coursework on UCS1712: Graphics and Multimedia course.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
UCS1712: Graphics and Multimedia - Lab Work
Programs, documentation, and output snapshots of implemented and designed experiments for the laboratory coursework in UCS1712: Graphics and Multimedia Lab, SSN College of Engineering, Chennai, India.
Link to Compiled Documentation of Experiments
-
Study of Basic Output Primitives in C++ using OpenGL
- Generate all primitive shapes
- Draw a black-white checkboard of given dimensions
- Draw a house using primitives
- Outputs
- Report
-
DDA Line Drawing Algorithm in C++ using OpenGL
- Generate a line for given start and end points using the DDA algorithm
- Outputs
- Report
-
Bresenham’s Line Drawing Algorithm in C++ using OpenGL
- Generate a line for given start and end points using Bresenham's algorithm
- Outputs
- Report
-
Midpoint Circle Drawing Algorithm in C++ using OpenGL
- Plot a circle, given its center and radius, using the midpoint algorithm
- Draw a simple figure using lines and circles
- Outputs
- Report
-
2D Transformations in C++ using OpenGL
- Perform 2D transformations, namely translation, rotation, scaling, shearing, and reflection.
- Demonstrate all use-cases for the said transformations.
- Use matrix operations and homogeneous coordinates to perform the transformations.
- Outputs
- Report
-
2D Composite Transformations and Windowing in C++ using OpenGL
- Perform a combination of two transformations from translation, rotation, scaling, shearing, and reflection.
- Demonstrate all use-cases for the said transformations.
- Use matrix operations and homogeneous coordinates to perform the transformations.
- Transform an object from World coordinate system to a user-defined Viewport coordinate system.
- Outputs
- Report
-
Cohen Sutherland Line Clipping in C++ using OpenGL
- Perform line clipping using the Cohen Sutherland algorithm, for given line endpoints and viewing window bounds.
- Demonstrate all use-cases for line clipping.
- Indicate the intersection coordinates for clipped lines.
- Transform an object from World coordinate system to a user-defined Viewport coordinate system.
- Outputs
- Report
-
3D Transformations in C++ using OpenGL
- Perform 2D transformations, namely translation, rotation, and scaling.
- Demonstrate all use-cases for the said transformations.
- Use matrix operations and homogeneous coordinates to perform the transformations.
- Outputs
- Report
-
apt packages required:
- freeglut3-dev
- mesa-common-dev
-
Compilation command:
gcc -o <bin-name> <prog-name> -lGL -lGLU -lglut
-
Reference
About
Programs, reports, documentation, and screenshots implemented and designed for the laboratory coursework on UCS1712: Graphics and Multimedia course.
Topics
Resources
Stars
0 stars
Watchers
1 watching
Forks