Newell's algorithm

Uses your system voice; voice and rate in settings.

Q1191935Snapshot

≈ 4 min read

Names in other languages

  • DeutschDepth-Sort-Algorithmus
  • EspañolAlgoritmo de Newell
  • EnglishNewell's algorithm
  • УкраїнськаАлгоритм Ньюелла
  • 日本語ニューウェルのアルゴリズム

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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, and , do have overlapping extents in the Z direction, then it is possible that cutting is necessary. In that case, Newell's algorithm tests the following: # Test for Z overlap; implied in the selection of the face from the sort list # The extreme coordinate values in X of the two faces do not overlap (minimax test in X) # The extreme coordinate values in Y of the two faces do not overlap (minimax test in Y) # All vertices of P lie deeper than the plane of # All vertices of Q lie closer to the viewpoint than the plane of # The rasterisation of and do not overlap The tests are given in order of increasing computational difficulty. The polygons must be planar. If the tests are all false, then switch the order of and in the sort, record having done so, and try again. If there is an attempt to switch the order of a polygon a second time, there is a visibility cycle, and the polygons must be split.…

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, and , do have overlapping extents in the Z direction, then it is possible that cutting is necessary. In that case, Newell's algorithm tests the following: Test for Z overlap; implied in the selection of the face from the sort list The extreme coordinate values in X of the two faces do not overlap (minimax test in X) The extreme coordinate values in Y of the two faces do not overlap (minimax test in Y) All vertices of P lie deeper than the plane of All vertices of Q lie closer to the viewpoint than the plane of The rasterisation of and do not overlap The tests are given in order of increasing computational difficulty. The polygons must be planar. If the tests are all false, then switch the order of and in the sort, record having done so, and try again. If there is an attempt to switch the order of a polygon a second time, there is a visibility cycle, and 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

Painter's algorithm Boolean operations on polygons

Text derived from https://en.wikipedia.org/w/index.php?oldid=1376640715 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot newell-s-algorithm-138677-7f495d3ca942fa63 · hash 7f495d3ca942fa633769e513027e6e832bd7d1bc2f8ce01d7556e1a945684dc4 · captured 1790327249.0 · version history

Cite this page as: encyclopegia.org, “Newell's algorithm”, snapshot newell-s-algorithm-138677-7f495d3ca942fa63. https://encyclopegia.org/a/newell-s-algorithm

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.