Non-Photorealistic Rendering - This is the attempt to make a realistic scene or object look as if it were hand drawn.

Slides:



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

Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
Lecture Fall 2001 Visibility Back-Face Culling Painter’s Algorithm.
CAP4730: Computational Structures in Computer Graphics Visible Surface Determination.
Non-Photorealistic Rendering: Toon Shading David Luebke University of Virginia.
Non-Photo Realistic Rendering Jian Huang CS594 Fall 2003 This set of slides are modified from the NPR Course during SIGGRAPH’2003.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
Non-Photorealistic Rendering or More-Interesting Rendering (in a more positive sense) Presented by Adam Smith for CMPS160.
Week 14 - Wednesday.  What did we talk about last time?  Collision handling  Collision detection  Collision determination  Collision response  BSPs.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
Post-rendering Cel Shading & Bloom Effect
Computer-Generated Pen- and-Ink Illustration Georges Winkenbach, David H. Salesin.
Starry Night by Vincent Van Gogh
Shadows Computer Graphics. Shadows Shadows Extended light sources produce penumbras In real-time, we only use point light sources –Extended light sources.
Polygon Shading. Assigning color to a shape to make graphical scenes look realistic, or artistic, or whatever effect we’re attempting to achieve But first.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
UniS CS297 Graphics with Java and OpenGL Introduction.
Lesson Two: Creating Sprites. What Are Sprites? Two-dimensional Image that is integrated into a larger graphics area. Sprites are everything that is visual.
CSE 381 – Advanced Game Programming Basic 3D Graphics
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Emerging Technologies for Games Alpha Sorting and “Soft” Particles CO3303 Week 15.
CS 638, Fall 2001 Multi-Pass Rendering The pipeline takes one triangle at a time, so only local information, and pre-computed maps, are available Multi-Pass.
Cel Shading Jason McCollum. Overview Nonphotorealistic Rendering (NPR) Cel-shading Concepts Demonstration.
Lecture by: Martin Deschamps CSE 4431
1 Computer Graphics Week2 –Creating a Picture. Steps for creating a picture Creating a model Perform necessary transformation Lighting and rendering the.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Paint By Numbers The goal of a visual artist (Hagen): Without modeling detail, painters use brush strokes to: –Represent objects –Direct attention The.
3D animation is rendered clip of animated 3D objects in a 3D environment. An example: Examples of movies released in 3D are Toy Story, Cars, Shrek, Wall-E,
Non-Photorealistic Rendering: Toon Shading David Luebke University of Virginia.
09/16/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Environment mapping Light mapping Project Goals for Stage 1.
Basic 3D Concepts. Overview 1.Coordinate systems 2.Transformations 3.Projection 4.Rasterization.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Orientable Textures for Image- Based Pen-And-Ink Illustration Michael P. Salisbury Michael T. Wong John F. Hughes David A. Salesin SIGGRAPH 1997 Andrea.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Cel shading By jared brock.
Honours Graphics 2008 Session 12. Today’s focus Non-photorealistic rendering …other topics requested in class…
A Very Brief Overview of Non-Photorealistic Rendering Conrad Albrecht-Buehler Graduate Thesis Seminar September 24, 2001.
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.
Shadows David Luebke University of Virginia. Shadows An important visual cue, traditionally hard to do in real-time rendering Outline: –Notation –Planar.
GEOMETRIC STILL LIFE PAINTING PAINTING STUDIO. WHAT ARE YOU GOING TO BE DOING? You have recently completed a painting using acrylic paint that shows form.
 UV mapping is a process of applying textures to an object by hand  Figure: Blender model textured through a UV map.
