Uploaded by احمد نجم

Assignment 1

advertisement
Houbara Faculty of Engineering
Benha University
Computer Engineering Department
4th year
Computer Graphics: assignment #1
1. Draw the line between (7,15) and (10,22) using bresenham line drawing
algorithm.
2. Draw the line between (4,11) and (13,17) using bresenham line drawing
algorithm.
3. Given a circle centered on the coordinzate (-3,-1) with radius = 8, Use the
midpoint algorithm to draw the circle.
4. Given a circle centered on the coordinate (3,2) with radius = 5, use the
midpoint algorithm to draw the circle.
5. For a graphic system of a resolution 1024x768 is implemented with indexed
color scheme where each pixel is represented by 10 bits, Show the memory
organization for that system. And compare it with direct scheme
organization.
Page 1
Download