Graphics and Games. Penny Rheingans University of Maryland Baltimore County

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

THE DEPTH-BUFFER VISIBLE SURFACE ALGORITHM

CSCI-6962 Advanced Computer Graphics

COMP371 COMPUTER GRAPHICS

Basics of Motion Generation

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ]

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

Visible-Surface Detection Methods. Chapter? Intro. to Computer Graphics Spring 2008, Y. G. Shin

Render methods, Compositing, Post-process and NPR in NX Render

The Traditional Graphics Pipeline

Rendering. Mike Bailey. Rendering.pptx. The Rendering Equation

Pipeline Operations. CS 4620 Lecture 10

Graphics for VEs. Ruth Aylett

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

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

Graphics for VEs. Ruth Aylett

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/22/2017

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

MITOCW MIT6_172_F10_lec18_300k-mp4

Real-Time Shadows. Computer Graphics. MIT EECS Durand 1

Other Rendering Techniques CSE 872 Fall Intro You have seen Scanline converter (+z-buffer) Painter s algorithm Radiosity CSE 872 Fall

Computer Graphics. Bing-Yu Chen National Taiwan University

Lecture 17: Recursive Ray Tracing. Where is the way where light dwelleth? Job 38:19

The Traditional Graphics Pipeline

Lecturer Athanasios Nikolaidis

CEng 477 Introduction to Computer Graphics Fall 2007


Simple Lighting/Illumination Models

Introduction to Visualization and Computer Graphics

COMP371 COMPUTER GRAPHICS

Photorealism: Ray Tracing

Lecture 18: Primer on Ray Tracing Techniques

The Traditional Graphics Pipeline

Keyframe Animation. Animation. Computer Animation. Computer Animation. Animation vs Modeling. Animation vs Modeling

CS 488. More Shading and Illumination. Luc RENAMBOT

Topic #1: Rasterization (Scan Conversion)

Movie: For The Birds. Announcements. Ray Tracing 1. Programming 2 Recap. Programming 3 Info Test data for part 1 (Lines) is available

Chapter 7 - Light, Materials, Appearance

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

Visible Surface Detection Methods

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

CS 381 Computer Graphics, Fall 2008 Midterm Exam Solutions. The Midterm Exam was given in class on Thursday, October 23, 2008.

Case Study: The Pixar Story. By Connor Molde Comptuer Games & Interactive Media Year 1

COM337 COMPUTER GRAPHICS Other Topics

Computer Graphics. Lecture 9 Environment mapping, Mirroring

Corona Sky Corona Sun Corona Light Create Camera About

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Hidden Surface Removal

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

Ray-Tracing. Misha Kazhdan

Graphics Hardware and Display Devices

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

Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015

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

Volume Illumination and Segmentation

Real-Time Universal Capture Facial Animation with GPU Skin Rendering

Photorealism vs. Non-Photorealism in Computer Graphics

Previously... contour or image rendering in 2D

Introduction to Computer Graphics with WebGL

Lets assume each object has a defined colour. Hence our illumination model is looks unrealistic.

CS559: Computer Graphics

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

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

OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS

Models and Architectures

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics

Supplement to Lecture 16

COMPLETION OF Z-buffer Graphics Pipeline

Homework #2. Shading, Ray Tracing, and Texture Mapping

Bringing Hollywood to Real Time. Abe Wiley 3D Artist 3-D Application Research Group

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

Computing Visibility. Backface Culling for General Visibility. One More Trick with Planes. BSP Trees Ray Casting Depth Buffering Quiz

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

Volume Illumination & Vector Field Visualisation

Illumination Algorithms

Paint by Numbers and Comprehensible Rendering of 3D Shapes

Computer Graphics. Lecture 02 Graphics Pipeline. Edirlei Soares de Lima.

Visualisatie BMT. Rendering. Arjan Kok

Volume Shadows Tutorial Nuclear / the Lab

For Intuition about Scene Lighting. Today. Limitations of Planar Shadows. Cast Shadows on Planar Surfaces. Shadow/View Duality.

9. Illumination and Shading

CMSC 435 Introductory Computer Graphics Pipeline. Announcements

Models and Architectures. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Multimedia Technology CHAPTER 4. Video and Animation

graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1

Computer Graphics. Lecture 9 Hidden Surface Removal. Taku Komura

Werner Purgathofer

03 RENDERING PART TWO

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

CSE528 Computer Graphics: Theory, Algorithms, and Applications

graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1

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