Non-Photorealistic Rendering FORMS. Model dependent Threshold dependent View dependent Outline form of the object Interior form of the object Boundary.
The NPR Assignment Everything is online off course web page List of papers: –Choose one –First to me gets the paper –Some pairings of tightly related.
What is this type of drawing called? Perspective Drawing Linear Perspective: is a system for drawing 3-D space on a 2-D surface by following the rule that.
DRAWING & PAINTING TECHNIQUES & STYLES. CROSS HATCHING Common with pen artists Show value with lines Quantity, thickness and spacing of the lines will.
LINE Definition: The most basic design 'tool'. A line has length, width, tone, and texture. It may divide space, define a form, describe contour, suggest.
How Did They Do That? Some secrets you can use to fool the eye. Lessons by Mary Erickson, Ph.D. with art teacher Hillary Andrelchik Masters of Illusion:
Mary Cassatt's (Impressionist) painting shows a variety of textures. The lower half of the painting is roughly textured, while the upper half has softer.
Non-photorealistic rendering
The ingredients or building blocks of all art
Week 14 - Wednesday CS361.
Week 7 - Monday CS361.
The ingredients or building blocks of all art
A Look Into Photorealistic and Non-Photorealistic Rendering
The ingredients or building blocks of all art
3D Graphics Rendering PPT By Ricardo Veguilla.
Chapter 14 Shading Models.
CSCE 441: Computer Graphics Hidden Surface Removal
Cel Shading Jason McCollum.
Lighting.
Value Texture Elements of Art Color Space Line Shape Form.
Introduction to Meshes
Drill: 9/09/2013 What’s the difference between real and applied texture?
Unreal Engine 短期課程 指導老師: 資訊工程系 胡敏君 老師 教育部資通訊軟體創新人才推升推廣計畫
Chapter 14 Shading Models.
Introduction to Meshes
Week 11 - Monday CS361.
Presentation transcript:

Non-Photorealistic Rendering - This is the attempt to make a realistic scene or object look as if it were hand drawn.

Since Photorealistic Rendering tries to make fake objects like 3D models look as real as possible, this idea would seem like a step back at first glance. But the results can turn out very interesting. Here is a summary of some of the different non-photorealistic rendering techniques.

Painterly Rendering – The idea of making a real scene look like it was created from brush strokes and paint. Here is an example of before and after of Painterly Rendering….

After…

Sketchy Rendering – The attempt to make a scene look like it was sketched with a pencil. Here is a scene from the video game Quake using sketchy rendering:

Art-Based Rendering of Fur, Grass, and Trees – An algorithm that simulates an artist’s strokes to create the look of fur and grass. Here is a 3D scene that goes through a conversion to look like that of the style of Dr. Seuss

After…

Cell-Shading – Making a 3D scene look as if it were a cartoon. This technique is used in many new cartoons and video games. Here is the technique used in the video game Jet Grind Radio for Dreamcast

So how is this done? Cell-Shading requires a few tricks and techniques that can result in a very nice look. Here is an overview of the algorithm.

1.Disable lighting and blending. We want to do lighting on our own, and blending will make the colors mix. This is a problem because we want broad strokes that simulate an animator’s marker.

2.Now we need to create a light map. This is a 1-Dimensional texture map that indicates the shade of an object. This texture map divides the color of an object into 3 different shades (or however many you desire). It gives the rendering a solid color look, instead of blending colors like real life.

3. After the light map is created we need to calculate the u and v values of the texture. First you have to get the light vector and the normal vector of a surface. Make sure you normalize both vectors, then get the dot product between the two. This will return the cosine of the angle, which is -1 to 1. It turns out that this value can be used as the u value of the texture coordinate. If the value is negative, set it to zero. And we now have a value of 0 to 1. Now set v to 0 and we have both coordinates.

4.We now have enough information to draw the object for the first time, but we’re not done yet. Drawing the scene will show the cell-shading. But we don’t have the black outline of the objects as you would see in almost every cartoon. This requires a couple of new techniques explained below.

Here is an example of cell-shading with no outline.

5.First go into wireframe mode and set the line width to 2 or 3 pixels. Then set the draw color to black. This will give a drawing mode that will look like a thick black marker used in cartoons.

6.Now go through and draw each polygon again. Except this time only draw polygons that are NOT facing the screen. Since the line width is so big it will actually draw the lines at the edges because they stick out further than the old Z- Buffer.

Here is a before and after of the outline…

References: PR.html preprint-300dpi.pdf