Computer Science, asked by wcayush375, 1 year ago

Write c++/java program to draw convex polygon and fill it with desired colour using seed fill algorithm. use mouse interfacing to draw polygon

Answers

Answered by кєиχ
1
DDA Line algorithm

Problem Statement: Write C++/Java program to draw line using DDA and Bresenham‘s algorithm. Inherit pixel class and Use function overloading.

Draw circle using Bresenham‘s algorithm

Problem Statement: Write C++/Java program to draw circle using Bresenham‘s algorithm. Inherit pixel class.

Draw inscribed and Circumscribed circles

Problem Statement: Write C++/Java program to draw inscribed and Circumscribed circles in the triangle as shown as an example below. (Use any Circle drawing and Line drawing algorithms)



Draw rhombus inside rectangle

Problem Statement: Write C++/Java program to draw the following pattern using any Line drawing algorithms. .

Rotation, Translation, Scaling of an object

Problem Statement: Write C++/Java program to draw 3-D cube and perform following transformations on it using OpenGL.
a) Scaling 
b) Translation 
c) Rotation about one axis

Group B

Seed Fill Algorithm

Problem Statement: Write C++/Java program to draw a convex polygon and fill it with desired color using Seed fill algorithm. Use mouse interfacing to draw polygon.

Scan Line Algorithm

Problem Statement: Write C++/Java program to draw a concave polygon and fill it with desired pattern using scan line algorithm. Use mouse interfacing to draw polygon.

Different type of lines

Problem Statement: Write C++/Java program for line drawing using DDA or Bresenhams algorithm with patterns such as solid, dotted, dashed, dash dot and thick.

Cohen-Sutherland line clipping algorithm

Problem Statement: Write C++/Java program to implement Cohen-Sutherland line clipping algorithm for given window. Draw line using mouse interfacing to draw polygon.

Group C

Cube rotation about vertical axis

Problem Statement: Write C++/Java program to draw implement Cube rotation about vertical axis passing through its centroid.


3D - Transformation using OpenGL

Problem Statement: Write C++/Java program to draw 3-D cube and perform following transformations on it using OpenGL. a) Scaling b) Translation c) Rotation about one axis


Similar questions