Back
README
DSC-09: Computer Graphics - Practicals
Welcome to the collection of practical assignments for the Computer Graphics course. This repository contains implementations for various Computer Graphics algorithms using C++.
🛠️ Library Setup
This project uses graphics.h (Borland Graphics Interface). To run these programs in Visual Studio Code, you need to set up MinGW and the necessary graphics libraries.
Quick Setup:
- Install MinGW.
- Copy
graphics.handwinbgim.htoincludefolder. - Copy
libbgi.atolibfolder. - Link with
-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32.
👉 Click here for detailed Setup Instructions
📅 List of Practical
- Write a program to implement Bresenham’s line drawing algorithm.
- Write a program to implement mid-point circle drawing algorithm.
- Write a program to clip a line using Cohen and Sutherland line clipping algorithm.
- Write a program to clip a polygon using Sutherland Hodgeman algorithm.
- Write a program to fill a polygon using Scan line fill algorithm.
- Write a program to apply various 2D transformations on a 2D object (use homogenous Coordinates).
- Write a program to apply various 3D transformations on a 3D object and then apply parallel and perspective projection on it.
- Write a program to draw these curve:
1. Bezier curve.
2. Hermite curve.
- Write a program to implement Digital Differential Analyzer (DDA) Algorithm.%20Algorithm.cpp)
<p align="right">
<i>Developed with ❤️ by <a href="https://github.com/16ratneshkumar">16ratneshkumar</a></i>
</p>