This repository contains a collection of computer graphics programs developed for the Computer Graphics Laboratory course. The programs are designed to provide practical implementation and understanding of fundamental concepts and algorithms in computer graphics.
- Program 1: Bresenham’s Line Drawing Algorithm
- Program 2: Create and Rotate a Triangle
- Program 3: Color Cube Transformation Matrix
- Program 4: Color Cube Perspective Viewing
- Program 5: Cohen-Sutherland Algorithm
- Program 6: Tea Pot
- Program 7: 3D Sierpinski Gasket
- Program 8: Bezier Curve Algorithm
- Program 9: Scan Line Algorithm
Program | Title of Program | Programming Solution |
---|---|---|
Prog. 1 | Bresenham’s Line Drawing Algorithm | LAB1 |
Prog. 2 | Create and Rotate a Triangle | LAB2 |
Prog. 3 | Color Cube Transformation Matrix | LAB3 |
Prog. 4 | Color Cube Perspective Viewing | LAB4 |
Prog. 5 | Cohen-Sutherland Algorithm | LAB5 |
Prog. 6 | Tea Pot | LAB6 |
Prog. 7 | 3D Sierpinski Gasket | LAB7 |
Prog. 8 | Bezier Curve Algorithm | LAB8 |
Porg. 9 | Scan Line Algorithm | LAB9 |
Each program in this repository can be accessed individually by following the provided links. The programs are implemented using different programming solutions, and the source code for each program is available in the respective directories.
To use the programs, you can navigate to the desired program's directory and access the source code. Depending on the specific requirements, you may need to compile and run the code using appropriate compilers or development environments. The programs are primarily written in C++ and utilize libraries such as OpenGL for graphics rendering.
Contributions to this repository are welcome. If you have any improvements or additional programs related to computer graphics, feel free to create a pull request. Please ensure that your contributions adhere to the guidelines and coding standards of the repository.
The programs in this repository are provided under the MIT License. However, please note that while the programs have been tested, they are provided as-is, without any warranty. The repository owner and contributors will not be liable for any damages or losses arising from the use of these programs.
It is recommended to use these programs for learning purposes and to verify their functionality in a controlled environment before deploying them to production or real-world applications.