Digital compositing

CS 248 - Introduction to Computer Graphics
Autumn Quarter, 2001
Marc Levoy
Lecture notes for Tuesday, October 23 (last half of class)


Table of contents:


Press here for the Powerpoint slides I showed in class (HTML or PPT or PDF).

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.




Reference: Wallace, B., Merging and Transformation of Raster Images for Cartoon Animation,
Computer Graphics (Proc. SIGGRAPH '81), Vol 15, No. 3, August, 1981, pp. 253-262.


Reference: Porter, T., Duff., T., Compositing digital images,
Computer Graphics (Proc. SIGGRAPH '84), Vol. 18, No. 3, 1984, ACM, pp. 253-259.


levoy@cs.stanford.edu
Copyright © 2001 Marc Levoy
Last update: October 23, 2001 09:13:59 PM