Algorithm of DDA
Write down the algorithm of DDA (Digital differential analyzer) scan conversion algorithm?
Expert
Algorithm:
Step 1: Input the line end-points and store the left end-point in (x1, y1) and right end-point in (x2, y2).
Step 2: Compute the values of Δx and Δy by using Δx = xb – xa, Δy = yb – ya
Step 3: When the values of Δx > Δy then assign values of steps as Δx or else the values of steps as Δy.
Step 4: Compute the values of X increment and Y increment and assign the value x= xa and y = ya.
Step 5: For k = 1 to steps do
X = X + X increment Y= Y + Y increment
Putpixel(ceil(x), ceil(y),15)
Step 6: End
Describe in detail the flood fill algorithm?
Distinguish between uniform scaling and differential scaling?
Describe the meaning of the term simulation? Also states its uses? Illustrate the merits too.
Compare Parallel Projection and Perspective Projection?
Explain the benefits of rendering polygons through the scan line method?
Briefly describe the term orthographic parallel projection?
Define the term Circle and Ellipse?
Illustrate the term projector? Explain in short?
What are the various tricks utilized in the computer graphics animation?
Illustrate the point in computer graphics system? Also write short notes on lines?
18,76,764
1933049 Asked
3,689
Active Tutors
1421318
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!