Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Newell's algorithm

From Wikipedia, the free encyclopedia

Newell's Algorithm is a3D computer graphics procedure for elimination ofpolygon cycles in the depth sorting required inhidden surface removal. It was proposed in 1972 by brothersMartin Newell andDick Newell, and Tom Sancha, while all three were working atCADCentre.

In the depth sorting phase of hidden surface removal, if two polygons have no overlappingextents or extreme minimum and maximum values in the x, y, and z directions, then they can be easily sorted. If two polygons,Q andP, 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 faceQ 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 ofQ
  5. All vertices of Q lie closer to the viewpoint than the plane ofP
  6. Therasterisation ofP andQ do not overlap

The tests are given in order of increasing computational difficulty. The polygons must beplanar. If the tests are all false, then switch the order ofP andQ 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

[edit]

See also

[edit]
Stub icon

Thiscomputer graphics–related article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Newell%27s_algorithm&oldid=1321323838"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp