Non-photorealistic Rendering

Similar documents
Non-Photorealistic Rendering

Types of Computer Painting

CS559: Computer Graphics. Lecture 6: Painterly Rendering and Edges Li Zhang Spring 2008

Nonphotorealism. Christian Miller CS Fall 2011

Nonphotorealistic rendering

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

CS452/552; EE465/505. Finale!

Non-Photo Realistic Rendering. Jian Huang

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

Advanced Computer Graphics: Non-Photorealistic Rendering

Artistic Rendering of Function-based Shape Models

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

Photorealism vs. Non-Photorealism in Computer Graphics

Illumination Models & Shading

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

Real-Time Non- Photorealistic Rendering

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

View-Dependent Particles for Interactive Non-Photorealistic Rendering

Non-Photorealistic Experimentation Jhon Adams

View-Dependent Particles for Interactive Non-Photorealistic Rendering

A model to blend renderings

Image Precision Silhouette Edges

Making Impressionist Paintings Out of Real Images

Oso Toon Shader. Step 1: Flat Color

Rendering and Radiosity. Introduction to Design Media Lecture 4 John Lee

Artistic Stylization of Images and Video

Advanced Real- Time Cel Shading Techniques in OpenGL Adam Hutchins Sean Kim

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

3D Silhouette Rendering Algorithms using Vectorisation Technique from Kedah Topography Map

How to draw and create shapes

A Hybrid Approach to Real-Time Abstraction

EEL Introduction to Computer Graphics. Team Essay: Fall Active learning project: non-photorealistic rendering. Submission deadlines:

Computer Graphics. Shading. Based on slides by Dianna Xu, Bryn Mawr College

Ink-and-wash Painting Based on the Image of Pine Tree using Mean Curvature Flow

Geometry Shader - Silhouette edge rendering

10.6 Render - Freestyle

A Watercolor NPR System with Web-Mining 3D Color Charts

LEVEL 1 ANIMATION ACADEMY2010

Enhancing Information on Large Scenes by Mixing Renderings

A Sketch Interpreter System with Shading and Cross Section Lines

A study of how Chinese ink painting features can be applied to 3D scenes and models in real-time rendering

Rendering Silhouettes with Virtual Lights

Chapter 7 - Light, Materials, Appearance

Image Precision Silhouette Edges

Scan line algorithm. Jacobs University Visualization and Computer Graphics Lab : Graphics and Visualization 272

The Reflection of Light

EFFICIENT STIPPLE RENDERING

AC : COMPUTER-BASED NON-PHOTOREALISTIC RENDERING. Marty Fitzgerald, East Tennessee State University

Optics II. Reflection and Mirrors

COMP30019 Graphics and Interaction Rendering pipeline & object modelling

Lecture outline. COMP30019 Graphics and Interaction Rendering pipeline & object modelling. Introduction to modelling

3 NON-PHOTOREALISTIC RENDERING FOR OUTDOOR SCENE Irene Liew Suet Fun Mohd Shahrizal Sunar

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Module 1: Basics of Solids Modeling with SolidWorks

Non photorealistic Rendering

Computer Graphics. Si Lu. Fall er_graphics.htm 10/11/2017

Graphics and Interaction Rendering pipeline & object modelling

Level of Details in Computer Rendering

Paint by Numbers and Comprehensible Rendering of 3D Shapes

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

CMSC 491A/691A Artistic Rendering. Artistic Rendering

Real-Time Painterly Rendering for MR Applications

THE combination of Darwin s theory and computer graphics

Real-Time Charcoal Rendering Using Contrast Enhancement Operators

INSPIRE: An Interactive Image Assisted Non-Photorealistic Rendering System

Real-time non-photorealistic rendering

Non photorealistic Rendering

Moment Based Painterly Rendering Using Connected. Color Components

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

CMSC 491A/691A Artistic Rendering. Announcements

Einführung in Visual Computing

Real-Time Hatching. Abstract. 1 Introduction

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection

A GPU-Based Approach to Non-Photorealistic Rendering in the Graphic Style of Mike Mignola

Fine Tone Control in Hardware Hatching

CPSC 314 LIGHTING AND SHADING

Computer-Generated Pen & Ink Illustration

9. Illumination and Shading

Art Based Rendering of Fur by Instancing Geometry

ShapePalettes: Interactive Normal Transfer via Sketching

Synthesis of Oil-Style Paintings

> objective(s): Students will create a text-only design in either Adobe Illustrator or Photoshop

CS5620 Intro to Computer Graphics

Effectiveness of Silhouette Rendering Algorithms in Terrain Visualisation

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

TDA362/DIT223 Computer Graphics EXAM (Same exam for both CTH- and GU students)

Real-Time Pencil Rendering

TurboCAD Mac Pro 5. New features for Version 5! New Architectural Tools, Sketch Rendering, Layer Sets and more!

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

Introduction to Visualization and Computer Graphics

Chapter 10. Creating 3D Objects Delmar, Cengage Learning

BCC Rays Streaky Filter

An Abstraction Technique for Producing 3D Visual Contents

Nonphotorealistic Virtual Environment Navigation from Images

Unit 3: Chapter 5. Reflection

SEOUL NATIONAL UNIVERSITY

1 Tutorials About the Tutorial Exercises

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

From Graphics to Visualization

CSE328 Fundamentals of Computer Graphics: Concepts, Theory, Algorithms, and Applications

Transcription:

Non-photorealistic Rendering Art Rendering 1 From: ATI Radeon 9700 Real-Time Demos

