CSE 681 DISTRIBUTED RAY TRACING some implementation notes.

Slides:



Advertisements
Similar presentations
Ray Tracing.
Advertisements

Parallax-Interpolated Shadow Map Occlusion
Ray Tracing CMSC 635. Basic idea How many intersections?  Pixels  ~10 3 to ~10 7  Rays per Pixel  1 to ~10  Primitives  ~10 to ~10 7  Every ray.
Advanced Effects CMSC 435/634. General Approach Ray Tracing – Shoot more rays Rasterization – Render more images.
Retrospect Digital Image Synthesis Yu-Ting Wu. So far we have learned: Geometry and transforms Shapes Accelerators Color and radiometry Cameras Sampling.
Shadow Rendering Techniques A point is in the shadow of a light source if it can not be “seen” by the light source, i.e. the line segment that connects.
May Visible Surface Detection Shmuel Wimer Bar Ilan Univ., Eng. Faculty Technion, EE Faculty.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Ray Tracing Variants Distributed ray tracing Generalized rays Cone Tracing Beam Tracing Pencil.
Advanced Ray Tracing CMSC 435/634. Basic Ray Tracing For each pixel – Compute ray direction – Find closest surface – For each light Compute direct illumination.
Christian Lauterbach COMP 770, 2/11/2009
RAY TRACING.
1 Advanced Ray Tracing Mani Thomas CISC 440/640 Computer Graphics.
Ray Tracing Jerry Sui Adam Conner. Part I – Introduction to Ray Tracing Final Product.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Lecture 8 Advanced Rendering – Ray Tracing, Radiosity & NPR.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Other Rendering Techniques Types of rendering – Wireframe techniques – Scan-line conversion – Reyes.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
Computer Graphics Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
What is Computer Graphics and Image Processing? lAll visual computer output depends on computer graphics and image processing. l3D computer graphics is.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
3dfx Interactive1 Real Time Cinematic Effects on the PC The 3dfx T-Buffer™
Today More raytracing stuff –Soft shadows and anti-aliasing More rendering methods –The text book is good on this –I’ll be using images from the CDROM.
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Distribution Ray Tracing.
Ray Tracing Sang Il Park SEjong University With lots of slides stolen from Jehee Lee, Doug James, Steve Seitz, Shree Nayar, Alexei Efros, Fredo Durand.
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Ray Tracing Jian Huang, CS 594, Fall, 2002 This set of slides are used at Ohio State by Prof. Roger Crawfis.
02/10/03© 2003 University of Wisconsin Last Time Participating Media Assignment 2 –A solution program now exists, so you can preview what your solution.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
1 Ray-Tracing ©Anthony Steed Overview n Recursive Ray Tracing n Shadow Feelers n Snell’s Law for Refraction n When to stop!
Cameras Digital Image Synthesis Yung-Yu Chuang 10/26/2006 with slides by Pat Hanrahan and Matt Pharr.
Ray-tracing.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
Ray Tracing II. HW1 Part A due October 10 Camera module Object module –Read from a file –Sphere and Light only Ray tracer module: –No shading. No reflection.
Bounding Volume Hierarchy. The space within the scene is divided into a grid. When a ray travels through a scene, it only passes a few boxes within the.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
Cameras Digital Image Synthesis Yung-Yu Chuang with slides by Pat Hanrahan and Matt Pharr.
MIT EECS 6.837, Durand and Cutler Acceleration Data Structures for Ray Tracing.
1. Ray Casting Surface intersection Visible surface detection Ray Tracing Bounce the ray Collecting intensity Technique for global reflection and transmission.
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.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
CS559: Computer Graphics Lecture 36: Raytracing Li Zhang Spring 2008 Many Slides are from Hua Zhong at CUM, Paul Debevec at USC.
Distributed Ray Tracing. Can you get this with ray tracing?
CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi.
Chapter 1 Graphics Systems and Models Models and Architectures.
Distributed Ray Tracing. Can you get this with ray tracing?
Ray Tracing (2) Recursive Ray Tracing and Beyond.
Global Illumination (3) Cone Tracing / Distributed Ray Tracing.
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Texturing CMSC 435/ What is Texturing? 2 Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled.
Basic Ray Tracing CMSC 435/634.
3D Rendering 2016, Fall.
Reconstruction For Rendering distribution Effect
Distributed Ray Tracing
RAY TRACING.
© University of Wisconsin, CS559 Fall 2004
(c) 2002 University of Wisconsin
UMBC Graphics for Games
Distributed Ray Tracing
Distributed Ray Tracing
Distributed Ray Tracing
Chapter XV Shadow Mapping
Introduction to Ray Tracing
Distributed Ray Tracing
Distributed Ray Tracing
Presentation transcript:

CSE 681 DISTRIBUTED RAY TRACING some implementation notes

CSE 681 Theory v. practice Brute force – multiple rays at every sampling opportunity Implementation – for each pixel subsample, randomize at each opportunity

CSE 681 DRT components anti-aliasing and motion blur –supersampling - in time and space: anti-aliasing –jitter sample in time and space: motion blur depth of field - sample lens: blurs shadows – sample light source: soft shadows reflection – sample reflection direction: rough surface transparency – sample transmission direction: translucent surface

CSE 681 Replace Camera Model shift from pinhole camera model to lens camera model picture plane at -w, not +w camera position becomes lens center picture plane is behind 'pinhole' negate u, v, w, trace ray from pixel to camera

CSE 681 ANTI-ALIASING: Organizing subpixel samples Options 1.Do each subsample in raster order 2.do each pixel in raster order, do each subsample in raster order 3.do each pixel in raster order, do all subsamples in temporal order 4.keep framebuffer, do all subsamples in temporal order

CSE 681 SPATIAL JITTERING for each pixel 200x200, i,j for each subpixel sample 4x4 s,t Jitter sample

CSE 681 MOTION BLUR TEMPORAL JITTERING for subsample get delta time from table jitter delta +/- 1/2 time division move objects to that instant in time

CSE 681 DEPTH OF FIELD generate ray from subsample through lens center to focal plane generate random sample on lens disk - random in 2D u,v generate ray from this point to focal plane point

CSE 681 VISIBILITY - as usual intersect ray with environment find first intersection at point p on object o with normal n

CSE 681 Shadows generate random vector on surface of light - random on sphere

CSE 681 Reflections computer reflection vector generate random sample in sphere at end of R –Importance sampling Randomize n instead of R

CSE 681 Transparency compute transmission vector generate random sample in sphere at end of T –Importance sampling Randomize n instead of T