CS123 | INTRODUCTION TO COMPUTER GRAPHICS

Whitted 1980

Ray Tracing
Rendering and Techniques

Andries van Dam

November 4, 2010

http://cg.alexandra.dk/2009/08/10/triers-cuda-ray-tracing-tutorial/

1

CS123 | INTRODUCTION TO COMPUTER GRAPHICS

See Chapter 7, 15 in the book

Rendered with nVidia Iray

Andries van Dam

November 4, 2010

of 48

CS123 | INTRODUCTION TO COMPUTER GRAPHICS

Introduction
What “effects” do you see?

red mirror

“soft” illumination changes
No, but looks close due to complex scene and multiple light sources
rendered in a matter of seconds with Travis Fischer’s ’09 ray tracer

Andries van Dam

November 4, 2010

3 of 48

CS123 | INTRODUCTION TO COMPUTER GRAPHICS

Origins of Ray Tracing

Generalizing from Durer’s wood cut showing perspective projection

 

Durer: Record string intersection from center of projection(eye) to the object as points on a 2D plane Points created are perspective projection of 3D object onto 2D plane
November 4, 2010 4 of 48

Andries van Dam

CS123 | INTRODUCTION TO COMPUTER GRAPHICS

What is a Raytracer?
 

A raytracer is a finite back mapping of rays from camera(eye) through each sample (pixel) to objects in scene Each pixel represents either:  ray intersection with an object in the scene  no intersection A ray traced scene is a “virtual photo” comprised of many samples on film plane

Eye

Instead of one ray, imagine thousands of rays being shot from the eye through different points on film plane
November 4, 2010 5 of 48

Andries van Dam

CS123 | INTRODUCTION TO COMPUTER GRAPHICS

Ray Tracing Fundamentals

Generate primary ray
 

shoot ray from the eye through a sample point on film plane sample point often is center of a pixel, but we can also supersample each pixel (see slide 34 in image... [continues]

Cite This Essay

APA

(2012, 02). Raytracing -Computer Graphics. StudyMode.com. Retrieved 02, 2012, from http://www.studymode.com/essays/Raytracing-Computer-Graphics-920134.html

MLA

"Raytracing -Computer Graphics" StudyMode.com. 02 2012. 02 2012 <http://www.studymode.com/essays/Raytracing-Computer-Graphics-920134.html>.

CHICAGO

"Raytracing -Computer Graphics." StudyMode.com. 02, 2012. Accessed 02, 2012. http://www.studymode.com/essays/Raytracing-Computer-Graphics-920134.html.