Computer-Generated Pen-and-Ink Illustration of Trees Oliver Deussen & Thomas Strothotte University of Magdeburg.

Slides:



Advertisements
Similar presentations
15.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 15 – Visible Surfaces and Shadows.
Advertisements

8.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 8 Polygon Rendering.
Saito, T. and Takahashi, T. Comprehensible Rendering of 3-D Shapes Proc. of SIGGRAPH '90 Genesis of Image Space NPR.
CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Exploration of bump, parallax, relief and displacement mapping
3D Graphics Rendering and Terrain Modeling
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
Non-Photo Realistic Rendering Jian Huang CS594 Fall 2003 This set of slides are modified from the NPR Course during SIGGRAPH’2003.
Chapter 6: Vertices to Fragments Part 2 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Hidden Surface Elimination Wen-Chieh (Steve) Lin Institute of Multimedia Engineering I-Chen Lin’ CG Slides, Rich Riesenfeld’s CG Slides, Shirley, Fundamentals.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
Support Vector Machines
1 Chapter 5 Viewing. 2 Perspective Projection 3 Parallel Projection.
Use of Silhouette Edges and Ambient Occlusion in Particle Visualization James L. Bigler School of Computing August 16, 2004 Oral defense of.
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.
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.
Computer-Generated Pen- and-Ink Illustration Georges Winkenbach, David H. Salesin.
Shadow Algorithms Ikrima Elhassan.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
03/30/05© 2005 University of Wisconsin NPR Today “Stylized Rendering Techniques for Scalable Real-Time 3D Animation”, Adam Lake, Carl Marshall, Mark Harris.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
A Non-Photorealistic Model for Automatic Technical Illustration Amy Gooch Bruce Gooch Peter Shirley Elaine Cohen SIGGRAPH 1998 Presented by Anteneh.
CS 325 Introduction to Computer Graphics 03 / 08 / 2010 Instructor: Michael Eckmann.
Shading & Texture. Shading Flat Shading The process of assigning colors to pixels. Smooth Shading Gouraud ShadingPhong Shading Shading.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Chapter 6 Special Effects 강 신 진강 신 진
Walk-Through Illustrations Frame-Coherent Pen-and-Ink Style in a Game Engine Bert Freudenberg Maic Masuch Thomas Strothotte Institut für Simulation und.
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
Advanced Computer Graphics Depth & Stencil Buffers / Rendering to Textures CO2409 Computer Graphics Week 19.
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.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
CS-378: Game Technology Lecture #4: Texture and Other Maps Prof. Okan Arikan University of Texas, Austin V Lecture #4: Texture and Other Maps.
Lumo: Illumination for Cel Animation Scott F. Johnston.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
2 COEN Computer Graphics I Evening’s Goals n Discuss application bottleneck determination n Discuss various optimizations for making programs execute.
Rendering Complexity in Computer-Generated Pen- and-Ink Illustrations Brett Wilson & Kwan-Liu Ma The University of California, Davis.
1Computer Graphics Implementation II Lecture 16 John Shearer Culture Lab – space 2
Implementation II Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Realtime NPR Toon and Pencil Shading Joel Jorgensen May 4, 2010.
Implementation II.
09/16/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Environment mapping Light mapping Project Goals for Stage 1.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Computer-Generated Pen-and-Ink Illustration of Trees Oliver Deussen Thomas Strothotte University of Magdeburg.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
A Photograph of two papers
Non-Photorealistic Rendering FORMS. Model dependent Threshold dependent View dependent Outline form of the object Interior form of the object Boundary.
Real Time Nonphotorealistic Rendering. How to achieve real time NPR? Economy of line: present a lot of information with very few strokes. Silhouettes.
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.
Visible surface determination. Problem outline Given a set of 3D objects and a viewing specification, we wish to determine which lines or surfaces are.
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.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Pen ~n~ ink: Tools, Techniques, Illustration Jes Davis AHS.
Graphics Basic Concepts 1.  A graphic is an image or visual representation of an object.  A visual representation such as a photo, illustration or diagram.
Lecture 9 From Vertices to Fragments. Objectives Introduce basic implementation strategies Clipping Rasterization hidden-surface removal.
3D Perception and Environment Map Generation for Humanoid Robot Navigation A DISCUSSION OF: -BY ANGELA FILLEY.
Computer Graphics Implementation II
Week 14 - Wednesday CS361.
3D Graphics Rendering PPT By Ricardo Veguilla.
CSCE 441: Computer Graphics Hidden Surface Removal
Implementation II Ed Angel Professor Emeritus of Computer Science
Real-time Rendering Shadow Maps
Lecture 13 Clipping & Scan Conversion
CS-378: Game Technology Lecture #4: Texture and Other Maps
Introduction to Computer Graphics with WebGL
Implementation II Ed Angel Professor Emeritus of Computer Science
Presentation transcript:

