Ray Tracing CS 351-50 Nov. 19, 2003. Turner Whitted.

Slides:



Advertisements
Similar presentations
Ray Tracing.
Advertisements

13.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 13 An Introduction to Ray Tracing.
Course Website: Computer Graphics 18: Ray-tracing.
Christian Lauterbach COMP 770, 2/11/2009
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 15: Ray Tracing/Global Illumination Ravi Ramamoorthi Slides.
IMGD 1001: Illumination by Mark Claypool
RAY TRACING.
sections 26-3 – 26-5 Physics 1161: Pre-Lecture 22 Reflection and Refraction of Light.
OPTICAL FIBER WAVEGUIDE Optical Fiber Waveguides An Optical Fiber is a dielectric waveguide that operates at optical frequencies Normally cylindrical.
Photorealism Reflection, Refraction Bump maps
CIS 310: Visual Programming, Spring 2006 Western State College 310: Visual Programming Ray Tracing.
RT08, August ‘08 Large Ray Packets for Real-time Whitted Ray Tracing Ryan Overbeck Columbia University Ravi Ramamoorthi Columbia University William R.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
RAY TRACING WITH DISPERSION CSS552 – Topics in Rendering Winter 2011 Final Project by: Kohei Ueda Shivani Srikanteshwara Mary Ann Chiramattel Kunjachan.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Laws of Refraction Incident ray, normal line and refracted ray are in the same plane. Snell’s Law : for light refracting from any one medium to another,
REFRACTION (Bending of Light) Light slows down or speeds up when it enters and leaves another material.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
Chapter 18: Ray Optics Lisa & Becky. Ray Model of Light  Light rays travel in straight lines  Light rays cross but do not interact  Light rays travel.
Reflection and Refraction 1. Reflection Reflection is when light hits a boundary and bounces off The law of reflection states that the angle of incidence.
LIGHT REFRACTION OF LIGHT
Reflection and Refraction. Reflection Two laws of reflection Angle of incidence = angle of reflection The angle of incidence, angle of reflection and.
Reflections Specular reflection is the perfect reflection of light from a surface. The law a reflection states that the direction of the incoming ray and.
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
 The amount of refraction in a material can be determined using the index of refraction.index of refraction  The index of refraction can be used to.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Ray Tracing.
1 Dr. Scott Schaefer Ray Tracing. 2/42 Ray Tracing Provides rendering method with  Refraction/Transparent surfaces  Reflective surfaces  Shadows.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
Atmospheric Effects Cameron Rivers B. Sc. Computer Science in a Global Illumination Engine.
Global Illumination Models THE WHITTED IMAGE - BASIC RECURSIVE RAY TRACING Copyright © 1997 A. Watt and L. Cooper.
1 Ray-Tracing ©Anthony Steed Overview n Recursive Ray Tracing n Shadow Feelers n Snell’s Law for Refraction n When to stop!
© 2003 By Default! A Free sample background from Slide 1 Total Internal Reflection.

COMPUTER GRAPHICS PROJECT ON CUSTOM RAY TRACING ENGINE InterLight3D by Mehshan Mustafa ( ) Muhammad Zaki Shaheen ( )
Chapter 13-2 Flat Mirrors. Conceptual_Physics/3 1_Reflection/01/sp.ht mlhttp://localhost:26300/ Conceptual_Physics/3 1_Reflection/01/sp.ht.
Instant Radiosity Alexander Keller University Kaiserslautern Present by Li-Fong Lin.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
Chapter 17 Reflection and Refraction. Ch 17.1 How light behaves at a boundary.
Light & Optics. Law of Reflection The angle of incidence of reflected light equals the angle of reflection.  r =  I Note that angles are measured relative.
Refraction (Slowing Down) When a wave passes into a medium that makes it slow down, the wave will bend toward the normal Air Water.
the change of direction of a ray of light as it passes obliquely from one medium into another of different transmission speed.
Ray Tracing CSIS 5838: Graphics and Animation for Gaming.
CS380: Computer Graphics Distributed Ray Tracing TA Course URL:
Ray-tracing.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
The Critical Angle/Total Internal Reflection critical angle: the angle at which light is refracted at 90º. total internal reflection: the reflection of.
The Refraction of Light SNC2P – Optics. Refraction Refraction: the bending or change in direction of light when it travels from one medium into another.
Science 8: Unit C – Light and Optical Systems Topic 3: Refraction.
Refraction of Light Optical density a property of a transparent material that is an inverse measure of the speed of light through a material Optical refraction.
1. Ray Casting Surface intersection Visible surface detection Ray Tracing Bounce the ray Collecting intensity Technique for global reflection and transmission.
What happens when light enters a transparent medium (e.g. water)?
RENDERING : Global Illumination
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.
14.1 Bending of light Determining the refractive index of glass In an experiment, a ray of light is directed towards a semi-circular glass block at various.
Snell’s Law. Uses an equation that allows us to calculate how a ray of light will bend as it passes from one medium to another. Deals with the relationship.
CS 325 Introduction to Computer Graphics 04 / 07 / 2010 Instructor: Michael Eckmann.
Ray Tracing I. Reading Hill, Chapter 14, Sections 14.1 to 14.5 Hill, Chapter 14, Sections and
CS552: Computer Graphics Lecture 36: Ray Tracing.
REFRACTION OF LIGHT. BEHAVIOR OF LIGHT Light acts both as a wave and as a particle Called a “wavicle” Light needs to interact with a surface in order.
Light Reflection and Refraction. Reflection Law of Reflection.
Happy Tuesday! Get ready for warm up #4 Get out paper for notes. Title them: “Snell’s Law and Refraction” Essential Question: What is Snell’s Law?
RAY TRACING.
Lecture 11: Recursive Ray Tracer
CS 655 – Computer Graphics Global Illumination.
The Phong Illumination Model
Refraction.
14th Lecture – Final Lecture
CSC418 Computer Graphics Raytracing Shadows Global Illumination.
Presentation transcript:

Ray Tracing CS Nov. 19, 2003

Turner Whitted

No Bounces

One Bounce

Two Bounces

Reflection Ray R = ( -I. N) N + I + (-I. N) N = I - 2 (I. N) N N  -I n R  ( -I. N) N -I - (-I. N) N R ( -I. N) N -I + (-I. N) N I = incident ray = -d N = normal vector R = reflected ray

Adding an object: transparency

Refraction n sin  = n t sin 

Index of Refraction > 1

Index of Refraction < 1 total internal reflection

Algorithm Trace (ray){ For each object in scene intersect (ray, object) If no intersections return background_color For each light for each object in scene intersect(shadowRay, object) Accumulate local illumination Trace (ReflectionRay) Trace (TransmissionRay) Accumulate global illumination Return illumination }

Sampling

Ray Tracing Demos

Sampling Demo

Texture & Materials

Links