Coder Social home page Coder Social logo

computer-graphics-using-opengl's Introduction

Computer Graphics using OpenGL

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 :

Experiment 1 : Introduction to OpenGL

  1. Green Window Program.

Experiment 2 : Drawing line using DDA, Bresenham’s algorithm

  1. Drawing a line using Equation of line.
  2. Drawing a line using Bresenham algorithm for m<1.
  3. Drawing a line using Bresenham algorithm for m>1.
  4. Drawing a line using DDA algorithm.

Experiment 3 : Drawing Circle and Ellipse using Mid-point algorithm

  1. Draw a circle using the polar equation.
  2. Draw a circle using midpoint circle algorithm.
  3. Draw a circle using bresenham circle algorithm.
  4. Draw an ellipse using midpoint ellipse algorithm.

Experiment 4 : Filling the objects using flood fill, boundary fill and scan line fill algorithm

  1. Boundary fill algorithm using 4 connected approach.
  2. Boundary fill algorithm using 8 connected approach.
  3. Flood fill algorithm using 4 connected approach.
  4. 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.

  1. Cohensutherland algorithm.
  2. Sutherland Hodgeman algorithm.

Experiment 7 : Performing 2D transformation on objects.

  1. Reflection
  2. Rotation
  3. Scaling
  4. Shearing
  5. Translation

Experiment 8 : Performing 3D transformation on objects.

  1. Reflection
  2. Rotation
  3. Scaling
  4. Shearing
  5. Translation

Experiment 9 : Drawing Bezier curves

  1. Bezier Curves

Project : Apply animation to an assigned object

computer-graphics-using-opengl's People

Contributors

prakharjadaun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.