http://www.graphics.cornell.edu/~wes...3-reschart.pdf