Title: NPR
1NPR Vis
- Non-Photorealistic Rendering
- Caricature
- Shape/Volume Visualization
2Different Objectives
- Realistic More correct
- Artistic More interesting
- Scientific More informative
3Terminology
- Visualization
- Interpret geometry/data/information in visual
form (metaphor) - Volume visualization
- Rendering a 3D scalar or vector field
- Rendering
- Mechanics of computing pixel colors from a
graphic model - Photorealism
- Attempt to reproduce physics of light
- Non-Photorealistic Rendering (NPR)
- Stylistic rendering effects
- Caricature
- Extract exaggerate distinguishing features
4Edge Attributes
- Sharp edges (creases)
- Surface normal discontinuities
- Where surfaces meet
- Tessellation edges are smooth
- Silhouettes
- Separate front and back facing parts
- Form closed loops
- Visible
- Bounding at least one front faces
- Not occluded from the viewpoint
Which edges are shown?
Which are dashed?
5Technical Illustration
- Silhouettes
- Hidden Parts
- Color cues
- Hatching
- Cross-sections
- Interferences
6Amy Gooch - Bruce Gooch - Peter Shirley - Elaine
Cohen
- http//www.cs.utah.edu/gooch/SIG98/abstract.html
- Use hue shift to enhance orientation
- Warmer tones perceived as closer
- Mix with mid part of luminance
7Art Imitation
8Antonio Haro (class project)
- Approach
- Find the (visible) silhouette edges
- Parameterize them
- Offset along tangent normal
- Draw using 'sketched' style
9How to find the silhouettes?
- Edges that separate front and back faces
10WYSIWYG NPRDrawing Strokes Directly on 3D Models
11NPR Simulating Various Media
12Long-Range Goal
Create full scene by drawing
13NPR Dynamic Imagery
Painterly rendering for video Litwinowicz 97
Painterly rendering for3D models Meier 96
14NPR Interactive Rendering
Kowalski 99
Praun 01
Gooch 98
Algorithms for aesthetic qualities.
15WYSIWYG NPR
16Stylistic Flexibility
17Overview of Components
Base Coat Brush Style Paper Effect Decals Outlines
Hatching
18Overview of Components
Base Coat Brush Style Paper Effect Decals Outlines
Hatching
19Decal Strokes
- Direct control
- Draw on surface
- For magnified or oblique views
- No blurring
- Explicit control of stroke width
- unlike texture maps
20Overview of Components
Base Coat Brush Style Paper Effect Decals Outlines
Hatching
21Outlines
Artist sketches over outlines
Stylization retainedfor novel views
- Two types of outlines
- Creases
- Silhouettes
creases
silhouettes
22Silhouette Stylization
- Silhouettes are view-dependent.
- Problem 1 localized stylization?!?
- Solution rubber-stamp globally
23Silhouette Parameterization
24Silhouette Tracking
- Silhouettes are view-dependent.
- Problem 2 parameterization coherence
- Solution screen-space tracking
25Robert Kalnins, Philip Davidson, Lee Markosian,
?Adam Finkelstein
- http//www.cs.princeton.edu/gfx/pubs/Kalnins_2003_
CSS/index.php - Coherent Stylized Silhouettes
- Silhouettes correspondence
- in consecutive frames
- Track silhouettes in 3D
26Overview of Components
Base Coat Brush Style Paper Effect Decals Outlines
Hatching
27Hatching Level of Detail
- Free hatching
- User-defined LOD
- Structured hatching
- Automatic LOD
28Structured Hatching LOD
LOD based on size of group
29Hatching Lighting Scheme
- Fixed Hatching
- Light fixed in world frame
- Mobile Hatching
- Light moves with camera
fixed
mobile
30Mobile Hatching Lighting Model
31Future Work
- Adopt style synthesis more broadly
- Object interactions (e.g. shadows)
32Base Coat
- Per object
- Shaders (e.g. Toon)
- Lighting Model
- Paper Texture
- etc.
33Brush Style
- Per stroke
- Color
- Width profile
- Alpha profile
- Paper
- etc.
- Rendered as triangle strips.
34Strokes
Visibility computed via ID reference image.
35Paper Effect
- Height field texture
- Peaks catch pigment
- Valleys resist pigment
- Implementation
- Pixel shader
36Further Reading
- Craig Raynolds (Online survey)
- http//www.red3d.com/cwr/npr/
- Fredo Durand (Paper)
- An invitation to discuss Computer Depiction
373D Caricatures
Ergun Akleman Jon Reisch
Visualization Sciences Program College of
Architecture Texas AM University
38Abstraction
By Sebastian Kruger
39Simplification
By Hanoch Piven
By David Cowles
King Louis Philippe by Charles Philipon
40Attempts on Automated Caricature
Susan Brennan Caricature Generator 1982 M.
Tominaga, S. Fukuoka, K. Murakami and H.
Koshimizu, Picasso System, 1997 S. Iwashita, Y.
Takeda and T. Onisawa , Expressive Facial
Caricature Drawing, 1999 J. Nishino, T. Kamyama,
H. Shira, T. Odaka and H. Ogura, Facial
Caricature Drawing System, 1999 Lin Liang, Hong
Chen, Ying-Qing Xu, Heung Shum, Example Based
Caricature, 2003
41A New Morphing Approach to create Extreme
Caricatures Ergun Akleman with James Palmer
Ryan Logan (Visual 2000)
423D caricatures by students
By Han Lei
43Case Study Julia Roberts - 1. Data Collection
By Jan Op De Beeck
442. Unique Feature Identification
453. Abstract 3D shape creation
Reclining Bather, by Pablo Picasso, 1931 Musee
Picasso, Paris
464. Skin Modeling
474. Final Rendering
48Illustration vs. Volume Rendering
49Biology
50Medicine
51GIS
52Chemistry
53Weather
54Simulation
55Flow
56Mechanical
57Terrain visualization Victoria Interrante
- http//www-users.cs.umn.edu/interran/texture/inde
x.html - Draw lines of principal curvature
58Hidden surfaces Victoria Interrante
- http//www-users.cs.umn.edu/interran/3Dshape.html
- Use principal curvature lines to distribute
points on transparent iso-surfaces
59Volume-Visualization
- Density
- Section
- Isosurface
- Vector field
- Flow
60Traditional Medical Image
61Where Is Visualization Today?
- Realistic visualization in real-time is close
Images courtesy of Joe Kniss
62Perceptualization David Ebert
- David S.Ebert
- Electrical Computer Engineering
- Purdue University
- ebertd_at_purdue.edu
63Advanced Real-time Visualization Examples
Images from Kniss, Premoze, Hansen, Ebert,
Interactive Translucent Volume Rendering and
Procedural Modeling, IEEE Visualization 2002.
64Interactive Volume Illustration and Stippling
Lu, Morris, Ebert, Hansen, Rheingan,
Non-photorealistic Volume Rendering Using
Stippling Techniques, IEEE Visualization 2002.
65The Data Deluge
- Example 2 scientific visualization of
Osprey-like aircraft - 7.4 million tetrahedra in simulation
- 1362 timesteps
- Multiple data values per grid point (velocity,
vorticity, etc.) - Very long simulation andvisualization time on
largemachines
Visualization courtesy of Mississippi State
Engineering Research Center
66The Data Deluge
- Example 3 scientific visualization of turbulent
mixing - 8 billion voxels per timestep
- 274 timesteps
- Terabytes of data
Visualization courtesy of Mark Duchaineau, Peter
Lindstrom, et al., Lawrence Livermore National
Labs
67Selective Enhancement Techniques
- Most medical and technical illustration uses
selective detail to focus the viewers attention