Non-Photo Realistic Rendering Jian Huang CS594 Fall 2003 This set of slides are modified from the NPR Course during SIGGRAPH’2003.

Slides:



Advertisements
Similar presentations
Why is photorealism the aim? People paint! What is NPR? NPR issues NonPhotorealistic Rendering.
Advertisements

Computer graphics & visualization Real-Time Pencil Rendering Marc Treib.
Saito, T. and Takahashi, T. Comprehensible Rendering of 3-D Shapes Proc. of SIGGRAPH '90 Genesis of Image Space NPR.
Exploration of bump, parallax, relief and displacement mapping
Non-Photorealistic Rendering FORMS. Mesh (~170) Parametric (~16) Implicit/CSG (~9) Volumetric (~28) 3D Object Representation in NPR Point Cloud (~4)
Non-Photorealistic Rendering: Toon Shading David Luebke University of Virginia.
How to Draw What You See!.
Allen High School Fall Semester Midterm Exam
(conventional Cartesian reference system)
Suggestive Contours Final programming assignment Advanced topics in Computer Graphics.
Painterly Rendering for Animation Barbara J. Meier Walt Disney Feature Animation SIGGRAPH 96.
Non-Photorealistic Rendering Greg Turk College of Computing and GVU Center.
Non-Photorealistic Rendering - This is the attempt to make a realistic scene or object look as if it were hand drawn.
Week 14 - Wednesday.  What did we talk about last time?  Collision handling  Collision detection  Collision determination  Collision response  BSPs.
Computer Art Semester Review Answer the following questions using the PDF documents supplied. The Links to these files are located on our class website.
Computer graphics & visualization NPR – Non-photorealistic rendering.
Computer-Generated Pen- and-Ink Illustration Georges Winkenbach, David H. Salesin.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - GRAPHICS. In this chapter how the computer creates, stores, and displays graphic images how the computer creates,
TED 105 Fall Design elements are the basic units of a painting, drawing, design or other visual piece and include: Line Shape Form Color Texture.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
The Elements of Design.
SIGGRAPH 2007 Tilke Judd Frédo Durand Edward Adelson.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
Vector vs. Bitmap
Introduction to Textures and Skins Chapter 8 & 9 3D Game Programming All-in-One By Ken Finney.
A Non-Photorealistic Model for Automatic Technical Illustration Amy Gooch Bruce Gooch Peter Shirley Elaine Cohen SIGGRAPH 1998 Presented by Anteneh.
Light Using Texture Synthesis for Non-Photorealistic Shading from Paint Samples. Christopher D. Kulla, James D. Tucek, Reynold J. Bailey, Cindy M. Grimm.
Shading & Texture. Shading Flat Shading The process of assigning colors to pixels. Smooth Shading Gouraud ShadingPhong Shading Shading.
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
Computer-Generated Pen-and-Ink Illustration of Trees Oliver Deussen & Thomas Strothotte University of Magdeburg.
GIS Lecture 2 Map Design.
Lumo: Illumination for Cel Animation Scott F. Johnston.
Paint By Numbers The goal of a visual artist (Hagen): Without modeling detail, painters use brush strokes to: –Represent objects –Direct attention The.
Non-Photorealistic Rendering Motivation: Much of the graphical imagery created is not photographic in nature Particularly in some domains: –Art –Animation.
Now days, sampled 3D models become more widespread in many fields and applications. It is often necessary to have a credible 2D model that emphasizes.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Gesture and Contour Drawing!
Binary Space Partitioning Trees Ray Casting Depth Buffering
Non-Photorealistic Rendering: Toon Shading David Luebke University of Virginia.
Realtime NPR Toon and Pencil Shading Joel Jorgensen May 4, 2010.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
09/16/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Environment mapping Light mapping Project Goals for Stage 1.
04/23/03© 2003 University of Wisconsin Where We’ve Been Photo-realistic rendering –Accurate modeling and rendering of light transport and surface reflectance.
The Seven Elements of Art Ms. Hanson/ART 1. Definition of The Elements of Art The elements of art are a commonly used group of aspects of a work of art.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
RENDERING Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program.
Shading : (Fine Arts & Visual Arts / Art Terms) the graded areas of tone, lines, dots, etc., indicating light and dark in a painting or drawing.
Colour and Texture. Extract 3-D information Using Vision Extract 3-D information for performing certain tasks such as manipulation, navigation, and recognition.
Yizhou Yu Texture-Mapping Real Scenes from Photographs Yizhou Yu Computer Science Division University of California at Berkeley Yizhou Yu Computer Science.
Non-Photorealistic Rendering FORMS. Model dependent Threshold dependent View dependent Outline form of the object Interior form of the object Boundary.
Painterly Rendering for Animation Introduction speaks of focus and detail –Small brush strokes focus and provide detail –Large strokes are abstract and.
1 CSCE 441: Computer Graphics Hidden Surface Removal Jinxiang Chai.
Elements of Design Value and Color.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Non-Photorealistic Rendering FORMS. Model dependent Threshold dependent View dependent Outline form of the object Interior form of the object Boundary.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Vector GIS. GIS 2 Graphic Features on the World Copyright – Kristen S. Kurland, Carnegie Mellon University.
Classic Graphic Design TheoryClassic Graphic Design Theory* * “classic theory” because it forms the basis for many decisions in design.
DESIGN ELEMENTS AND COMPOSITION By Sofia Obien 2015.
Week 14 - Wednesday CS361.
Computer Graphics.
Computer Art Semester Review DIRECTIONS
Classic Graphic Design Theory*
Value Texture Elements of Art Color Space Line Shape Form.
Principles and Elements of design
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Elements and Principles of art
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Presentation transcript:

