CLASS 9 ADVANCE RENDERING RAY TRACING RADIOSITY LIGHT FIELD CS770/870.

Slides:



Advertisements
Similar presentations
SI31 Advanced Computer Graphics AGR
Advertisements

Reconstruction from Voxels (GATE-540)
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Computer graphics & visualization Global Illumination Effects.
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
Advanced Effects CMSC 435/634. General Approach Ray Tracing – Shoot more rays Rasterization – Render more images.
Graphics Graphics Korea University cgvr.korea.ac.kr Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Ray Tracing & Radiosity Dr. Amy H. Zhang. Outline  Ray tracing  Radiosity.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Volume Rendering Volume Modeling Volume Rendering Volume Modeling Volume Rendering 20 Apr
Illumination Model & Surface-rendering Method 박 경 와.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
CS 325 Introduction to Computer Graphics 04 / 09 / 2010 Instructor: Michael Eckmann.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Alla Sheffer Advanced Rendering Week.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
CS 376 Introduction to Computer Graphics 04 / 09 / 2007 Instructor: Michael Eckmann.
Computer Graphics (Fall 2005) COMS 4160, Lecture 21: Ray Tracing
Introduction to Volume Rendering Presented by Zvi Devir.
RAY TRACING.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
CSCE 641 Computer Graphics: Radiosity Jinxiang Chai.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Other Rendering Techniques Types of rendering – Wireframe techniques – Scan-line conversion – Reyes.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
19/18/ :34 Graphics II Volume Rendering Session 10.
-Global Illumination Techniques
Scientific Visualization Module 6 Volumetric Algorithms (adapted by S.V. Moore – slides deleted, modified, and added) prof. dr. Alexandru (Alex) Telea.
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Global illumination algorithms Graphics.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
Marching Cubes: A High Resolution 3D Surface Construction Algorithm William E. Lorenson Harvey E. Cline General Electric Company Corporate Research and.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
CMSC 635 Volume Rendering. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
Volume Rendering CMSC 491/635. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
Global Illumination Models THE WHITTED IMAGE - BASIC RECURSIVE RAY TRACING Copyright © 1997 A. Watt and L. Cooper.
CS 325 Introduction to Computer Graphics 03 / 24 / 2010 Instructor: Michael Eckmann.

Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
Recursion and Data Structures in Computer Graphics Ray Tracing 1.
CS 325 Introduction to Computer Graphics 04 / 14 / 2010 Instructor: Michael Eckmann.
04/30/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling We are now all done with modeling, the standard hardware pipeline.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
CS 445 / 645 Introduction to Computer Graphics Lecture 15 Shading Shading.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Monte-Carlo Ray Tracing and
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
Volume Visualization with Ray Casting
CHAPTER 5 CONTOURING. 5.3 CONTOURING Fig 5.7. Relationship between color banding and contouring Contour line (isoline): the same scalar value, or isovalue.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
3-D Information cs5764: Information Visualization Chris North.
CS 445 / 645 Introduction to Computer Graphics Lecture 16 Radiosity Radiosity.
CSE 681 Introduction to Ray Tracing. CSE 681 Ray Tracing Shoot a ray through each pixel; Find first object intersected by ray. Image plane Eye Compute.
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
Distributed Ray Tracing. Can you get this with ray tracing?
CS 325 Introduction to Computer Graphics 04 / 07 / 2010 Instructor: Michael Eckmann.
Distributed Ray Tracing. Can you get this with ray tracing?
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
CS552: Computer Graphics Lecture 36: Ray Tracing.
Global Illumination: Radiosity, Photon Mapping & Path Tracing
Volume Rendering.
What do you see in this image?
Illumination and Shading
Presentation transcript:

CLASS 9 ADVANCE RENDERING RAY TRACING RADIOSITY LIGHT FIELD CS770/870

Ray Tracing Basic idea: Cast rays out 1 per pixel. Calculate light at surface of first intersection. Does refraction – easily Does cast shadows Turner Witted (1978)

Witted (1979) When a ray hits a surface, it can generate up to three new types of rays: reflection, refraction, and shadow. Reflection: Trace reflection. Whatever surface is intersected becomes what is seen in the reflection. Refraction: Ray passes through, and refracted. Whatever surface is intersected becomes what is seen at that point. Shadow: Trace a ray to the light source. If blocked, compute ambient. Otherwise apply standard CG lighting [Show Witted movie]. Used a micro-film recorder.

Modern ray tracing. Whole bundles of rays can be used to get effects like soft shadows, more realistic ambient, etc. Used for movie cars, (first pixar ray-traced movie).

Ray Tracing + Radiosity

Radiosity (doing ambient right) Derived from heat engineering For every polygon, light input = light reflected (diffusely) + light absorbed. Some polygons also emit light Ultimately all emissions = all absorptions. Result: A huge system of equations. Must compute the influence of every polygon on every other polygon. Don Greenberg, 1986

The radiosity calculation

Methods for improving ray tracing Use bundles of rays – stockastic sampling.

Volume rendering.

Visible human Or CAT scans Or MRI scans How to look at it? Slices, The shape of organs

Volume rendering algorithm Used in visualization. E.g CAT scans, MRI scans A 3D volume of data. Algorithm. Compute mapping from sensed data to transparency and color. E.g. Bone is opaque and white Assume light reaches each voxel Trace rays towards the viewpoint, one for each pixel. At a set sample points along the ray, calculate orientation of density gradient. Apply lighting model. Sum light from furthest to nearest point along ray, taking opacity into account.

But there are no surfaces with volume rendering If we actually need to have a model of a chunk of tissue we need another method

Marching squares Marching cubes Consider the problem of making a contour map. At a fixed set of heights (or energy levels) we must create a continous contour. Marching squares.

Marching squares E.g. Contour at Interplolate to find crossing Algorithm: for every contour value { for every square { 1. Determine case 2. Interpolate edges 3. Draw line segment }} How many unique cases?

15 Cases for each square.

Create a grid over the data set. For every square in the grid find which of the 16 cases If NOT 0000 OR 1111 Interpolate along sides to find crossing points. Then draw line segment.

Marching Cubes 256 cases (8 edges on the cube). 15 unique cases Polygons instead of lines

Used for medical imaging. Virual Colon

Light field sensing and rendering slides from Mark Levoy

Light field rendering

Lytro Camera Seamless blending of CGI and imagery