This repository contains all the files related to Computer Graphics that I have performed in UPES Dehradun. I am attaching a file which contains the basics of the Computer Graphics using OpenGL which would help you to understand the concepts in better way. The experiments that I have performed are listed below :
- Green Window Program.
- Drawing a line using Equation of line.
- Drawing a line using Bresenham algorithm for m<1.
- Drawing a line using Bresenham algorithm for m>1.
- Drawing a line using DDA algorithm.
- Draw a circle using the polar equation.
- Draw a circle using midpoint circle algorithm.
- Draw a circle using bresenham circle algorithm.
- Draw an ellipse using midpoint ellipse algorithm.
- Boundary fill algorithm using 4 connected approach.
- Boundary fill algorithm using 8 connected approach.
- Flood fill algorithm using 4 connected approach.
- Flood fill algorithm using 8 connected approach.
Experiment 5-6 : Performing Clipping operation on line and polygon using Cohen Sutherland and Sutherland Hodgeman algorithms respectively.
- Cohensutherland algorithm.
- Sutherland Hodgeman algorithm.
- Reflection
- Rotation
- Scaling
- Shearing
- Translation
- Reflection
- Rotation
- Scaling
- Shearing
- Translation
- Bezier Curves