Problem
1. Develop an algorithm that would test a given plane surface against a rectangular area to decide whether it is a surrounding, overlapping, inside, or outside surface.
2. Develop an algorithm for generating a quadtree representation for the visible sur-faces of an object by applying the area-subdivision tests to determine the values of the quadtree elements.
3. Set up an algorithm to load a given quadtree representation of an object into a frame buffer for display.