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 VDU?
Explain briefly the method of Area Subdivision and write down the short note on it assumptions?
Explain the term scan line algorithm?
Explain the several representation schemes that is used within the three dimensional objects?
What do you mean by the term spline representation? Also describe its key features?
Cyrus Beck Line Clipping Algorithm. for non clipping window explain me in details and with examples
Illustrate the term covering (exterior clipping) and fixed point scaling?
Consider a raster system with the resolution of 1024 x 768 pixels and the color palette calls for 65,536 colors. What is the minimum amount of video RAM that the computer must have to support the above-mentioned resolution and number of colors?
Describe the features of Shadow mask method?
What is vanishing point and principle vanishing point?
18,76,764
1929748 Asked
3,689
Active Tutors
1458837
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!