Non-Photo Realistic Rendering Jian Huang CS594 Fall 2003 This set of slides are modified from the NPR Course during SIGGRAPH’2003

P and NP Photo realistic has been stated as the goal of graphics during the course of the semester However, there are cases where certain types of non-photo realistic effects may be favored –Illustration: let’s show what is the most important (however you define importance) and neglect irrelevant details –Painterly drawing –….

Examples of NPR (illustration)

Examples of NPR (painterly drawing)

How can computer graphics handle traditional art and illustration?

Simulating Drawing & Painting Two parallels can be followed: science + art Processes, materials, information from scientific analysis

A Layered Framework

Among many possibilities, let’s look at one in as an example Pencil + Paper Interaction

Pencil Paper Interaction FOR each new pencil position over paper Evaluate polygonal tip shape Setup paper lead threshold volume Distribute pencil pressure FOR each paper grain interacting with pencil tip Compute grain porous threshold volume Process grain biting the lead Compute paper damage Compute reflected lead intensity

Pencil Paper Interaction After resolving many issues, and adding operations like smudging, … Paper damage:

Creating Tones From paper damage, different tones can be created

Resulting Images So, what is the missing link between varying tones and shading?

Putting It All Together Rendering?

More sophistication The simulation can be more complicated like a 3D brush: Geometry + Physics + Behavior

Images with Brushes

Now that we know what tools we have, let’s start drawing Feature line drawing: silhouettes, contour lines Toon shading Illustration …

Feature Line Drawing The most important perceptual hues probably should be critical intrinsic shape features Derived from the object geometry –Lines of curvature (principal directions) –Ridge and valley lines (extrema of curvature along) Silhouettes –separate figure from ground separate figure from ground Contour lines –emphasize discontinuities –in depth (viewpoint dependent) –in curvature in curvature (viewpoint independent)

Definition of Silhouette All points on an object surface with normal perpendicular to the viewing ray This include both –Internal silhouette –Object’s outline (aka halo) The silhouette set are view dependent and can be computed in –object space, or –image space (often involves image processing operators like edge detection)

Silhouette Set for Polygon Meshes All edges shared by a front and back facing polygon

Example Obj Space Silhouette Algo’s Brute Force – Iterate through each edge in a polygonal model and test whether each edge is a silhouette edge. Edge Buffer – Using the “Edge Buffer” data structure to iterate over facets instead of edges. Gauss Map Arc Hierarchy – The angles of arcs between front and back facing polygons are stored in a tree structure. Normal Cone Hierarchy – Polygon normals are grouped into cones and these cones are stored in a tree struc-ture.

Example Img Space Silhouette Algo’s Two Pass Methods – Back facing polygons are rendered first with either their depth decreased or their field of view narrowed. Front facing polygons are then rendered on top. Environment Map – Silhouette lines are added to a shading environment map as a preprocess. One Pass Method – During a preprocess phase two cube maps are created, one of surface normals and one of eye linear maps. At runtime per pixel dot products are computed yielding silhouettes. Depth Discontinuity Methods – Pixel depth is compared on a per pixel basis, if the depth difference between two pixels is above a user defined tolerance one of the pixels is colored black.

Other Feature Lines Ridge and Valley Lines

Yet another tool: artistic texturing Collection of marks or strokes in a specific arrangement –The type of strokes, as well as the density & orienation or alignment define the texture –Can convey information as well as enhance visual representation To use it, select (emphasize) essential information to be communicated –Detail, shape, tone and contrast –Reduce unnecessary information –Control of detail, tone –Convey Shape

Approaches Geometric: –Specialized particals, graftals represent –strokes, attached to objects, rendered in screen space. Texture: –A collection of texture mip-maps with pre-rendered strokes. “Toon” shading: –Augment (e.g. quantized) conventional shading models Animated threshold textures –A hybrid of toon shading and texture

A Long Time Ago … Halftoning: –process to represent continuous tone in binary media -print or display (ever heard of dithering?) Necessary loss of information due to limited resolution Approximate tone by using the human visual system

Adaptive methods Inherent loss of information - choose what to preserve Selection of dither screen for type of image Importance driven halftoning The decision of "what to represent” and "how to represent” similar to those artists make to create depictions of real life Create real and representative textures

Halftoning 3D scenes Image-based approach: –Id-buffer-object identifiers –L-buffer-illumination –shape –N-buffer-normals – direction –Z-buffer-depth, edges, and silhouettes shape, contrast

Textures for real-time NPR Principles: –Strokes are pre-rendered: a collection of mip-map textures corresponds to a small number of tones. (e.g. TAMs) –Consistency of strokes: low resolution stroke set is included in higher resolutions sets –Lighter tone set is a subset of the darker stroke set.

TAM Results

Toon Shading Toon: cartoon, to show shading effects on a surface patch with only two or three colors

Other Common NPR Techniques Stippling:use a series of properly scaled and spaced spots Crosshatching consists in crossing a series of lines of various lengths, widths and at various angles with which the artist constructs areas of tone and texture.