Algorithm of Bresenhams line drawing
Write down the Bresenhams line drawing algorithm?
Expert
Step 1: Input the line end-points and store the left end-point in (X0, Y0)
Step 2: Load the (X0, Y0) to the frame buffer.
Step 3: Compute constants Δx, Δy, 2 Δy, -2 Δx, and get the decision parameters as: P0 = 2 Δy – Δx
Step 4: At all Xk all along the line, beginning at k = 0, execute the following test
If Pk < 0, then the next point to plot is (Xk+1, Yk) and Pk+1 = Pk + 2 Δy. Or else, next point to the plot is (Xk+1, Yk+1) and Pk+1 = Pk+2 Δy - 2 Δx.
Step 5: Repeat the step 4 Δx times.
Briefly discuss the concept of Hidden surface removal algorithms and Phong shading?
Explain the Sutherland Hodgeman polygon clipping in brief. What are its key features?
Demonstrate the term computer graphics animation? Briefly explain it.
Illustrate the term Touch panels?
What are the features of Inkjet printers?
Explain the term: a) Font b) Bitmapped Font c) Outline font
What are the two fields of the Buffer Method? Explain briefly?
Explain the term B-Spline curve?
What is the definition of turtle graphics program? Also state their parameters?
What is meant by persistence in terms of the CRT Phosphorous? What do you mean by the resolution?
18,76,764
1928365 Asked
3,689
Active Tutors
1461532
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!