Computer-Generated Pen-and-Ink Illustration of Trees Oliver Deussen & Thomas Strothotte University of Magdeburg

The Idea Standard NPR papers have not specifically focused on foliage Current NPR plant models are generic… …Even though we can create specific species models Let’s start with an exact model and remove unnecessary geometry

Giving Away the Ending Tree model generated with the xfrog systemPen-and-Ink illustration of the complex model

Standard Issues in Traditional Tree Illustration (1) The tree skeleton (trunk) is usually drawn up to the 2 nd branching level –Prominent silhouette lines –Crosshatching for shading How do you determine silhouette? Where do you place the crosshatches? How high is high enough?

Standard Issues in Traditional Tree Illustration (2) Foliage is composed of 3 areas: –Top is usually well-lit, so minimal detail shown –Half-shadow areas show more foliage detail –Deep shadow regions (many techniques used) What shape are the leaves? What shading techniques to use (black, increasing leaf silhouette detail, thicker lines)?

And So, To Begin... 2 Files for stored model –One for the trunk (to 2nd branching level) –One for the leaves (pos. & normal) Trunk is drawn using traditional NPR algorithms Leaves are drawn with some primitive and assigned detail based on depth-difference algorithm

The Tree Skeleton Uses Markosian’s or Rakar & Cohen’s silhouette algorithms Crosshatches placed with the Difference Image algorithm or a Floyd Steinberg variant

The Fun Part: Leaves (!) System uses Zero-Order derivatives for determining important lines on a surface Outlines are drawn if the maximal depth difference of the leaf to neighboring leaves is above a certain threshold –Draw the leaves as solids & get depth buffer –For each pixel, find out how far it is in front of its neighbors –Use that data to draw the leaves

Big Ol’ Equation Time d 0 & d 1 = min and max values represented in the depth buffer z 0 & z 1 = corresponding depth values of near & far clipping planes in camera projection d = depth value [0..1] z = depth in camera coordinate system

More Equation Stuff Depth differences can be computed for eye coords or directly for depth buffer –Latter method results in larger changes Depth difference threshold is determined by a percentage of the depth range of the tree Other numbers: –d 0 = 0 & d 1 = –z 0 = 1 & z 1 = 11 (approx. for real trees)

Varying Equation Inputs - Disc size = Threshold = 1000 Tree 1 with varying primitive size & threshold - Disc size = Threshold = 2000

Essentially, here’s what you get: –Since depth buffer differences are non-linear, you get detail up front & less in the back –Changing ratio of z 1 to z 0 alters non-linearity –Primitive size based on the depth of the tree Free LOD Primitive size & threshold constantPrimitives enlarged with distance

Primitive Choices Primitive shapes can also be altered for a more accurate representation of real leaves – one could use an actual 3D model... – …or use a subset of possible views Shadow in black, threshold = 1000Shadow by detail, threshold = 6000

The Software Framework 1: Determine depth differences –Interactive: both stem & foliage done together 2: Software shadows are created & stored 3: Draw the pixels above the threshold For higher-quality images: –Vectorize the stem & foliage bitmaps separately least-square fitting index buffer (stores primitive ID) –Draw polygons by spline interpolation

Results & Measures (a): 13,200 elliptic primitives - 10 seconds (SGI Octane (Maximum Impact)) (c): 200,000 leaves reduce to 16,200 particles (f): 90,000 tree particles, 23,000 grass particles - 1 minute Interactive: 3 trees of 20,000 particles each and 25,000 ground particles at 3 frames/sec (SGI Onyx 2)

Conclusion & Questions Future Work: –Crosshatching on the leaves –Needs continuous LOD –Cartoons & other non-realistic effects My Questions: –What, exactly, is d? –Advantages over previous (non-species- specific) efforts? –3 frames-per-second. Gee, that’s helpful.