Week 14 - Wednesday.  What did we talk about last time?  Collision handling  Collision detection  Collision determination  Collision response  BSPs.

Slides:



Advertisements
Similar presentations
Saito, T. and Takahashi, T. Comprehensible Rendering of 3-D Shapes Proc. of SIGGRAPH '90 Genesis of Image Space NPR.
Advertisements

Week 9 - Friday.  What did we talk about last time?  Area lighting  Environment mapping  Blinn and Newell's method  Sphere mapping  Cubic environmental.
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Week 11 - Wednesday.  Image based effects  Skyboxes  Lightfields  Sprites  Billboards  Particle systems.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
1 Computer Graphics Chapter 9 Rendering. [9]-2RM Rendering Three dimensional object rendering is the set of collective processes which make the object.
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.
Week 14 - Monday.  What did we talk about last time?  Bounding volume/bounding volume intersections.
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
Chapter 6: Vertices to Fragments Part 2 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
CGDD 4003 THE MASSIVE FIELD OF COMPUTER GRAPHICS.
Shadow Algorithms Gerald Matzka Computer Science Seminar.
Non-photorealistic Rendering Pablo Picasso - The Bird Cage No electrons were harmed during the production of this presentation.
Non-Photorealistic Rendering - This is the attempt to make a realistic scene or object look as if it were hand drawn.
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.
Shadows Computer Graphics. Shadows Shadows Extended light sources produce penumbras In real-time, we only use point light sources –Extended light sources.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
Week 15 - Friday CS361.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
CSE 381 – Advanced Game Programming Basic 3D Graphics
Elements of Art (pages 32-36)
Week 11 - Thursday.  What did we talk about last time?  Image processing  Blurring  Edge detection  Color correction  Tone mapping  Lens flare.
COMP 261 Lecture 16 3D Rendering. input: set of polygons viewing direction direction of light source(s) size of window. output: an image Actions rotate.
TERRAIN SET09115 Intro to Graphics Programming. Breakdown  Basics  What do we mean by terrain?  How terrain rendering works  Generating terrain 
Week 2 - Friday.  What did we talk about last time?  Graphics rendering pipeline  Geometry Stage.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer-Generated Pen-and-Ink Illustration of Trees Oliver Deussen & Thomas Strothotte University of Magdeburg.
Cel Shading Jason McCollum. Overview Nonphotorealistic Rendering (NPR) Cel-shading Concepts Demonstration.
Two-Point Perspective
1 10/24/ :01 UML Graphics II Shadows Session 4.
Rendering Complexity in Computer-Generated Pen- and-Ink Illustrations Brett Wilson & Kwan-Liu Ma The University of California, Davis.
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,
David Luebke 1 6/4/2016 Non-Photorealistic Rendering Painting, Drawing, Sketching.
Implementation II Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Computer Graphics Basic 3D Geometry CO2409 Computer Graphics Week 5-1.
1 Artificial Intelligence: Vision Stages of analysis Low level vision Surfaces and distance Object Matching.
Non-Photorealistic Rendering: Toon Shading David Luebke University of Virginia.
Realtime NPR Toon and Pencil Shading Joel Jorgensen May 4, 2010.
09/16/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Environment mapping Light mapping Project Goals for Stage 1.
BUMP-MAPPING SET09115 Intro to Graphics Programming.
Basic 3D Concepts. Overview 1.Coordinate systems 2.Transformations 3.Projection 4.Rasterization.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Ramesh Raskar University of North Carolina at Chapel Hill Ramesh Raskar University of North Carolina at Chapel Hill Image Precision Silhouette Edges Michael.
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…
Computer Graphics I, Fall 2010 Implementation II.
Real Time Nonphotorealistic Rendering. How to achieve real time NPR? Economy of line: present a lot of information with very few strokes. Silhouettes.
Painterly Rendering for Animation Introduction speaks of focus and detail –Small brush strokes focus and provide detail –Large strokes are abstract and.
Non-Photorealistic Rendering CS 446: Real-Time Rendering & Game Technology David Luebke University of Virginia.
Non-Photorealistic Rendering FORMS. Model dependent Threshold dependent View dependent Outline form of the object Interior form of the object Boundary.
COMPUTER GRAPHICS CS 482 – FALL 2015 NOVEMBER 10, 2015 VISIBILITY CULLING HIDDEN SURFACES ANTIALIASING HALFTONING.
Visible-Surface Detection Methods. To identify those parts of a scene that are visible from a chosen viewing position. Surfaces which are obscured by.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Non-photorealistic rendering
Week 14 - Wednesday CS361.
Week 7 - Monday CS361.
Week 15 - Friday CS361.
Week 2 - Friday CS361.
Non-Photorealistic Rendering Techniques for a Game Engine
Cel Shading Jason McCollum.
Introduction to Computer Graphics with WebGL
Presentation transcript:

