0% found this document useful (0 votes)
27 views

Jaypee University of Engineering & Technology Guna: Computer Graphics and Machine Vision Lab

The document outlines an exercise list for a computer graphics and machine vision lab at Jaypee University of Engineering & Technology Guna for the session from July to December 2014, including 15 exercises using C programming to demonstrate various computer graphics concepts like drawing shapes, lines, circles, ellipses and applying transformations, clipping, color filling, text display, and 3D surface rendering. The exercises are intended to be completed week by week and are instructed by Ratnesh Litoriya.

Uploaded by

Vivek Tripathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Jaypee University of Engineering & Technology Guna: Computer Graphics and Machine Vision Lab

The document outlines an exercise list for a computer graphics and machine vision lab at Jaypee University of Engineering & Technology Guna for the session from July to December 2014, including 15 exercises using C programming to demonstrate various computer graphics concepts like drawing shapes, lines, circles, ellipses and applying transformations, clipping, color filling, text display, and 3D surface rendering. The exercises are intended to be completed week by week and are instructed by Ratnesh Litoriya.

Uploaded by

Vivek Tripathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Jaypee University of Engineering &

Technology Guna
Computer Graphics and Machine Vision Lab
(Course Code: 10B11CI515)
Session : Jul Dec 2014

Instructor

Ratnesh Litoriya

Exercise List (week wise)

Using C only
1) Program to initialize the graph and draw lines of various types as
shown in the image.

2) Program to draw a rectangle, lines as its diagonals and a circle Also


fill appropriate colors in different regions.

3) Program to draw a circles and ellipses as shown below using standard


graphics functions.

4) Program to demonstrate put pixel.


5) Program to Generate a Line using DDA Algorithm.
6) Program to generate a line using Bresenhams line drawing
algorithm.
7) Program to demonstrate circle using DDA algorithm.
8) Program to implement Midpoint Circle Drawing Algorithm.
9) Program to implement Boundary fill Algorithm for color fill.
10) Program to demonstrate different transformations like Translation,
Scaling and Rotation.
11) Program to demonstrate view port, clipping and lines with different
Colors, line styles and co- ordinates
12) Program to demonstrate text and its setting
13) Program to draw a moving vehicle (car). The different graphical
functions and transformations are used to draw different parts and
movements of the car.
14) Program to demonstrate spiral.
15)

Program to demonstrate 3-D surfaces using lines and other

primitives with different and colors.

*********

You might also like