Local Layering

James McCann and Nancy Pollard
ACM Transactions on Graphics 28(3), SIGGRAPH 2009 Proceedings, August, 2009.


Download
  • Adobe portable document format (pdf) (8MB)
Copyright notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.

Abstract
In a conventional 2d painting or compositing program, graphical objects are stacked in a user-specified global order, as if each were printed on an image-sized sheet of transparent film. In this paper we show how to relax this restriction so that users can make stacking decisions on a per-overlap basis, as if the layers were pictures cut from a magazine. This allows for complex and visually exciting overlapping patterns, without painstaking layer-splitting, depth-value painting, region coloring, or mask-drawing. Instead, users are presented with a layers dialog which acts locally. Behind the scenes, we divide the image into overlap regions and track the ordering of layers in each region. We formalize this structure as a graph of stacking lists, define the set of orderings where layers do not interpenetrate as consistent, and prove that our local stacking operators are both correct and sufficient to reach any consistent stacking. We also provide a method for updating the local stacking when objects change shape or position due to user editing – this scheme prevents layer updates from producing undesired intersections. Our method extends trivially to both animation compositing and local visibility adjustment in depth-peeled 3d scenes; the latter of which allows for the creation of impossible figures which can be viewed and manipulated in real-time.

Keywords
layers, visibility, compositing, image editing, stacking, animation

Notes

Text Reference
James McCann and Nancy Pollard, "Local Layering," ACM Transactions on Graphics 28(3), SIGGRAPH 2009 Proceedings, August, 2009.

BibTeX Reference
@inproceedings{McCann_2009_7281,
   author = "James McCann and Nancy Pollard",
   title = "Local Layering",
   booktitle = "ACM Transactions on Graphics 28(3), SIGGRAPH 2009 Proceedings",
   month = "August",
   year = "2009",
   number= "CMU-RI-TR-",
}