CS 248 - Introduction to Computer Graphics
Autumn Quarter, 2001
Lecture notes for Tuesday, October 23 (last half of class)
Question for thought: What compositing formula was used to create the last slide? Treat the background, the buddha, and each airbrush stroke as a separate image having color and alpha channels. Your formula should be of the form "A op1 B op2 C op3...", optionally with parentheses, where A, B, and C are images and op1, op2, and op3 are taken from the list of 12 Porter and Duff compositing operators.
In class, I only covered the second case (antialiasing via analytic(al) filtering). The first case (antialiasing via supersampling) can be thought of as a sampled approximation of the second. Within this case, the "right way" is exactly the accumulation buffer supersampling algorithm we've asked you to implement in project #2.
Merging and Transformation of Raster Images for Cartoon Animation,
Computer Graphics (Proc. SIGGRAPH '81), Vol 15, No. 3, August, 1981, pp. 253-262.
Porter, T., Duff., T.,
Compositing digital images,
Computer Graphics (Proc. SIGGRAPH '84), Vol. 18, No. 3, 1984, ACM, pp. 253-259.