This repository contains codes, notes, question papers and question banks for Computer Graphics (CG) which is a subject of second year (SEM-3) SPPU syllabus.
Go to file
2023-12-19 21:29:40 +05:30
assignments assignment 1-7 added 2023-11-22 23:06:33 +05:30
lab-manual added formatted lab manuals sent by Kalaskar sir 2023-11-24 23:18:03 +05:30
lab-notes added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
notes imp notes endsem added 2023-12-19 12:37:26 +05:30
question-papers added end-sem question paper (november 2022) and updated readme index for end sem question papers 2023-10-29 23:25:36 +05:30
.gitignore Initial commit 2023-09-27 12:34:25 +05:30
Assignment A-1 (Scan Line Fill).cpp Fixed readme and filename for scan fill and floodfill 2023-12-14 15:30:51 +05:30
Assignment A-2 (Cohen Sutherland Line Clipping) (using built-in function).cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
Assignment A-2 (Cohen Sutherland Line Clipping) (using DDA).cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm).cpp added problem statement at the top 2023-12-06 10:13:54 +05:30
Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm).cpp added problem statement at the top 2023-12-06 10:13:54 +05:30
Assignment B-4 (Transformations).cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
Assignment B-4 (Transformations)(triangle).cpp transformations for equilateral triangle added 2023-12-13 12:20:19 +05:30
Assignment B-5a (Snowflake).cpp fixed minor mistake in main function when calling koch curve, not it should make correct snowflake 2023-12-14 15:33:35 +05:30
Assignment B-5b (Hilbert Curve).cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
Assignment B-5c (Koch Curve).cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
Assignment C-6b (3D Cube).cpp 3d cube assgn added 2023-12-07 10:26:55 +05:30
Assignment C-6c (Sunrise and Sunset).cpp added assignments c-6c and c-7b 2023-11-30 00:26:35 +05:30
Assignment C-7b (Bouncing Ball).cpp added assignments c-6c and c-7b 2023-11-30 00:26:35 +05:30
Assignment C-7c (Man Walking in Rain).cpp updated man walking in rain (included polymorphism concept) 2023-12-09 10:50:11 +05:30
DDA-circle.cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
DDA-line.cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
DDA-triangle.cpp added new codes, updated file names, restructed the repo 2023-11-30 00:18:46 +05:30
Flood Fill.cpp Fixed readme and filename for scan fill and floodfill 2023-12-14 15:30:51 +05:30
README.md added credits for handwritten important notes for end-sem, mr. afan 2023-12-19 21:29:40 +05:30

CG

This repository contains codes, write-ups, lab manuals, lab notes and question papers for Computer Graphics.


Index

Codes

Lab Codes:

  1. Assignment A-1 (Scan Fill)
  2. Assignment A-2 (Cohen Sutherland Line Clipping)
  3. Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm) (Circle inside a triangle which is inside a bigger circle)
  4. Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm) (Circle inside a rhombus which is inside a rectangle)
  5. Assignment B-4 (Transformations)
  6. Assignment B-5a (Snowflake)
  7. Assignment B-5b (Hilbert Curve)
  8. Assignment B-5c (Koch Curve)
  9. Assignment C-6b (3D Cube)
  10. Assignment C-6c (Sunrise and Sunset)
  11. Assignment C-7b (Bouncing Ball)
  12. Assignment C-7c (Man Walking In Rain)

Digital Differential Analyzer (DDA):

Digital Differential Analyzer (DDA) is a line-drawing algorithm for digital displays, using incremental calculations to plot points between endpoints.

  1. Line
  2. Triangle
  3. Circle

Miscellaneous Codes:

Lab Manual

Printable format:

  1. Assignment 1
  2. Assignment 2
  3. Assignment 3
  4. Assignment 4
  5. Assignment 5
  6. Assignment 6
  7. Assignment 7

Notes

  1. Unit 1 - Graphics Primitives and Scan Conversion Algorithms
  2. Unit 2 - Polygon, Windowing and Clipping
  3. Unit 3 - 2D, 3D Transformations and Projections
  4. Unit 4 - Light, Colour, Shading and Hidden Surfaces
  5. Unit 5 - Curves and Fractals

Lab Notes (Computer Graphics Lab)

  1. Equilateral Triangle Logic
  2. Koch and Snowflake Algorithms
  3. Transformation Algorithms

Question Papers

  1. IN-SEM
  2. END-SEM

Maintained by: