Warnock algorithm
The Warnock algorithm is a hidden surface algorithm invented by John Warnock that is typically used in the field of computer graphics.[1] It solves the problem of rendering a complicated image by recursive subdivision of a scene until areas are obtained that are trivial to compute. In other words, if the scene is simple enough to compute efficiently then it is rendered; otherwise it is divided into smaller parts which are likewise tested for simplicity.[2]
This is a divide and conquer algorithm with run-time of , where n is the number of polygons and p is the number of pixels in the viewport.
The inputs are a list of polygons and a viewport. The best case is that if the list of polygons is simple, then draw the polygons in the viewport. Simple is defined as one polygon or a viewport that is one pixel in size. The continuous step is to split the viewport into 4 equally sized quadrants and to recursively call the algorithm for each quadrant, with a polygon list modified such that it only contains polygons that are visible in that quadrant.
References
- ^ Warnock, John (1969). "A hidden surface algorithm for computer generated halftone pictures" (HTML gateway to PDF). University of Utah.
The algorithm was Warnock's doctoral thesis.
, 32 pages
Also: http://www.dtic.mil/cgi-bin/GetTRDoc?AD=AD753671&Location=U2&doc=GetTRDoc.pdf - ^ Daintith, John (2009). Oxford Dictionary of Computing. Oxford University Press. ISBN 978-0199234004.
{{cite book}}
: Unknown parameter|coauthors=
ignored (|author=
suggested) (help), 608 pages
External links