Ray Tracing: Special Topics CSCI 4239/5239 Advanced Computer Graphics Spring 2018

Applications of Explicit Early-Z Culling

Ray Tracer Due date: April 27, 2011

CS 4204 Computer Graphics

0. Introduction: What is Computer Graphics? 1. Basics of scan conversion (line drawing) 2. Representing 2D curves

Image Formation. CS418 Computer Graphics Eric Shaffer.

Introduction to Computer Graphics

Graphics and Interaction Rendering pipeline & object modelling

Transcription:

Graphics and Games IS 101Y/CMSC 104Y First Year IT Penny Rheingans University of Maryland Baltimore County Announcements Quizzes Project Questions Other questions

Questions about Reading Asst Games with a Purpose

Human Crowd Computation Game Form into groups of 3 One is Picture; two are taggers Picture shows an image Taggers list words (30 seconds) Words common between lists are added to db of tags Games What things are important for developing compelling/successful computer games? What background/skills would someone need to work in the field?

Computer Graphics Using computer to generate simulated scenes or worlds Can require tricking eye to believe 2D collection of pixels is really a continuous 3D world Coding-intensive application with strong basis in creativity and human perception Five key problems What shape is it? What do you see? What does it look like? How does it move? Why does it have to look like a photograph? What shape is it?

Modeling Approaches Modeling problem Define shape, color, and other visual properties Modeling solutions Manual primitive creation Scans from physical object Functional descriptions Grammar-based generation Biologically-inspired simulations Scanning

Functional Descriptions Define visual attributes with function, defined over space Shape Density Color Grammar-based Generation Use (mostly) context-free grammars (CFG) to specify structural change over generations A CFG G=(V,T,S,P) with V is a set of non-terminals T is a set of terminals S is the start symbol P is a set of productions (rules) of the form:» A x, where A V, x (V T)*

Biological Simulations Mimic developmental process: cellular automata reaction diffusion What do you see?

Painter s Algorithm Basic approach Draw polygons, from farthest to closest Given List of polygons {P 1, P 2,. P n) An array of Intensity [x,y] Begin Sort polygon list on minimum Z (largest z value comes first in sorted list) For each polygon P in selected list do For each pixel (x,y) that intersects P do Intensity[x,y] = intensity of P at (x,y) Display Intensity array Z-Buffer Basic approach Draw polygons, remembering depth of stuff drawn so far Given List of polygons {P 1, P 2,., P n} An array x-buffer[x,y] initialized to +infinity An array Intensity[x,y] Begin For each polygon P in selected list do For each pixel (x,y) that intersects P do Calculate z-depth of P at (x,y) If z-depth < z-buffer[x,y] then Intensity[x,y] = intensity of P at (x,y) Z-buffer[x,y] = z-depth Display Intensity array

Raytracing Basic approach Cast ray from viewpoint through pixels into scene Given List of polygons { P 1, P 2,..., P n } { } An array of intensity [ x, y ] For each pixel (x, y) { form a ray R in object space through the camera position C and the pixel (x, y) Intensity [ x, y ] = trace ( R ) } Display array Intensity What does it look like?

Illumination Approaches Illumination problem Model how objects interact with light Modeling solutions Simple physics/optics More realistic physics» Surface physics» Surface microstructure» Subsurface scattering» Shadows» Light transport Simple Optics: Diffuse Reflection Lambert s Law: the radiant energy from any small surface area da in any direction θ relative to the surface normal is proportional to cos θ I diff = k d I l cos θ = k d I l (N L)

Surface Physics Conductor (like metal) Dielectric (like glass) Composite (like plastic) Surface Microstructure Stam 99

Subsurface Scattering Jensen et al, 01 Shadows Laine et al., SIGGRAPH 05

How does it move? Motion Dynamics Approaches Motion dynamics problem Define geometric movements and deformations of objections under motion Dynamics solutions Simulate physics of simple objects Model structure and constraints Capture motion from reality Simulate group dynamics Use your imagination

Simulate Physics Motion Capture

Behavioral Simulation John Lasseter Use Your Imagination Play

Tricks from Traditional Animation Squash and Stretch Defining the rigidity and mass of an object by distorting its shape during an action Secondary Action Action that results directly from another action Why does it have to look like a photograph?

Artistic Rendering Approaches Artistic rendering problem (NPR) Produce images from geometric models that are more expressive or mimic alternative media Artistic rendering solutions Mimic characteristics of media Physically simulate media Break rules Learn styles Mimic media

Physical Media Simulation Break Rules