Photorealism vs. Non-Photorealism in Computer Graphics

Similar documents
MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

The Rendering Equation & Monte Carlo Ray Tracing

Local vs. Global Illumination & Radiosity

Today. Anti-aliasing Surface Parametrization Soft Shadows Global Illumination. Exercise 2. Path Tracing Radiosity

Non-Photorealistic Rendering

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

Monte-Carlo Ray Tracing. Antialiasing & integration. Global illumination. Why integration? Domains of integration. What else can we integrate?

History of computer graphics

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

Choosing the right course

Some Thoughts on Visibility

Visibility. Tom Funkhouser COS 526, Fall Slides mostly by Frédo Durand

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

Chapter 7 - Light, Materials, Appearance

Introduction. Chapter Computer Graphics

03 RENDERING PART TWO

Rendering: Reality. Eye acts as pinhole camera. Photons from light hit objects

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Non-Photo Realistic Rendering. Jian Huang

Real-Time Shadows. Last Time? Textures can Alias. Schedule. Questions? Quiz 1: Tuesday October 26 th, in class (1 week from today!

Decoupling Strokes and High-Level Attributes for Interactive Traditional Drawing

Final Project: Real-Time Global Illumination with Radiance Regression Functions

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura

Raytracing & Epsilon. Today. Last Time? Forward Ray Tracing. Does Ray Tracing Simulate Physics? Local Illumination

A Brief Overview of. Global Illumination. Thomas Larsson, Afshin Ameri Mälardalen University

6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, :40-4pm One hand-written sheet of notes allowed

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

Global Illumination. Why Global Illumination. Pros/Cons and Applications. What s Global Illumination

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Sung-Eui Yoon ( 윤성의 )

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15

Nonphotorealistic rendering

Illumination Algorithms

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

CIS 581 Interactive Computer Graphics

Advanced Shading I: Shadow Rasterization Techniques

Evolution of Imaging Technology in Computer Graphics. Related Areas

Types of Computer Painting

Monte Carlo Ray Tracing. Computer Graphics CMU /15-662

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

A Frequency Analysis of Light Transport

Global Illumination and Monte Carlo

Real-Time Shadows. Last Time? Today. Why are Shadows Important? Shadows as a Depth Cue. For Intuition about Scene Lighting

Real-Time Shadows. Last Time? Schedule. Questions? Today. Why are Shadows Important?

Shadows. COMP 575/770 Spring 2013

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

Non-photorealistic Rendering

CS 428: Fall Introduction to. Realism (overview) Andrew Nealen, Rutgers, /11/2009 1

CSCI 4972/6963 Advanced Computer Graphics Quiz 2 Tuesday April 17, 2007 noon-1:30pm

Computer Graphics Disciplines. Grading. Textbooks. Course Overview. Assignment Policies. Computer Graphics Goals I

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

Advanced Graphics. Path Tracing and Photon Mapping Part 2. Path Tracing and Photon Mapping

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

Computer Graphics. Shadows

This work is about a new method for generating diffusion curve style images. Although this topic is dealing with non-photorealistic rendering, as you

Level of Details in Computer Rendering

Wednesday, 26 January 2005, 14:OO - 17:OO h.

Global Illumination. COMP 575/770 Spring 2013

CPSC GLOBAL ILLUMINATION

Lighting and Shading

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Ground Truth. Welcome!

Computer Graphics Global Illumination

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

Philipp Slusallek Karol Myszkowski. Realistic Image Synthesis SS18 Instant Global Illumination

Interactive Methods in Scientific Visualization

Computer Graphics. Lecture 14 Bump-mapping, Global Illumination (1)

Point based global illumination is now a standard tool for film quality renderers. Since it started out as a real time technique it is only natural

Lecture 12: Photon Mapping. Biased Methods

Lecture 18: Primer on Ray Tracing Techniques

Photorealistic 3D Rendering for VW in Mobile Devices

Lightcuts: A Scalable Approach to Illumination

Lightscape A Tool for Design, Analysis and Presentation. Architecture Integrated Building Systems

CS354R: Computer Game Technology

CS 354R: Computer Game Technology

Global Illumination The Game of Light Transport. Jian Huang

CS452/552; EE465/505. Finale!

Computer Graphics I Lecture 11

CS 488. More Shading and Illumination. Luc RENAMBOT

Autodesk Fusion 360: Render. Overview

3D Rasterization II COS 426

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

Real-Time Shadows. MIT EECS 6.837, Durand and Cutler

782 Schedule & Notes

Illumination Under Trees. Nelson Max University of Tokyo, and University of California, Davis

Path Tracing part 2. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

COMP371 COMPUTER GRAPHICS

Gaël Guennebaud Loïc Barthe, Mathias Paulin IRIT UPS CNRS TOULOUSE FRANCE Gaël Guennebaud Cyprus June 2006

Nonphotorealism. Christian Miller CS Fall 2011

Announcements. Written Assignment 2 out (due March 8) Computer Graphics

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

Image Synthesis. Global Illumination. Why Global Illumination? Achieve more photorealistic images

Reusing Shading for Interactive Global Illumination GDC 2004

Luxo Jr. Plan. Team. Movies. Why Computer Graphics? Introduction to Computer Graphics. Pixar Animation Studios, 1986 Director: John Lasseter

Texture Mapping II. Light maps Environment Maps Projective Textures Bump Maps Displacement Maps Solid Textures Mipmaps Shadows 1. 7.

Review. Stephen J. Guy

The Traditional Graphics Pipeline

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

Transcription:

The Art and Science of Depiction Photorealism vs. Non-Photorealism in Computer Graphics Fredo Durand MIT- Lab for Computer Science Global illumination How to take into account all light inter-reflections Photorealism vs. NPR 2 1

The Rendering equation Light leaving one point in one direction Integral of incoming light from every direction Multiplied by BRDF (reflectance) Photorealism vs. NPR 3 Radiosity E.g. Lightscape Assume surfaces diffuse (independent of direction) Photorealism vs. NPR 4 2

Radiosity Subdivide the scene into discrete elements Photorealism vs. NPR 5 Radiosity Subdivide the scene into discrete elements Each element is assumed to have constant radiosity Photorealism vs. NPR 6 3

Radiosity Form-factor between 2 elements: ratio of light leaving one element that reaches the other Photorealism vs. NPR 7 Radiosity Form-factor between 2 elements: ratio of light leaving one element that reaches the other Taking visibility into account Photorealism vs. NPR 8 4

Radiosity Iterative solution Shoot light from the most luminous source Photorealism vs. NPR 9 Radiosity Iterative solution Shoot from element with the most unshot radiosity Photorealism vs. NPR 10 5

Radiosity Iterative solution Shoot from element with the most unshot radiosity Photorealism vs. NPR 11 Radiosity Smoothing and other gimmicks Photorealism vs. NPR 12 6

Radiosity Pros View independent Cons Meshing is costly Memory Mostly limited to polyhedra Aliasing (jagged shadow boundary) Diffuse assumption (can be sort of alleviated) Photorealism vs. NPR 13 Discontinuity meshing Subdivide along shadow boundary But costly and complex (not in commercial soft) Photorealism vs. NPR 14 7

Discontinuity meshing Limits of umbra and penumbra source umbra penumbra Photorealism vs. NPR 15 Discontinuity meshing Photorealism vs. NPR 16 8

Comparison With skeleton [Gibson 96] 10 minutes 23 seconds 1 hour 57 minutes Photorealism vs. NPR 17 Hierarchical approach Group elements when the light exchange is not important Control non trivial Photorealism vs. NPR 18 9

Lightscape Photorealism vs. NPR 19 Lightscape Photorealism vs. NPR 20 10

Lightscape Photorealism vs. NPR 21 Lightscape Photorealism vs. NPR 22 11

Lightscape Photorealism vs. NPR 23 Lightscape Photorealism vs. NPR 24 12

Lightscape Photorealism vs. NPR 25 Lightscape Photorealism vs. NPR 26 13

Lightscape Photorealism vs. NPR 27 Monte-Carlo ray-tracing E.g. Radiance (by Greg Ward-Larson), Mental Ray Probabilistic sampling approach Photorealism vs. NPR 28 14

Monte-Carlo computation of π Take a square Take a random point (x,y) in the square Test if it is inside the ¼ disc (x 2 +y 2 < 1) The probability is π /4 y x Photorealism vs. NPR 29 Monte-Carlo computation of π The probability is π /4 Count the inside ratio n = # inside / total # trials π n * 4 The error depends on the number or trials Photorealism vs. NPR 30 15

Monte-Carlo Cast a ray from the eye through each pixel Photorealism vs. NPR 31 Monte-Carlo Cast a ray from the eye through each pixel Cast random rays from the visible point Photorealism vs. NPR 32 16

Monte-Carlo Cast a ray from the eye through each pixel Cast random rays from the visible point Recurse Photorealism vs. NPR 33 Monte-Carlo Cast a ray from the eye through each pixel Cast random rays from the visible point Recurse Photorealism vs. NPR 34 17

Monte-Carlo Systematically sample primary light Photorealism vs. NPR 35 Monte-Carlo Take BRD into account Multiply incoming light Sampling density Photorealism vs. NPR 36 18

Monte-Carlo Bi-directional Cast rays from the eye and from light Photorealism vs. NPR 37 Monte-Carlo Bi-directional Cast rays from the eye and from light Join Photorealism vs. NPR 38 19

Radiance cache Store the indirect illumination Photorealism vs. NPR 39 Radiance cache Store the indirect illumination Photorealism vs. NPR 40 20

Radiance cache Store the indirect illumination Interpolate existing cached values Always sample direct lighting Photorealism vs. NPR 41 Monte-Carlo & Radiance Pros Can treat any scene and any BRDF The Radiance system is free! Cons View-dependent Costly Can be noisy (because of sampling) Photorealism vs. NPR 42 21

Radiance Photorealism vs. NPR 43 Radiance Photorealism vs. NPR 44 22

Radiance Photorealism vs. NPR 45 Radiance Photorealism vs. NPR 46 23

Radiance Photorealism vs. NPR 47 Radiance Photorealism vs. NPR 48 24

Monte-Carlo ray-tracing Photorealism vs. NPR 49 Non Photorealistic Rendering Stanislaw Ulam The study of non-linear physics is like the study of non-elephant biology (quoted by Craig Reynolds) Photorealism vs. NPR 50 25

Painting with numbers [Haeberli 1990] Reference photo for color Interactive painting with brushes Photorealism vs. NPR 51 Painting with numbers [Haeberli 1990] Reference photo for color Interactive painting with brushes Photorealism vs. NPR 52 26

Painting with numbers Direction control Photorealism vs. NPR 53 Painting with numbers Direction control using gradient Photorealism vs. NPR 54 27

Painting with numbers From 3D geometry Photorealism vs. NPR 55 Painting with number Automatic optimization of brush placement Photorealism vs. NPR 56 28

Line drawing [Markosian et al. 97] Photorealism vs. NPR 57 Line drawing [Hertzman and Zorin 2000] Photorealism vs. NPR 58 29

Line drawing [Hertzman and Zorin 2000] Photorealism vs. NPR 59 Watercolor [Curtis et al. 1997] Physical simulation of watercolor-paper interaction Photorealism vs. NPR 60 30

Watercolor [Curtis et al. 1997] Physical simulation of watercolor-paper interaction Very costly (not interactive) Photorealism vs. NPR 61 Watercolor Photorealism vs. NPR 62 31

Watercolor Photorealism vs. NPR 63 Painterly animation [Meier 1996] Photorealism vs. NPR 64 32

Painterly animation Photorealism vs. NPR 65 Painterly animation Different styles Photorealism vs. NPR 66 33

Painterly animation Use of different layers Photorealism vs. NPR 67 Brushes of multiple sizes [Hertzman 1998] Photorealism vs. NPR 68 34

Brushes of multiple sizes Different styles depending on parameters Impressionist Expressionist Photorealism vs. NPR 69 Brushes of multiple sizes Different styles depending on parameters Impressionist Expressionist Photorealism vs. NPR 70 35

Style and soul Icon painting, Expressionism Photorealism vs. NPR 71 Interactive assisted drawing [Durand, Ostromoukhov et al.] Photorealism vs. NPR 72 36

Interactive assisted drawing Thresholding Photorealism vs. NPR 73 Interactive assisted drawing Smudging Photorealism vs. NPR 74 37

Interactive assisted drawing Photorealism vs. NPR 75 Interactive assisted drawing Photorealism vs. NPR 76 38

Interactive assisted drawing Photorealism vs. NPR 77 NPR: fuzzy issues No systematic classification of techniques Mainly by medium and interactive/full 3D No clear issues What are we trying to solve? No inter-operability of techniques No clear input and output Mainly out-of-the-blue full systems with overlap Photorealism vs. NPR 78 39

Some issues in NPR Medium simulation Animation and coherence Line drawing, hatcing Shading Style Perspective User interface Photorealism vs. NPR 79 Can visual art and psychology help? Understand underlying and universal pictorial issues Limitations and compensation Different modes Texture, color, shape Composition, color harmony Coarse-grain classification of issues in picture-making Drawing Denotation Tone and Color Physical realization through marks Photorealism vs. NPR 80 40

A one-way pipeline Mechanical and deterministic projection from 3D to 2D Input is purely 3D (world space) 3D geometry Material attributes Light sources viewpoint Light simulation Projection Rasterization, etc. Image Photorealism vs. NPR 81 A one-way pipeline Mechanical and deterministic projection from 3D to 2D Input is purely 3D (world space) 3D geometry Material attributes Light sources viewpoint Light simulation Projection Rasterization, etc. Image Human feedback Photorealism vs. NPR 82 41

Mixed 2D/3D specification We should be able to specify properties and constraints directly in 2D E.g. color harmony, composition, style Still edit the image after rendering E.g. shadows, lighting, colors, compensations Photorealism vs. NPR 83 Pictures for dummy Help non-artists produce nice images The gorgeous image button in your CAD software The digital photo beautifier Realistic or Non-Photorealistic Digital assistant that finds problems Photorealism vs. NPR 84 42

Style Coarse-grain style Different categories of drawing, denotation, tone Finer-grain Local style Parameterization Capture Automatically deduce style from 3D renderings (semi)-automatically capture style from image(s) Photorealism vs. NPR 85 Convergence of games and movies Game industry is now as big as movie industry Graphics accelerator permit stunning 3D graphics Cinema quality is not far However, games are interactive, unpredictable How can we transform the art and craft of cinema into algorithmic games E.g. Lighting, camera control, editing Photorealism vs. NPR 86 43