Week 14 - Wednesday

 What did we talk about last time?  Collision handling  Collision detection  Collision determination  Collision response  BSPs and hierarchies  Multiple object CD  Broad phase then exact phase

 Most of the work we've focused on all semester is doing rendering that in some way mirrors the natural world  However, a wide area of rendering is non- photorealistic rendering (NPR)  Goals:  Simplified technical drawings  Simulating artistic styles

 The most common form of NPR in video games is toon shading  Also called cel shading  The goal is to render 3D models as if they were cartoons  Shading is often done with either a single color or a two tone (color and shading) approach  Then a thick black silhouette is added around edges

 The color is often determined by the dot product n · l (surface normal dot light vector)  If negative, the surface should be darkened  Otherwise, it's some flat color  Or a threshold other than 0 can be used  A more complex system uses a one dimensional texture indexed into with the dot product HighlightNormalShadow

 The more complicated problem is properly rendering edges with a thick dark line  A number of different edges are of interest  Boundary or border edges are edges where one polygon is not adjacent to any other ▪ Not found in 3D solid objects  A crease, hard, or feature edge is an edge between two polygons that is sharper than some threshold angle  A material edge is an edge between two polygons with different materials  A silhouette edge is when two neighboring polygons face different directions, relative to the eye

 Cel shading focuses on rendering silhouette edges  Many of these techniques rely on manipulating back facing polygons  The crossover between front facing and back facing polygons is the silhouette  It's easy to determine which is which  After some manipulation of the backfaces, they are rendered in black

 If the backfaces are rendered in black without any change, they will be hidden  Before rendering, all backfaces can be translated to be closer to the viewer  Translation can be by  A fixed amount  An amount that takes into account non-linear z-depths  An amount based on the angle of the polygon normal  None of these techniques give uniform thickness lines

 Another approach is to fatten each backface triangle  The slope of the triangle and the distance from the viewer determine the expansion of each edge  It doesn't work well for thin traingles

 A similar approach is to expand backface vertices along their normals  The expansion amount is proportional to their z- distance  This technique fails for situations like a cube, in which faces with very different normals share vertices

 Rather than using geometry, there is an image processing approach  Render all the normal values or depth values to a buffer and use edge detection algorithms to draw lines where the values change abruptly  Using normal values can find crease edges  This technique works for many cases that failed before  Even GPU generated surfaces are not a problem

 NPR techniques are very broad  Many approaches try to recreate hand-drawn or hand-painted styles  Silhouette lines can be drawn as paintbrush strokes of varying thickness  Tonal art maps (TAMs) use palettes of hand-drawn textures to do black and white crosshatch-style shading

 For CAD programs and other 3D tools, we may want to highlight certain lines or all polygon edges  Rendering polygon edges on top of existing polygons can be a pain  Z-buffer algorithms might hide the lines  In practice, a small bias is usually added to the polygons

 For drawing simplified models, we may want to include or exclude the hidden lines  Wireframe is the easiest, since it is just the lines  Hidden-line uses the z-buffer directly  Obscured-line renders twice, rendering z-fail lines in a lighter color  Haloed lines also use the z-buffer, drawing thick white lines first and then black lines on top  Problems happen when lines get too close

 The future of graphics  Directions in games  Directions in hardware  Open research topics

 Finish Assignment 5  Due on Friday  Keep working on Project 4  Due next Friday