master thesis real time realistic rain rendering
play

Master Thesis Real-time Realistic Rain Rendering Carles Creus - PowerPoint PPT Presentation

Introduction State of the art Our method Results and Conclusions Master Thesis Real-time Realistic Rain Rendering Carles Creus Advisor: Gustavo Patow Facultat dInform` atica de Barcelona July 8, 2010 Introduction State of the art Our


  1. Introduction State of the art Our method Results and Conclusions Master Thesis Real-time Realistic Rain Rendering Carles Creus Advisor: Gustavo Patow Facultat d’Inform` atica de Barcelona July 8, 2010

  2. Introduction State of the art Our method Results and Conclusions Introduction 1 Motivation Rain phenomena State of the art 2 Approaches Summary Our method 3 Proposal Preprocess Real-time Results and Conclusions 4 Tests Conclusions

  3. Introduction State of the art Our method Results and Conclusions Motivation Weather is used to transmit specific moods Filming becomes expensive and laborious Synthetic methods simplify the task Our focus: rain rendering Difficulties Huge variety of phenomena Complex physical evolutions, optical properties Overwhelming amount of small details

  4. Introduction State of the art Our method Results and Conclusions Rain phenomena - Raindrops

  5. Introduction State of the art Our method Results and Conclusions Rain phenomena - Puddles, splashes, coronas and ripples

  6. Introduction State of the art Our method Results and Conclusions Rain phenomena - Other

  7. Introduction State of the art Our method Results and Conclusions State of the art Each method simulates a specific subset of phenomena Simplifications on optical properties and physics Traditionally, framerate chosen over realism

  8. Introduction State of the art Our method Results and Conclusions Garg - 2006 Objectives 1 Complex lighting patterns for close-up shots: Create a photorealistic model to render rain streaks using: → light direction → view direction → raindrop shape Create a database of precomputed rain streak renders 2 Add rain streaks to videos

  9. Introduction State of the art Our method Results and Conclusions Garg - Model Base Oscillation model developed in atmospheric sciences: Assumes that the equilibrium shape is spherical The shape is expressed as a combination of harmonics But it does not specify the parameters for the oscillation → Capture real images and compare with synthetic renders

  10. Introduction State of the art Our method Results and Conclusions Garg - Real captures Setup Drops released from 15m r 0 = 2mm Light 1m away HDR camera 3m away 10 repetitions

  11. Introduction State of the art Our method Results and Conclusions Garg - Comparison

  12. Introduction State of the art Our method Results and Conclusions Rousseau - 2006

  13. Introduction State of the art Our method Results and Conclusions Tariq - 2007

  14. Introduction State of the art Our method Results and Conclusions Tatarchuk - 2006

  15. Introduction State of the art Our method Results and Conclusions Centelles - 2009

  16. Introduction State of the art Our method Results and Conclusions Summary Reflection, Refraction Participating media Ground collision Moving camera Raindrops Real-time Lightning Dripping Splashes Ripples Wind Garg ✗ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ Wang ✓ ✓ ✗ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ Rousseau ✓ ✓ ✗ ✓ ✗ ✗ ✓ ✗ ✗ ✗ ✗ Tariq ✓ ✓ ✗ ✓ ✓ ✗ ✗ ✓ ✗ ✗ ✗ Centelles ✓ ✓ ✗ ✓ ✗ ✗ ✗ ✓ ✗ ✗ ✗ Tatarchuk ✓ ✓ ✓ ✗ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Our method ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✓ ✗ ✗

  17. Introduction State of the art Our method Results and Conclusions Summary Open issues ✗ Comprehensive algorithms have poor user interaction ✗ Restricted artistic direction ✗ Each phenomena decoupled from the rest ✗ Seldom interaction with the scene

  18. Introduction State of the art Our method Results and Conclusions Proposal Objectives Real-time rendering of raindrops Realistic raindrop illumination Interaction with the scene: splashes no indoor rain Arbitrary rain placement and density

  19. Introduction State of the art Our method Results and Conclusions Overview

  20. Introduction State of the art Our method Results and Conclusions Overview

  21. Introduction State of the art Our method Results and Conclusions Preprocess - Atlas

  22. Introduction State of the art Our method Results and Conclusions Preprocess - Atlas 450 images 2880 x 3606 12 mipmap levels

  23. Introduction State of the art Our method Results and Conclusions Preprocess - Atlas 5 images 32 x 3606 12 mipmap levels

  24. Introduction State of the art Our method Results and Conclusions Preprocess - Splash animation 21 frames 48 x 32 6 mipmap levels

  25. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Rain space scheme

  26. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Rain space scheme - Optimization

  27. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Particle packets Worldwide Tree: Quad-tree Kd-tree Grid

  28. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Particle packets Worldwide Tree: Quad-tree Kd-tree Grid

  29. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Particle packets Worldwide Tree: Quad-tree Kd-tree Grid

  30. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Particle packets Worldwide Tree: Quad-tree Kd-tree Grid

  31. Introduction State of the art Our method Results and Conclusions Preprocess - Particle generation Particle packets Worldwide Tree: Quad-tree Kd-tree Grid

  32. Introduction State of the art Our method Results and Conclusions Real-time - CPU - Time animation Fall animated with a global parameter in [0 , 1). Updated with: ∆ time height local / velocity fall

  33. Introduction State of the art Our method Results and Conclusions Real-time - CPU - Local space movement Height correction

  34. Introduction State of the art Our method Results and Conclusions Real-time - CPU - Packet handling

  35. Introduction State of the art Our method Results and Conclusions Real-time - GPU - Vertex shader Placement Particle state

  36. Introduction State of the art Our method Results and Conclusions Real-time - GPU - Geometry shader Billboard expansion Drops: lighting parameters Splash: animation frame

  37. Introduction State of the art Our method Results and Conclusions Real-time - GPU - Fragment shader Texture fetch Shadowing Shading

  38. Introduction State of the art Our method Results and Conclusions Test settings City model (by www.Daz3D.com) 780K polygons 140 textures (color + alpha mask + bump map) Rain 400 x 400 meters, 230 meters high 375M particles 3606 x 2880 and 32 x 2880 mipmapped atlases ( x 10) 21 animation frames of 48 x 32 Computer TM 2 Duo at 3 GHz � Core Intel R � GeForce R � GTX 280 with 1GB of memory NVIDIA R Screen size of 1280 x 720

  39. Introduction State of the art Our method Results and Conclusions Results

  40. Introduction State of the art Our method Results and Conclusions Results

  41. Introduction State of the art Our method Results and Conclusions Results

  42. Introduction State of the art Our method Results and Conclusions Performance Local space analysis

  43. Introduction State of the art Our method Results and Conclusions Performance Radius analysis

  44. Introduction State of the art Our method Results and Conclusions Performance Packet size analysis

  45. Introduction State of the art Our method Results and Conclusions Performance Light amount analysis

  46. Introduction State of the art Our method Results and Conclusions Conclusions ✓ Realistic raindrop highlights ✓ Lighting considering shadows ✓ Easy rain configuration: rain space density map ✓ Scene interaction: no indoor rain splashes ✓ Good performance: Particle packets handled with few and fast operations Per-particle operations only in GPU

  47. Introduction State of the art Our method Results and Conclusions Limitations ✗ Drop blending needs a depth buffer → no semi-transparent geometry → no volumetric data ✗ Tighter bounds on simulation volume hindered by present organization ✗ Huge impact on performance due to light sources ✗ Unrealistic and repetitive splashes

  48. Introduction State of the art Our method Results and Conclusions End Thanks! Questions?

Recommend


More recommend