Ray Tracing - PowerPoint PPT Presentation

About This Presentation
Title:

Ray Tracing

Description:

http://www.siggraph.org/education/materials/HyperGraph/raytrace/rt_java/ray trace. ... Sampling Demo. Texture & Materials. Links. http://www.acm.org/tog/GraphicsGems ... – PowerPoint PPT presentation

Number of Views:111
Avg rating:3.0/5.0
Slides: 24
Provided by: amyg7
Category:
Tags: bounces | ray | tog | tracing

less

Transcript and Presenter's Notes

Title: Ray Tracing


1
Ray Tracing
  • CS 351-50
  • Nov. 19, 2003

2
Turner Whitted
3
(No Transcript)
4
No Bounces
5
One Bounce
6
Two Bounces
7
(No Transcript)
8
Reflection Ray
n
I incident ray -d N normal vector R
reflected ray
R
-I
q
q
( -I . N) N
( -I . N) N
N
-I - (-I . N) N
-I (-I . N) N
R
-I
q
q
R ( -I . N) N I (-I . N) N
I - 2 (I . N) N
9
Adding an object transparency
10
(No Transcript)
11
Refraction
n sin q nt sin f
12
Index of Refraction gt 1
13
Index of Refraction lt 1
total internal reflection
14
(No Transcript)
15
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

16
(No Transcript)
17
Sampling
18
Ray Tracing Demos
http//www.siggraph.org/education/materials/HyperG
raph/raytrace/rt_java/raytrace.html
http//www.cs.berkeley.edu/efros/java/tracer/trac
er.html
19
Sampling Demo
20
Texture Materials
21
(No Transcript)
22
Links
  • http//www.acm.org/tog/GraphicsGems/

23
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com