The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy...

17
The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch

Transcript of The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy...

Page 1: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

The Lit Sphere:

A Model for Capturing NPR Shading from Art

Peter-Pike J. Sloan

William Martin

Amy Gooch

Bruce Gooch

Page 2: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Motivation

• Interactive shading of 3D characters

• Artists shading study on the sphere

Page 3: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Motivation

• Acquire reflectance from real world– Use to illuminate and

place synthetic objects in scene

Page 4: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Previous Work

• NPR– Lake2000 – Cartoon Shading– Gooch98 – Technical Illustration– Praun2001 – Real time hatching

• Acquiring Shading Models– Environment Maps

• Blinn76,Miller84,Green86

– More general models• Yu98, Yu99, Sato99

Page 5: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Simple Idea

• “Paint by normals”– Surface parameterized by normal field– Store shading model in a environment

mapped indexed by surface normal (not reflection vector)

Page 6: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Simple Examples

Page 7: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Simple Demo

Page 8: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Creating the Environment Map

• Could just paint it– requires artistic ability

Page 9: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Extracting EMap

Page 10: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Creating the Environment Map

• “Extract” from source artwork– Map triangles from

source onto sphere– Simple control over

parameterization

Page 11: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Creating The Environment Map

• Fill in gaps– Render at multiple

scales– Blend into final image

• (1-dest,1)

– Could solve for colors by minimizing some high pass filter (ala Hakura99 and McCool01)

– Texture synthesis

Page 12: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Simple Demo 2

Page 13: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

More Examples

Page 14: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Issues

• Texture “crawls” when view changes• Texture as a function of curvature – seems odd

but works better then one would expect, flat regions have no variation

• Could attach texture to the surface, or at least separate it from shading– Probably want texture anchored on the surface, but

able to respond to shading changes – kind of like Praun2001 but not just for hatching

Page 15: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Simple Hacks

• Have separate “texture sphere” that rotates with the object– Really should just live on the surface, bad

parameterization for something very coherent– Just use cube maps

• Modulate final results with “canvas” image– Kind of like detail textures, sometimes can

make the “swimming” less objectionable

Page 16: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Conclusions

• Simple way to interactively shade objects based on source artwork

• Works ok if you aren’t trying to transfer something that has strong texture

• Probably should factor the model into more then 1 term…

Page 17: The Lit Sphere: A Model for Capturing NPR Shading from Art Peter-Pike J. Sloan William Martin Amy Gooch Bruce Gooch.

Acknowledgments

• University of Utah Computer Graphics groups

• Louise Bell, Grue, Susan Ashurst

• Michael Cohen, Adam Finkelstein, James Mahoney, Wolfgang Heidrich

• DARPA, NSF STC for CG&SV