Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
boundary-fill algorithm or flood-fill algorithm
As you saw the implementation of scan line polygon fill requires that boundaries should be straight line segments. The seed fill algorithms do not require any such constraints. You only need to know an interior point of the closed boundary object to fill it. This interior point is called a seed point.
However, determination of interior point for complex polygons such as the one shown in figure itself is a challenging task.The following methods are used to determine an interior point of the area to be filled.
1. Odd-even rule,
2. Nonzero winding number rule.
Once an interior point of the object is determined, the boundary-fill algorithm or, flood-fill algorithm may be applied to fill the given area.
Trivial Rejection Case of cohen sutherland line clippings Case: it is Trivial Rejection Case; if the logical intersection (AND) of the bit codes of the end points P, Q of
2. Describe how the Bresenham rasterisation algorithm is advantageous when compared to any other existing method.
An 8x8 image f[i,j] has gray levels given by the following equation: f [i , j]= ? i-j ? ; i,j=0,1,2,3,4,5,6,7. a. Calculate the gray level value for all the pixels in the 8x8
Cases of clip a line segment-pq Case 1: As we determine a new value of t E that is value of parameter t for any potentially entering (PE) point we select t max as: t max
Question: List five different areas of applications of computer graphics Answer: Five major areas of applications of computer graphics are: i) Study of molecular structures.
What is scaling and shearing? The scaling transformations alters the shape of an object and can be carried out by multiplying every vertex (x,y) by scaling factor Sx, Sy where
Construction of a Solid with a Translational Sweep Figure demonstrates construction of a solid along with a translational sweep. Translating the control points of the periodic
Discuss in detail about rendering Computer animation uses a technique termed as avars (animation variable) where starting point is generally a series of stick figures; for exam
define raster scan
Differentiate between z-buffer method and scan-line method. What is the visibility test made in these methods? Solution : In depth buffer algorithm every pixel location on the
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd