Non-Photo Realistic Rendering. Jian Huang

Similar documents
12/3/2007. Non-Photorealistic Rendering (NPR) What is NPR exactly? What is NPR exactly? What is NPR exactly? What is NPR exactly?

Let s start with occluding contours (or interior and exterior silhouettes), and look at image-space algorithms. A very simple technique is to render

Non-Photorealistic Rendering

Real-Time Non- Photorealistic Rendering

Artistic Rendering of Function-based Shape Models

Introduction. Illustrative rendering is also often called non-photorealistic rendering (NPR)

Non-photorealistic Rendering

Photorealism vs. Non-Photorealism in Computer Graphics

Paint by Numbers and Comprehensible Rendering of 3D Shapes

Non-Photorealistic Experimentation Jhon Adams

Non-Photorealistic Rendering (NPR) Christian Richardt, Rainbow Group

Hot Topics in Visualization

Medical Visualization - Illustrative Visualization 2 (Summary) J.-Prof. Dr. Kai Lawonn

Hot Topics in Visualization. Ronald Peikert SciVis Hot Topics 12-1

Art Based Rendering of Fur by Instancing Geometry

Computer Graphics 1. Chapter 7 (June 17th, 2010, 2-4pm): Shading and rendering. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2010

CSC 2521 Final Project Report. Hanieh Bastani

INSPIRE: An Interactive Image Assisted Non-Photorealistic Rendering System

I d like to start this section with a quote from David Byrne in an article for Utne. In the article he was mostly talking about 2D design and

View-Dependent Particles for Interactive Non-Photorealistic Rendering

CS452/552; EE465/505. Finale!

Conveying 3D Shape and Depth with Textured and Transparent Surfaces Victoria Interrante

Image Precision Silhouette Edges

A Hybrid Approach to Real-Time Abstraction

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

Graphics Hardware and Display Devices

Nonphotorealism. Christian Miller CS Fall 2011

Chapter 7 - Light, Materials, Appearance

CIS 581 Interactive Computer Graphics

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Advanced Computer Graphics: Non-Photorealistic Rendering

Level of Details in Computer Rendering

Oso Toon Shader. Step 1: Flat Color

LIGHTING - 1. Note. Lights. Ambient occlusion

View-Dependent Particles for Interactive Non-Photorealistic Rendering

Hermite Curves. Hermite curves. Interpolation versus approximation Hermite curve interpolates the control points Piecewise cubic polynomials

Advanced Shading I: Shadow Rasterization Techniques

ITS 102: Visualize This! Lecture 7: Illustrative Visualization. Introduction

NPR. CS 334 Non-Photorealistic Rendering. Daniel G. Aliaga

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

Chapter 1 Introduction

How do we draw a picture?

REYES REYES REYES. Goals of REYES. REYES Design Principles

Real-Time Hatching. Abstract. 1 Introduction

CMSC 491A/691A Artistic Rendering. Artistic Rendering

Non photorealistic Rendering

RGBN Image Editing Software Manual

Design Visualization with Autodesk Alias, Part 2

Photo Studio Optimizer

Non-photorealistic Rendering Using an Adaptive Halftoning Technique

Texture. Texture Mapping. Texture Mapping. CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

Exaggerated Shading for Depicting Shape and Detail. Szymon Rusinkiewicz Michael Burns Doug DeCarlo

Animation & Rendering

Graphics and Interaction Rendering pipeline & object modelling

Real-time non-photorealistic rendering

Point based Rendering

Preprint draft: to appear in ACM SIGGRAPH do not distribute. Real-Time Hatching

Seamless Integration of Stylized Renditions in Computer-Generated Landscape Visualization

9. Illumination and Shading

Image-Based Modeling and Rendering. Image-Based Modeling and Rendering. Final projects IBMR. What we have learnt so far. What IBMR is about

Applications of Explicit Early-Z Culling

3D Polygon Rendering. Many applications use rendering of 3D polygons with direct illumination

Using LightWave s Motion Blur to Achieve a Hand Drawn Line Effect:

Making Your First Character

Synthesis of Oil-Style Paintings

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2014

NPR.js : A JavaScript library for Interactive Non- Photorealistic Rendering in WebGL. Michael Price ScM Thesis Project Documentation

ART 268 3D Computer Graphics Texture Mapping and Rendering. Texture Mapping

Non photorealistic Rendering

Hairy Brushes. Steve Strassmann. Computer Graphics and Animation Group, MIT Media Laboratory SIGGRAPH 1986

Pen Tool, Fill Layers, Color Range, Levels Adjustments, Magic Wand tool, and shadowing techniques

Geometry Shader - Silhouette edge rendering

COM337 COMPUTER GRAPHICS Other Topics

Ch 22 Inspection Technologies

Hybrid Rendering for Collaborative, Immersive Virtual Environments

CIS 581 Interactive Computer Graphics (slides based on Dr. Han-Wei Shen s slides) Requirements. Reference Books. Textbook

Interactivity is the Key to Expressive Visualization

Lesson 11. Polygonal Spaceship

Mach band effect. The Mach band effect increases the visual unpleasant representation of curved surface using flat shading.

Deferred Rendering Due: Wednesday November 15 at 10pm

Modeling the Virtual World

Computer Science 426 Midterm 3/11/04, 1:30PM-2:50PM

Ray Casting of Trimmed NURBS Surfaces on the GPU

Shading. Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller/Fuhrmann

Computing Visibility. Backface Culling for General Visibility. One More Trick with Planes. BSP Trees Ray Casting Depth Buffering Quiz

Synthesis of Textures with Intricate Geometries using BTF and Large Number of Textured Micropolygons. Abstract. 2. Related studies. 1.

Render methods, Compositing, Post-process and NPR in NX Render

Homework #2. Shading, Ray Tracing, and Texture Mapping

Scene Management. Video Game Technologies 11498: MSc in Computer Science and Engineering 11156: MSc in Game Design and Development

CS 354R: Computer Game Technology

Computer Graphics and Visualization. What is computer graphics?

BETWEEN PHOTO-REALISM AND NON-PHOTO REALISTIC RENDERING MODELING URBAN AREAS FOR REAL TIME VR

Single Pass GPU Stylized Edges

Computer Graphics I Lecture 11

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

Painting Tiling Foliage Textures

CMSC 491A/691A Artistic Rendering. Announcements

Queen s University CISC 454 Final Exam. April 19, :00pm Duration: 3 hours. One two sided aid sheet allowed. Initial of Family Name:

Transcription:

Non-Photo Realistic Rendering Jian Huang

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

Halftoning: A Long Time Ago 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.