Skip to content

Salman1804102/Graphics-Lab-OpenGL-CSE-458

Repository files navigation

Graphics-In-OpenGL-CSE-458

This repository contains a collection of lab exercises related to Computer Graphics, implemented using OpenGL and GLUT (OpenGL Utility Toolkit). Each lab focuses on different algorithms and techniques commonly used in computer graphics.

Projects Included

  1. Introduction to Computer Graphics and OpenGL GLUT Setup in Codeblocks

    A basic setup guide and introduction to OpenGL and GLUT in Code::Blocks.

  2. Digital Differential Analyzer (DDA) Line Drawing Algorithm

    Implementation of the DDA algorithm for drawing lines in OpenGL.

  3. Bresenham Line Drawing Algorithm

    Implementation of the Bresenham algorithm for efficient line drawing in OpenGL.

  4. Mid-Point Circle Drawing Algorithm

    Implementation of the Mid-Point Circle algorithm for drawing circles in OpenGL.

  5. Polygon Filling Using Boundary Fill Algorithm

    Implementation of the boundary fill algorithm for polygon filling in OpenGL.

  6. Polygon Filling Using Flood-Fill Algorithm

    Implementation of the flood-fill algorithm for polygon filling in OpenGL.

  7. Geometric Transformations (Translation, Rotation, Scaling)

    Implementation of basic geometric transformations on shapes in OpenGL.

  8. Fractals: C-Curve, Koch-Curve, and Gasket

    Implementation of fractal patterns like C-Curve, Koch-Curve, and Sierpinski Gasket in OpenGL.

License

This project is licensed under the MIT, which means you are free to use and modify the code according to the terms specified in the license.

Developed by Salman Farsi