NotesM.Sc ITComputer Graphics Laboratory
PGCA1923

Computer Graphics Laboratory Notes

Program:M.Sc IT
Semester:Semester 3
Credits:2
Units:1 Units

Subject Overview

The practical companion to Computer Graphics, implementing pixel plotting, 2D shape drawing, text formatting, line-drawing algorithms (DDA, Bresenham's), circle and ellipse generation, 2D transformations, and polygon filling and clipping algorithms.

Read more

A 2-credit core lab paper.

Subject at a glance

1

Units

14

Topics

2

Credits

1

Infographics

Unit-wise Syllabus

1 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Pixel plotting
  • simple 2D shape drawing (lines, circles)
  • text formatting with graphics functions
  • DDA line-drawing algorithm
  • Bresenham's line algorithm comparison
  • moving wheel via midpoint circle and DDA algorithms
  • ellipse generation via midpoint algorithm
  • 2D transformations (translation, rotation, scaling) on user input
  • triangle rotation
  • combined scaling and translation operations
  • boundary fill algorithm
  • scan-line polygon fill algorithm
  • line clipping algorithms
  • Sutherland-Hodgeman polygon clipping

Study guide

In this lab you plot pixels, draw lines and circles, format text, implement DDA and Bresenham's lines, animate a wheel with midpoint circle and DDA, generate ellipses, apply 2D translation, rotation and scaling, rotate triangles, implement boundary fill and scan-line polygon fill and line clipping. Compare algorithm outputs visually.

Read Unit 1 notes

Why Computer Graphics Laboratory Matters

Implementing graphics algorithms yourself gives a real feel for how images are drawn.

How to Prepare for Computer Graphics Laboratory

  • Implement each algorithm without library shortcuts first.
  • Save screenshots of outputs.
  • Compare DDA and Bresenham results.

Computer Graphics Laboratory: Frequently Asked Questions

What is done in the graphics lab?

Implementation of line, circle and ellipse algorithms, 2D transformations, filling and clipping.

Planning your M.Sc IT in Ludhiana? Study it at SBS.

These notes follow the PTU syllabus taught in the 2-year M.Sc IT at SBS College, Ludhiana. See the course details, eligibility and scholarships.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Computer Graphics Laboratory.