Docsity

Acceleration Data Structures - Computer Graphics - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Acceleration Data Structures - Computer Graphics - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Acceleration Data Structures

for Ray Tracing

Today • Review & Schedule • Motivation – Distribution Ray Tracing • Bounding Boxes • Spatial Acceleration Data Structures • Flattening the transformation hierarchy

Schedule • Wednesday October 1

st

:

Assignment 3 (Ray Tracing & Phong Materials) due

  • Sunday October 5

th

, 5-7 PM,

Review Session for Quiz 1

  • Tuesday October 7

th

:

Quiz 1: In class

  • Wednesday October 15th:

Assignment 4 (Grid Acceleration) due

Questions?

Extra rays needed for these effects: • Distribution Ray Tracing

  • Soft shadows – Anti-aliasing (getting rid of jaggies) – Glossy reflection – Motion blur – Depth of field (focus)

Shadows • one shadow ray per

intersection per pointlight source

no shadow rays one shadow ray

Antialiasing – Supersampling • multiple

rays perpixel

point light^ area light

jaggies

w/ antialiasing

Reflection • one reflection ray per intersection

perfect mirror

Īø

Īø

Motion Blur • Sample objects

temporally

Image removed due to copyright considerations.

Depth of Field • multiple rays per pixel

focal length

film

Courtesy of Justin Legakis. Used with permission.

Questions?

Today • Review & Schedule • Motivation – Distribution Ray Tracing • Bounding Boxes

  • of each primitive – of groups – of transformed primitives
    • Spatial Acceleration Data Structures • Flattening the transformation hierarchy

Conservative Bounding Region • First check for an

intersection with aconservativebounding region

  • Early reject

Conservative Bounding Regions

axis-alignedbounding box

non-alignedbounding box

bounding

sphere

arbitrary convex region(bounding half-spaces)

  • tight

avoid

false positives

  • fast to intersect