A Brief History of (Western) Painting Prehistoric Egyptian Medieval Renaissance A peak in realism Impressionism Modernism And so on NPR - Center for Graphics and Geometric Computing, Technion 2

NPR What is it all about? Creating Images and scenes which depict models and view according to style, not adhering to photorealism Painterly rendering Cartoons Sketching and line art Technical illustrations Etc. From: www.archicad.ca/?cat=10 From: http://cebas.com/products/feature.php?fid=309&pid=37&ud=10-7888-33-788 NPR - Center for Graphics and Geometric Computing, Technion 3

Painterly Rendering Simulating different styles of painting Brush strokes Diffusion of ink Color mixing and palette Different styles From: Abstraction and Rendering of Sparsely Scanned Outdoor Environments by Xu et al. NPR - Center for Graphics and Geometric Computing, Technion 4

Example 1: Curved Brush Strokes Painterly Rendering with Curved Brush Strokes of Multiple Sizes by Aaron Hertzmann Using different brush sizes to capture details Observation: Artists starts with large brushes and move on to smaller ones to add detail NPR - Center for Graphics and Geometric Computing, Technion 5

The Algorithm Input: A source image and a set of brush sizes, expressed by radii: R, sorted by 1, R2 Rn descending order. Drawing coarse strokes layers before finer ones. Algorithm: function Paint(sourceImage,R 1,,R n ) Canvas:= A constant color image for each R referenceimage=gaussianblur(sourceimage,r) PaintLayer(canvas, referenceimage, radius) Return canvas NPR - Center for Graphics and Geometric Computing, Technion 6

The Algorithm Reference image blurring the source image with a Gaussian. Features smaller than current brush size disappear. PaintLayer(canvas, referenceimage, Radius) Create a jittered grid on the image, which is radius dependant Distance between pixels is roughly the brush s size. Why jittered? For each pixel on the grid we compute the total error of this area If larger than a tolerance, find point of maximum error, and create a stroke of color starting at that point The different types of strokes depict different styles. Simplest is circular stroke. NPR - Center for Graphics and Geometric Computing, Technion 7

The Algorithm NPR - Center for Graphics and Geometric Computing, Technion 8

Different Strokes Source Impressionist From: http://www.postulate.org Expressionist Colorist Wash NPR - Center for Graphics and Geometric Computing, Technion 9

Example 2: Cel-shading A style which mimics cartoon rendering Properties: Silhouette outlines Limited number of colors in shading Making the object look flat and hand-drawn From: http://www.gamedev.net/reference/arti cles/article2021.asp From: http://www.maxon.net/pages/products/modules/sketchandtoon/fill_e.html NPR - Center for Graphics and Geometric Computing, Technion 10

Example 2: Cel-shading NPR - Center for Graphics and Geometric Computing, Technion 11

Cel-shading Algorithm Render the silhouette: Move each vertex slightly in the normal direction Render back faces in solid color Using inverted back-face culling. Render the front faces Compute shading for each fragment Quantize result NPR - Center for Graphics and Geometric Computing, Technion 12

More Examples NPR - Center for Graphics and Geometric Computing, Technion 13

Example 3: Line Art and Sketching Adaptive extraction of isoparametric curves Importance-Based rendering NPR - Center for Graphics and Geometric Computing, Technion 14

Line Art Based on A Few Good Lines by Sousa et al. Humans interpret line drawings remarkably well Used by scientists and artists to represent 3D object Pure line drawings consists of lines only, no tones Expressive, simple and fun NPR - Center for Graphics and Geometric Computing, Technion 15

Input: Polygonal mesh Main algorithm: A few good lines Extract feature edges and classify them Construct graphs based on the edges and create chains Extrude the chains in 3D to create ribbons Fit splines to the ribbons edges Render the ribbons in black and the model in white 16

Feature edge classification Outline edges Silhouette edges shared by front- and back-facing faces Boundary edges incident to only one face Interior edges Creases edges between faces of dihedral angle between (min,max) Cap and Pit edges situated in a convex and concave regions respectively 17

Cap and Pit Maximum curvature approximation Find the minimum radius of curvature r = tan(θ) PA /2 For 3D replace PC by an approximation to the normal N Consider all PA i s Estimate θ i =arccos(n PA i ) Take the minimal r i =tan(θ i ) PA i 18

Chaining and Creating Ribbons Construct 5 graphs for each type of line Graph may be directed or undirected Direction chosen randomly Directed graph will result in more and shorter chains Create chains on the edges using a greedy method Extrude chain vertices in the normal direction Amount is proportional to curvature Fit splines to Ribbons 19

Rendering process Chaining Extruding Rendering Rendering Fitting 20

Results NPR - Center for Graphics and Geometric Computing, Technion 21

Pencil Rendering From: Real-Time Pencil Rendering by Lee et al. (NPAR 2006) NPR - Center for Graphics and Geometric Computing, Technion 22

Typical characteristics: Technical Illustration Edges and silhouette lines in black Matte objects in colors far from B&W, warmth of color indicates surface normal, and a single light usually produces highlights No shadows Metal objects seem anisotropic (not uniformly shining in every direction) Usually, lines are streaked in the direction of minimum curvature. From: A Non- Photorealistic Lighting Model For Automatic Technical Illustration by Gooch et al. NPR - Center for Graphics and Geometric Computing, Technion 23

Last but not least: ASCII ART! From: www.pingmag.jp/2006/02/09/ascii-art/ From: http://www.instructables.com/id/ascii-art/ NPR - Center for Graphics and Geometric Computing, Technion 24