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
Define the term Affine transformation? Briefly illustrate it.
Define the term B-Spline curve?
What do you understand by the term Bit planes?
Describe the cohen sutherland Line Clipping Algorithm in brief?
Illustrate the term authoring tools?
What are the important properties of Bezier Curve?
Illustrate what do you mean by interactive computer Graphics?
What is cavalier projection and cabinet projection?
How realistic pictures are created in computer graphics?
Compare and contrast the analog and digital sounds or recordings.
18,76,764
1929084 Asked
3,689
Active Tutors
1457782
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!