Area subdivision method for hidden surface removal, Computer Graphics

Assignment Help:

Q. Write a short note on area subdivision method for hidden surface removal.

 Ans. Area Subdivision This technique for hidden- surface removal is essentially an image- space method, but object- space operations can be used to accomplish depth ordering of surface. The area sub- division methods takes advantages of area coherence in a scene by locating those view areas that represented part of a single surface. We apply this method by successively dividing the total viewing area into smaller and smaller rectangles until each small area is the projection of a single visible surface at all. To implement this method, we need to establish tests that can quickly identify the area as part of a single surface or tell us that the area is too complex to analyze easily. Starting with the total view, we apply the tests to determine whether we should subdivide the total area into smaller rectangles. If the test indicates that the view is sufficiently complex, we subdivide it. Next, we apply the tests to each of the smaller areas, subdividing these if the tests indicated that visibility of a single surface is still uncertain. We continue this process until the subdivisions are easily analyzed as belonging to a single surface or until they are reduced to the size of single pixel. An easy way to do this is to successively divide the area into four equal parts at each step as shown in fig. 1. This approach is similar t that used in constructing a quad tree. A viewing area with a resolution of 1024 by 1024 could be subdivided ten times in this way before a sub area is reduced to point. Tests to determine the visibility of a single surface within a specified area are made by comparing surfaces to the boundary of the area. There are four possible relationships that a surface can have with a specified area boundary. We can describe these relative surface characteristics in the following way (fig.2): Surrounding surface - One that completely encloses the area. Overlapping surface - One that is partly inside and partly outside the area. Inside surface - One that is completely inside the area. Outside-One that is completely outside the area. The tests for determining surface visibility within an area can be stated in terms of these four classifications. No further subdivisions of a specified area are needed if one of the following conditions is true: 1. All surfaces are outside surfaces with respect to the area.  2. Only one inside, overlapping or surrounding surface is the area.  3. A surrounding surface obscures all other surface within the area boundaries. Test 1 can be carried out by checking the bounding rectangles of all surfaces against the area boundaries. Test 2 can also use the bounding rectangles in the x y plane to identify an inside surface. For other types of surfaces the bounding rectangles can be used as an initial check. If a single bounding rectangle intersects the area in some way additional checks are used to determine whether the surface is surrounding overlapping of outside. Once a single overlapping of surrounding surface has been identified its pixel intensities are transferred to the appropriate area within the appropriate area within the frame buffer. One method for implementing test 3 is to order surface according to their minimum depth from the view plane. For each surrounding surface we then compute the maximum depth within the area under consideration. If the maximum depth of one of these surrounding surface within the area test 3 is satisfied. Fig. 3 shows an example of the conditions for this method. Another method for carrying out test 3 that does not require depth sorting is to use plane equations to calculate depth values at the four vertices of area for all surrounding overlapping and inside surface. If the calculated depths for one of the surrounding surfaces is less than the calculated depths for all other surface test 3 is true. Then the area can be filled with the intensity values of the surrounding surface. For some situations both methods of implementing test 3 will fail t identifies correctly a surrounding surface that obscures all the other surfaces. Further testing could be carried out to identify the single surface that covers the area but is factor to subdivide the area than to continue with more complex testing. Once outside and surrounding surfaces have been identified for an area they will remain outside and surrounding surfaces for all subdivisions of the area. Furthermore some inside and overlapping surface can be expected to be eliminated as the subdivision process continues so that the area becomes easier to analyze. In the limiting case when a subdivision for the size of a pixel is produced we simply calculate the depth of each relevant surface at that point and transfer the intensity of the nearest surface to the frame buffer. As a variation on the basic on the basic subdivision process we could subdivide areas along surface boundaries instead of dividing them in half. If the surfaces have been sorted according to minimum depth we can use the surface with the smallest depth value to subdivide a given area.      


Related Discussions:- Area subdivision method for hidden surface removal

Storing information structures in display memory, What is the major disadva...

What is the major disadvantages of storing information structures in display memory? A major disadvantage of storing information structures in display memory is that when color an

Determine the transformation matrix for the reflection, Determine the trans...

Determine the transformation matrix for the reflection about the line y = x. Solution: The transformation for mirror reflection regarding to the line y = x, comprises the subs

What happens while two polygons have similar z value , What happens while t...

What happens while two polygons have similar z value and the z-buffer algorithm is utilized? Solution : z-buffer algorithms, varies colors at a pixel if z(x,y)

Properties of perspective projections - transformation, Properties of Persp...

Properties of Perspective projections - Transformation 1) Faraway objects seem smaller. 2) Straight lines are projected to straight lines. 3) Let line 1 and 2 is two s

Light sources - polygon rendering and ray tracing methods, Light Sources - ...

Light Sources - polygon rendering and ray tracing methods Light Sources are key parts in any ray traced scene, since without them; there would be no rays to trace. Light sour

Viewing transformation, Viewing Transformation In previous section, we...

Viewing Transformation In previous section, we have discussed about the geometric transformations as Translation, Shearing, Reflection, Scaling and Rotation. Rotation, Reflect

High level techniques - motion specification, High Level Techniques (Motion...

High Level Techniques (Motion Generalized) These are techniques utilized to explain the general motion behavior of any type of graphic object. Such techniques are algorithms o

Basics of animation - computer animation, Basics of Animation - Computer an...

Basics of Animation - Computer animation Historical and traditional methods for production of animation: As we have studied the transformations linked in computer graphics

What is the use of projection reference point, What is the use of Projectio...

What is the use of Projection reference point?  In Perspective projection, the object positions are transformed to the view plane with these converged projection line and the p

Ray tracing algorithm - recursive, Ray Tracing Algorithm - Recursive ...

Ray Tracing Algorithm - Recursive Frequently, the basic ray tracing algorithm is termed as a "recursive" acquiring an outcome wherein a given process repeats itself an arbitr

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

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!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd