- 1、本文档共36页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Antialiasing in Action A Closer Comparison Aliasing in Time Our animations can also experience temporal aliasing ? the motion of objects does not appear as it should Consider a spoked wagon wheel ? suppose it rotates 7/8 around in 1 second ? and we take a picture of it every second ? it appears to be rotating backwards! Aliasing in Time In principle, this is the same phenomenon as spatial aliasing ? converting from continuous to discrete representation ? unlucky choice of discrete samples will give us bad results Can solve the problem in the same way as spatial aliasing ? temporal supersampling and average ? in other words, motion blur Final Thoughts on Aliasing Unfortunately, we can never really win ? no matter how much we supersample, aliasing remains ? it just gets less and less apparent ? and at some point, humans can’t detect it anymore We’ve skipped over vast amounts of theory ? can develop rigorous theory of (anti)aliasing – based upon signal processing theory (see Foley) ? in this course, focus on simple antialiasing in practice Fractal:分形 * Antialiasing Department of CS E, East China University of Science Technology What is a pixel? A pixel is not… A box A disk A teeny tiny little light A pixel is a point It has no dimension It occupies no area It cannot be seen It can have a coordinate A pixel is more than a point, it is a sample Samples Most things in the real world are continuous Everything in a computer is discrete The process of mapping a continuous function to a discrete one is called sampling The process of mapping a continuous variable to a discrete one is called quantization Rendering an image requires sampling and quantization Samples Samples Line Segments We tried to sample a line segment so it would map to a 2D raster display We quantized the pixel values to 0 or 1 We saw stair steps, or jaggies Where Do Jaggies Come From? Our primitives don’t evenly cover all the pixels they touch ? higher reso
文档评论(0)