radiosity
play

Radiosity Ray Tracing and Radiosity Ray Tracing and Radiosity Form - PowerPoint PPT Presentation

Radiosity Ray Tracing and Radiosity Ray Tracing and Radiosity Form Factors Form Factors Enhancements Enhancements Two-pass Rendering Two-pass Rendering Thursday, April 1, 2010 Outline Outline A Brief Review/Introduction to Radiosity


  1. Radiosity Ray Tracing and Radiosity Ray Tracing and Radiosity Form Factors Form Factors Enhancements Enhancements Two-pass Rendering Two-pass Rendering Thursday, April 1, 2010

  2. Outline Outline • A Brief Review/Introduction to Radiosity A Brief Review/Introduction to Radiosity • • The Radiosity Equation, Form Factors The Radiosity Equation, Form Factors • • Putting it all together, and Improving Putting it all together, and Improving • • More Realism: A digression, and Two More Realism: A digression, and Two- -Pass Pass • Rendering Rendering 15- -462 Computer Graphics I 462 Computer Graphics I 15 3 3 Thursday, April 1, 2010

  3. Review: Local vs. Global Illumination Review: Local vs. Global Illumination Local illumination: Phong Phong model model Local illumination: Local Illumination (OpenGL, most real- -time graphics) time graphics) (OpenGL, most real - fast – Light to single surface point to viewer Light to single surface point to viewer – - simple – FAST FAST – - light → surface → viewer – Vastly simplified Vastly simplified – - ignores many important – No representation of many natural No representation of many natural – effects phenomena (shadows, inter- -reflections) reflections) phenomena (shadows, inter without additional hacks without additional hacks 15- -462 Computer Graphics I 462 Computer Graphics I 15 4 4 Thursday, April 1, 2010

  4. Review: Local vs. Global Illumination Review: Local vs. Global Illumination • Global illumination: Global illumination: Ray tracing Ray tracing • – Realistic specular reflection/transmission Realistic specular reflection/transmission – – Simplified diffuse reflection* Simplified diffuse reflection* – • Global illumination: Global illumination: Radiosity Radiosity • – Realistic diffuse reflection Realistic diffuse reflection – – Diffuse Diffuse- -only: No specular interaction* only: No specular interaction* – indirect direct both 15- -462 Computer Graphics I 462 Computer Graphics I 15 5 5 Thursday, April 1, 2010

  5. Beyond Ray Tracing Ray tracing ignores the diffuse component of incident illumination –to achieve this component requires sending out rays from each surface point for the whole visible hemisphere Even if you could compute such a massive problem there is a conceptual problem—loops: –point A gets light from point B –point B also gets light from point A 6 Computer Graphics 15-462 Thursday, April 1, 2010

  6. Doing it Right The real solution is to solve simultaneously for incoming and outgoing light at all surface points this is a massive integral equation Radiosity deals with the relatively easy case of purely diffuse scenes Or, you can sample many, many complete paths from light source to camera (photon mapping) 7 Computer Graphics 15-462 Thursday, April 1, 2010

  7. Key Idea incoming light outgoing light • Model diffuse interaction only! Thursday, April 1, 2010

  8. Doing it Right The real solution is to solve simultaneously for incoming and outgoing light at all surface points this is a massive integral equation Radiosity deals with the relatively easy case of purely diffuse scenes Or, you can sample many, many complete paths from light source to camera (photon mapping) 7 Computer Graphics 15-462 Thursday, April 1, 2010

  9. Doing it Right The real solution is to solve simultaneously for incoming and outgoing light at all surface points this is a massive integral equation Radiosity deals with the relatively easy case of purely diffuse scenes Or, you can sample many, many complete paths from light source to camera (photon mapping) 7 Computer Graphics 15-462 Thursday, April 1, 2010

  10. Advantages to diffuse- -only model? only model? Advantages to diffuse Specular interaction depends on viewer position— — Specular interaction depends on viewer position diffuse does not diffuse does not Result: The color seen at any point on any visible Result: The color seen at any point on any visible surface is independent of viewer position surface is independent of viewer position Radiosity produces a 3D model of surface patches Radiosity produces a 3D model of surface patches with colors assigned to each with colors assigned to each Can be rendered in OpenGL Can be rendered in OpenGL Useful for architectual architectual fly fly- -throughs throughs. . Useful for 15- -462 Computer Graphics I 462 Computer Graphics I 15 8 8 Thursday, April 1, 2010

  11. Review: Local vs. Global Illumination Review: Local vs. Global Illumination • Global illumination: Global illumination: Ray tracing Ray tracing • – Realistic specular reflection/transmission Realistic specular reflection/transmission – – Simplified diffuse reflection* Simplified diffuse reflection* – • Global illumination: Global illumination: Radiosity Radiosity • – Realistic diffuse reflection Realistic diffuse reflection – – Diffuse Diffuse- -only: No specular interaction* only: No specular interaction* – indirect direct both 15- -462 Computer Graphics I 462 Computer Graphics I 15 5 5 Thursday, April 1, 2010

  12. Review: Local vs. Global Illumination Review: Local vs. Global Illumination • Global illumination: Global illumination: Ray tracing Ray tracing • – Realistic specular reflection/transmission Realistic specular reflection/transmission – – Simplified diffuse reflection* Simplified diffuse reflection* – • Global illumination: Global illumination: Radiosity Radiosity • – Realistic diffuse reflection Realistic diffuse reflection – – Diffuse Diffuse- -only: No specular interaction* only: No specular interaction* – indirect direct both 15- -462 Computer Graphics I 462 Computer Graphics I 15 5 5 Thursday, April 1, 2010

  13. Radiosity Examples http://www.autodesk.com/us/lightscape/examples/html/index.htm 11 Computer Graphics 15-462 Thursday, April 1, 2010

  14. Raytracing Examples http://www.povray.org/ 12 Computer Graphics 15-462 Thursday, April 1, 2010

  15. Raytracing Examples http://www.povray.org/ 18 Computer Graphics 15-462 Thursday, April 1, 2010

  16. Radiosity Examples http://www.autodesk.com/us/lightscape/examples/html/index.htm 19 Computer Graphics 15-462 Thursday, April 1, 2010

  17. Radiosity Examples http://www.autodesk.com/us/lightscape/examples/html/index.htm Radiosity Raytracing 11 Computer Graphics 15-462 Thursday, April 1, 2010

  18. Outline Outline • A Brief Review/Introduction to Radiosity A Brief Review/Introduction to Radiosity • • The Radiosity Equation, Form Factors The Radiosity Equation, Form Factors • • Putting it all together, and Improving Putting it all together, and Improving • • More Realism: More Realism: A digression, and Two • A digression, and Two- -Pass Rendering Pass Rendering 15- -462 Computer Graphics I 462 Computer Graphics I 15 24 24 Thursday, April 1, 2010

  19. Review: Local vs. Global Illumination Review: Local vs. Global Illumination • Global illumination: Global illumination: Ray tracing Ray tracing • – Realistic specular reflection/transmission Realistic specular reflection/transmission – – Simplified diffuse reflection* Simplified diffuse reflection* – • Global illumination: Global illumination: Radiosity Radiosity • – Realistic diffuse reflection Realistic diffuse reflection – – Diffuse Diffuse- -only: No specular interaction* only: No specular interaction* – indirect direct both 15- -462 Computer Graphics I 462 Computer Graphics I 15 5 5 Thursday, April 1, 2010

  20. Far Too Many Points { Patch { Patch { { Patch { Patch • Concentrate on patches instead. • Want to have as few as possible. Thursday, April 1, 2010

  21. Radiosity Red Patch White Patch Simple scene with diffuse surfaces White wall should show effect of being near red wall Compute light reflected between each pair of patches 9 Computer Graphics 15-462 Thursday, April 1, 2010

  22. Radiosity Simple scene with diffuse surfaces White wall should show effect of being near red wall Compute light reflected between each pair of patches 9 Computer Graphics 15-462 Thursday, April 1, 2010

  23. Radiosity Closed environment (office, factory) Compute interaction between all patches (over which intensity is assumed to be constant) View independent Difficult to do specular highlights 10 Computer Graphics 15-462 Thursday, April 1, 2010

  24. Classical Radiosity in a Nutshell Classical Radiosity in a Nutshell Divide all surfaces into patches (squares are Divide all surfaces into patches (squares are typical). typical). Determine a set of linear equations to model Determine a set of linear equations to model inter- -reflection between all patches. reflection between all patches. inter Solve set of simultaneous equations. Solve set of simultaneous equations. Render using standard hardware. Render using standard hardware. 15- -462 Computer Graphics I 462 Computer Graphics I 15 21 21 Thursday, April 1, 2010

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend