> When I teach graphics programming, I will continue to tell students that pixels are like little boxes.
There’s certainly a sweet spot, where too much theoretical background takes away from learning graphics, and too little could leave students unprepared, or worse, uninterested.
It’s certainly good & fun to go through at least a little sampling theory.
You might also be interested to know the guy who wrote this paper co-founded Pixar. His graphics advice is worth careful consideration.
> It turns out that thinking of them as little boxes arranged in rectangular grids is very useful.
Do keep in mind that the shape and the arrangement are two separate things. Alvy’s paper is talking about the sample shape, but not talking about the arrangement. The grid arrangement is useful, and Alvy would agree.
> Because that is how computers deal with them. Not as point samples.
I’d be cautious drawing that line. I realize you were talking in part about grid arrangements. But computers treat samples however we teach them to. It’s uncommon and unlikely you’re writing a lot of code that truly handles pixels as finite square geometry rather than a point sample. Plus, if you’re teaching things like magnification filtering using bilinear or bicubic, then you’re already treating pixels (or perhaps texels) as point samples.
Here’s what you get when you treat pixels as squares: https://news.ycombinator.com/item?id=17845460