5

有趣的阅读 - 像素的中心是(0.5,0.5)

 1 year ago
source link: https://zhuanlan.zhihu.com/p/160762176
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

有趣的阅读 - 像素的中心是(0.5,0.5)

计算机图形学话题下的优秀回答者


v2-a40f9530a0c29fcc43a49eaf92c2d80c_720w.jpg
Photo by Brodie Vissers from Burst

本文来自Real-Time Rendering这本家喻户晓的案头书的官方博客,作者是Eric Haines,Real-Time Rendering这本书的作者之一。

文章的标题似乎是讨论并不新鲜的主题,即像素中心为什么是(0.5,0.5),但全文并不止于此,在此基础上,Eric还讨论了ray-tracing中由于忽略了0.5这个因素而导致的错误。

全文分为以下几个部分:

  • 如何正确处理像素坐标
  • 为何像素中心坐标为半偏移
  • 如何在ray-tracing中正确处理像素中心半偏移导致的问题

原文标题:

The Center of the Pixel is (0.5,0.5)

文章地址:





About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK