1 / 11

Bidirectional Ray Tracing

Bidirectional Ray Tracing. CS 319 Advanced Topics in Computer Graphics John C. Hart. Bidirectional Ray Tracing. Arvo, SIGGRAPH 86 Course Notes LS*DS*E Cast rays from lights into scene Deposit energy on diffuse surfaces LS*D View independent Cast rays from eye into scene

barid
Download Presentation

Bidirectional Ray Tracing

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. Bidirectional Ray Tracing CS 319 Advanced Topics in Computer Graphics John C. Hart

  2. Bidirectional Ray Tracing • Arvo, SIGGRAPH 86 Course Notes • LS*DS*E • Cast rays from lights into scene • Deposit energy on diffuse surfaces • LS*D • View independent • Cast rays from eye into scene • Collects energy from surfaces • DS*E • View dependent

  3. Caching Irradiance • Ward et al. S88 • Multiple passes • Light pass • diffuse-diffuse passes • Eye pass • L(S*D)*S*E = L(S|D)*E • Caching irradiance in space • Octree (Ward, S88) • Multires textures (Heckbert, S90)

  4. Indirect Irradiance • Measurement • Cast a “few hundred rays” • Ignore rays that reach lights • Indirect irradiance changes slowly • Shadows already ray traced • Need fewer irradiance samples • Irradiance gradient • Compute E andE = (E/x, E/y,E/z) • Slope for hermite interpolation • Symbolic (Ward et al., S88) • Numerical (Ward, ERW92) Henrik Wann Jensen

  5. Henrik Wann Jensen

  6. The Radiance System • Ward, SIGGRAPH 94 • Method • Radiosity determines irradiance • Irradiance cached in a 3-D octree • Path tracing accumulates irradiance • Irradiance interpolated from closest samples • Used for architecture under various lighting conditions • Indoor • Daylight • http://radsite.lbl.gov/radiance

  7. Still Tough Cases • Caustics • How do you know which direction to cast eye rays to reach the interesting light? • Bleeding • How do you know which rays to reflect to reach the interesting parts of diffuse reflections?

  8. Caching Radiance • Lafortune&Williams, Eurographics 95 • Avoid retracing the same ray of light • Light bidirectional • Example • Ray cast from light to wall, bounces from wall to floor • Ray cast from eye to floor notices prior wall-floor ray • Use radiance from wall-floor ray • Caching rays • 5-D octree (32-tree) • 3-D ray source, 2-D ray direction

  9. Bidirectional Path Tracing • Lafortune & Willems, Compugraphics ’93, Veach & Guibas, EGRW 94 • Send paths from light source, record path vertices • Send paths from eye, record path vertices • Use shadow rays to connect every vertex of eye path with every vertex in light path • Creates abundance of paths from light to eye • Need weighted average of these path results

  10. Path Weighting • Veach & Guibas, S95 • Two different paths of light reach eye through the same pixel • How much should each path be weighted?

  11. Metropolis Light Transport • Based on Metropolis et al., Equation of State Calculations by Fast Compting Machines, J. Chemical Physics 21(6), 1953, pp. 1087-1092. • Adapted to bidirectional path tracing by Veach & Guibas, S97 • Start with a connected path of light from the light source to the eye • Perturb the path of light to find new paths

More Related