Newell's algorithm

Newell's algorithm

Newell's Algorithm is a 3D computer graphics procedure for elimination of polygon cycles in the depth sorting required in hidden surface removal. It was proposed in 1972 by brothers Martin Newell and Dick Newell, and Tom Sancha, while all three were working at CADCentre.

In the depth sorting phase of hidden surface removal, if two polygons have no overlapping extents or extreme minimum and maximum values in the x, y, and z directions, then they can be easily sorted. If two polygons, Q and P, do have overlapping extents in the Z direction, then it is possible that cutting is necessary.

Cyclic polygons must be eliminated to correctly sort them by depth

In that case Newell's algorithm tests the following:

  1. Test for Z overlap; implied in the selection of the face Q from the sort list
  2. The extreme coordinate values in X of the two faces do not overlap (minimax test in X)
  3. The extreme coordinate values in Y of the two faces do not overlap (minimax test in Y)
  4. All vertices of P lie deeper than the plane of Q
  5. All vertices of Q lie closer to the viewpoint than the plane of P
  6. The rasterisation of P and Q do not overlap

Note that the tests are given in order of increasing computational difficulty.

Note also that the polygons must be planar.

If the tests are all false, then the polygons must be split. Splitting is accomplished by selecting one polygon and cutting it along the line of intersection with the other polygon. The above tests are again performed, and the algorithm continues until all polygons pass the above tests.

References

See also


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Algorithm — Flow chart of an algorithm (Euclid s algorithm) for calculating the greatest common divisor (g.c.d.) of two numbers a and b in locations named A and B. The algorithm proceeds by successive subtractions in two loops: IF the test B ≤ A yields yes… …   Wikipedia

  • Martin Newell (computer scientist) — Martin Newell Nationality English American Institutions CADCentre University of Utah Xerox PARC Ashlar Adobe …   Wikipedia

  • Painter's algorithm — The painter s algorithm, also known as a priority fill, is one of the simplest solutions to the visibility problem in 3D computer graphics. When projecting a 3D scene onto a 2D plane, it is necessary at some point to decide which polygons are… …   Wikipedia

  • Dick Newell — Dr. Richard G. Newell has spent over 30 years in the software industry in Computer aided design (CAD) and Geographic Information Systems (GIS). Dick holds degrees in Civil Engineering and Numerical Analysis and a PhD in Chemical Engineering. As a …   Wikipedia

  • Gordon–Newell theorem — In queueing theory, a discipline within the mathematical theory of probability, the Gordon–Newell theorem is an extension of Jackson s theorem from open queueing networks to closed queueing networks of exponential servers.[1] We cannot apply… …   Wikipedia

  • Artificial intelligence — AI redirects here. For other uses, see Ai. For other uses, see Artificial intelligence (disambiguation). TOPIO, a humanoid robot, played table tennis at Tokyo International Robot Exhibition (IREX) 2009.[1] Artificial intelligence ( …   Wikipedia

  • History of artificial intelligence — The history of artificial intelligence begins in antiquity with myths, stories and rumors of artificial beings endowed with intelligence and consciousness by master craftsmen. In the middle of the 20th century, a handful of scientists began to… …   Wikipedia

  • Scanline rendering — is an algorithm for visible surface determination, in 3D computer graphics,that works on a row by row basis rather than a polygon by polygon or pixel by pixel basis. All of the polygons to be rendered are first sorted by the top y coordinate at… …   Wikipedia

  • Computational creativity — (also known as artificial creativity, mechanical creativity or creative computation) is a multidisciplinary endeavour that is located at the intersection of the fields of artificial intelligence, cognitive psychology, philosophy, and the arts.… …   Wikipedia

  • thought — thought1 /thawt/, n. 1. the product of mental activity; that which one thinks: a body of thought. 2. a single act or product of thinking; idea or notion: to collect one s thoughts. 3. the act or process of thinking; mental activity: Thought as… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”