1 / 7

The Construction of a Ray Tracer

The Construction of a Ray Tracer. Nicole Bieber. What is Ray Tracing?. A method of converting a 3D model into a 2D image Traces the path of light through each pixel An extension of ray casting, which was first developed by Arthur Appel in 1968

kalyca
Download Presentation

The Construction of a Ray Tracer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Construction of a Ray Tracer Nicole Bieber

  2. What is Ray Tracing? • A method of converting a 3D model into a 2D image • Traces the path of light through each pixel • An extension of ray casting, which was first developed by Arthur Appel in 1968 • Turner Whitted adds rays for reflection, refraction, and shadow in 1979 • Many applications: video games, movies, medical imaging…

  3. How does it work?

  4. How does it work? Diagram courtesy of the Wikimedia Commons.

  5. How I Built It • Step 1: Write a Ray Caster • Step 2: Add Phong Shading • Step 3: Add recursive ray tracing for shadows and reflections • Step 4: Add other fun things, like supersampling, procedural solid textures, and a bounding sphere hierarchy • Step 5: Test, test, test!

  6. How I Built It • Step 1: Write a Ray Caster • Write representations and intersection methods for several different types of objects • Write code to orchestrate the entire process, first calling the provided parser and then creating the necessary objects • Write three different view modes: regular, depth, and normal • Test, test, test! • Step 2: Add Phong Shading • Step 3: Add recursive ray tracing for shadows and reflections • Step 4: Add other fun things, like supersampling, procedural solid textures, and a bounding sphere hierarchy • Step 5: Test, test, test!

More Related