27
Non-Photorealistic Rendering CS 319 Advanced Topics in Computer Graphics John C. Hart

CS 319 Advanced Topics in Computer Graphics John C. Hart

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CS 319 Advanced Topics in Computer Graphics John C. Hart

Non-Photorealistic Rendering

CS 319Advanced Topics in Computer Graphics

John C. Hart

Page 2: CS 319 Advanced Topics in Computer Graphics John C. Hart

Whither Graphics?

What is our ultimate goal in computer graphics?

• Photorealism– Makes synthesized pictures appear

like photographs of real objects– Includes distracting artifacts of the

photographic process (e.g. depth of field, lens flare)

– Breeds dishonesty• Communication

– Graphics is a high-bandwidth medium for transmitting information into the brain

Geigel&Musgrave, S97

Gray’s Anatomy

Page 3: CS 319 Advanced Topics in Computer Graphics John C. Hart

Non-photorealistic rendering

• Painterly rendering• pixels imitate brush strokes

• Illustrator like rendering• silhouettes• hatches• stipples

Page 4: CS 319 Advanced Topics in Computer Graphics John C. Hart

Cartoon by Thomas Nast, from Hertzmann+Zorin

Page 5: CS 319 Advanced Topics in Computer Graphics John C. Hart

Silhouettes

• Constructed by• edges shared by front and back-facing polygons• zero set of function

• include bounding contours

Page 6: CS 319 Advanced Topics in Computer Graphics John C. Hart

Cusps

• Silhouettes need not be closed curves

From DeCarlo et al

Page 7: CS 319 Advanced Topics in Computer Graphics John C. Hart

From DeCarlo et al

Page 8: CS 319 Advanced Topics in Computer Graphics John C. Hart

Displacement Silhouettes• Kowalski et al., S99• Add displacement texture to silhouette• Texture controlled by N ⋅V

Page 9: CS 319 Advanced Topics in Computer Graphics John C. Hart

Suggestive contours

Page 10: CS 319 Advanced Topics in Computer Graphics John C. Hart

From DeCarlo et al

Page 11: CS 319 Advanced Topics in Computer Graphics John C. Hart

Hatches

• Directions of curvature• Driven by lighting values• Undercuts emphasize dark spots

Hertzmann+Zorin

Page 12: CS 319 Advanced Topics in Computer Graphics John C. Hart

Basic hatch densities Undercuts emphasize shadows Mach bands give highlights

Hertzmann+Zorin

Page 13: CS 319 Advanced Topics in Computer Graphics John C. Hart

Stylization and abstraction

• Render images with high detail at “important” bits, low detail elsewhere• Need• hierarchy of detail• model of what’s important

Page 14: CS 319 Advanced Topics in Computer Graphics John C. Hart

DeCarlo+Santella

Page 15: CS 319 Advanced Topics in Computer Graphics John C. Hart

DeCarlo+Santella

Page 16: CS 319 Advanced Topics in Computer Graphics John C. Hart
Page 17: CS 319 Advanced Topics in Computer Graphics John C. Hart
Page 18: CS 319 Advanced Topics in Computer Graphics John C. Hart

Winkenbach and Salesin

Page 19: CS 319 Advanced Topics in Computer Graphics John C. Hart
Page 20: CS 319 Advanced Topics in Computer Graphics John C. Hart
Page 21: CS 319 Advanced Topics in Computer Graphics John C. Hart
Page 22: CS 319 Advanced Topics in Computer Graphics John C. Hart

Stippling

• Stipple size/density conveys shading• Algorithm:• Obtain evenly spaced centers with Lloyd’s method• size/density proportional to average grey level in cell

Page 23: CS 319 Advanced Topics in Computer Graphics John C. Hart

Deussen et al

Page 24: CS 319 Advanced Topics in Computer Graphics John C. Hart

Secord, from Hertzmann

Page 25: CS 319 Advanced Topics in Computer Graphics John C. Hart

Lu

Page 26: CS 319 Advanced Topics in Computer Graphics John C. Hart

From Hertzmann

Page 27: CS 319 Advanced Topics in Computer Graphics John C. Hart

Haeberli, from Hertzmann