CS 431/636 Advanced Rendering Techniques

Slides:



Advertisements
Similar presentations
Polygon Rendering Flat Rendering Goraud Rendering Uses Phong Reflectance Phong Rendering.
Advertisements

Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Exploration of bump, parallax, relief and displacement mapping
CS 480/680 Computer Graphics Shading 2 Dr. Frederick C Harris, Jr.
Sorce: Suggestive Contours for Conveying Shape. (SIGGRAPH 2003) Doug DeCarlo, Adam Finkelstein, Szymon Rusinkiewicz, Anthony Santella. 1 Suggestive Contours.
Hank Childs, University of Oregon November 15 th, 2013 Volume Rendering, Part 2.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
Illumination Model & Surface-rendering Method 박 경 와.
Shading II CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
Computer Graphics (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
(conventional Cartesian reference system)
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
©Larry F. Hodges (modified by Amos Johnson) 1 Shading Models.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Shading Week 5, Wed 1 Oct 2003 recap: lighting shading.
Non-Photorealistic Rendering - This is the attempt to make a realistic scene or object look as if it were hand drawn.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Lecture 5: 3D Rendering Pipeline (II) Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Institute of Technology.
Presentation by Dr. David Cline Oklahoma State University
Polygon Shading. Assigning color to a shape to make graphical scenes look realistic, or artistic, or whatever effect we’re attempting to achieve But first.
Shading (introduction to rendering). Rendering  We know how to specify the geometry but how is the color calculated.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Advanced Computer Graphics March 06, Grading Programming assignments Paper study and reports (flipped classroom) Final project No written exams.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
Shading & Texture. Shading Flat Shading The process of assigning colors to pixels. Smooth Shading Gouraud ShadingPhong Shading Shading.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Basic Rendering Pipeline and Shading Spring 2012.
Computer Graphics Basic 3D Geometry CO2409 Computer Graphics Week 5-1.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Ray Tracing CSIS 5838: Graphics and Animation for Gaming.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Scan Conversion Week 5, Fri 3 Oct 2003 recap: shading scan conversion: lines.
Hank Childs, University of Oregon Volume Rendering, pt 1.
CS 376 Introduction to Computer Graphics 04 / 02 / 2007 Instructor: Michael Eckmann.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
11/5/2002 (c) University of Wisconsin, CS 559 Last Time Local Shading –Diffuse term –Specular term –All together –OpenGL brief overview.
Local Illumination and Shading
CS 445 / 645: Introductory Computer Graphics Review.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
CS 376 Introduction to Computer Graphics 04 / 18 / 2007 Instructor: Michael Eckmann.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Computer Graphics (Fall 2006) COMS 4160, Lecture 16: Illumination and Shading 1
Illumination and Shading. Illumination (Lighting) Model the interaction of light with surface points to determine their final color and brightness OpenGL.
Implementing Phong Lighting
Shaders, part 2 alexandri zavodny.
Week 14 - Wednesday CS361.
Photorealistic Rendering vs. Interactive 3D Graphics
Tips for Shading Your Terrain
Volume Visualization Chap. 10 November 20 , 2008 Jie Zhang Copyright ©
Deferred Lighting.
Prof. Harriet Fell Spring 2007 Lecture 26 – March 19, 2007
3D Graphics Rendering PPT By Ricardo Veguilla.
Unit-7 Lighting and Shading
The Graphics Rendering Pipeline
Real-time Computer Graphics Overview
CSc4730/6730 Scientific Visualization
Volume Visualization Chap. 10 December 3 , 2009 Jie Zhang Copyright ©
Real-Time Volume Graphics [06] Local Volume Illumination
Compute the colour at point G – Guraud Shading
CS5500 Computer Graphics May 29, 2006
Computer Graphics (Fall 2003)
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
Texture Mapping Jung Lee.
Presentation transcript:

CS 431/636 Advanced Rendering Techniques Dr. David Breen Matheson 308 Thursday 6PM  8:50PM Presentation 3 4/18/06

Logistics Read research paper and prepare written summary and question L.M. Sobierajski and A.E. Kaufman, "Volumetric Ray Tracing," 1994 Symposium on Volume Visualization Proceedings, Oct. 1994, pp. 11-18 Art Widmann presents next week Assignment due dates Making Effective Artistic Renderings - Doug DeCarlo; UCross 153; Friday 2PM

Slide Credits Jonathan Cohen - Johns Hopkins Yizhou Yu - University of Illinois Kevin Suffern -University of Technology, Sydney, Australia G. Drew Kessler, Larry Hodges - Georgia Institute of Technology

Color Models

Light Models

Spot Light Specified by L = Pl - Ps if  >  else Position, Direction Cone angle, sharpness L = Pl - Ps if  >  IL= 0 else IL= cosn((/2)(/)) Dl Pl Ps  

Shading Models

Calculating the Reflected Ray r = (2  (n · L)  n) - L Derivation left for the students Clamp all dot products to zero. They shouldn’t be negative, but they can be MAX (0, n · L)

Including Surface Color for all lights { ILkd  C  cos() + ILks  C  cosn() }     + Iaka  C C - RGB surface color Could define Cd, Cs and Ca, but you don’t have to

Calculating Normals Create vector structure (for normals) same size as vertex structure For each face Calculate unit normal Add to normal structure using vertex index Normalize all the normals N(,,)= Na+ Nb+ Nc v -1 -1 -1 v 1 -1 -1 v -1 1 -1 v 1 1 -1 v -1 -1 1 v 1 -1 1 v -1 1 1 v 1 1 1 f 1 3 4 f 1 4 2 f 5 6 8 f 5 8 7 f 1 2 6 f 1 6 5 f 3 7 8 f 3 8 4 f 1 5 7 f 1 7 3 f 2 4 8 f 2 8 6 vertices triangles

Shading Pixels Overview for (i=0; i++; i < hres) for (j=0; j++; j < vres) { Calculate Ray for (k=0; k++; k < NumObject) { Attempt to intersect Ray with Objectk for all intersections Save t, ObjectID & xsect pt/param } Perform shading calculation on closest point (intersection with the lowest non-negative t) Set pixel value at Image[i,j]

Supersample & Average Image hres and vres are even for (i=0; i++; i < hres/2) for (j=0; j++; j < vres/2) { offset = 2  [i,j]; newImage[i,j] = (oldImage[offset] + oldImage[offset + [0,1]] + oldImage[offset + [1,0]] + oldImage[offset + [1,1]])/4; }

Wrap Up Discuss next week’s programming assignment Add point lights with color Add color, shading parameters and normals to models Phong shading Supersample image Discuss status/problems/issues with this week’s programming assignment