320 likes | 513 Views
Photorealistic Rendering of Rain Streaks . Kshitiz Garg Shree K. Nayar . Department of Computer Science Columbia University . SIGGRAPH Conference July 2006, Boston, USA Sponsors: NSF, ONR. A Rain Scene from “The Matrix Revolutions”. A Rain Scene from “The Matrix Revolutions”.
E N D
Photorealistic Rendering of Rain Streaks Kshitiz Garg Shree K. Nayar Department of Computer Science Columbia University SIGGRAPH Conference July 2006, Boston, USA Sponsors: NSF, ONR
A Rain Scene from “The Matrix Revolutions” Frame 1 Frame 2 Frame 3
Rendering Streaks using Simple Brightness Model Commercial Software Heuristic-based [Starik and Werman 03] ATI ToyShop Demo [N. Tataturschuk et al. 05] Hybrid-Spectral Method [Langer et al. 04]
Rendering Streaks using Hand Drawn Textures Frame from “The Matrix Revolutions” Hand Drawn Textures Original Image Courtesy Warner Bros. Original Image Courtesy Andy Lomas
Study of Visual Appearance of Rain Streaks • Rain Streak Appearance Model • Rain Streak Texture Database • Image-Based Rain Rendering Algorithm
Oscillations in a Rain Drop [Beard and Kubesh 1989 Andsager et al. 1992] Turbulent Flow of air Turbulent Flow of air A Falling Rain Drop
Oscillations in a Rain Drop [Beard and Kubesh 1989 Andsager et al. 1992] Oblate-Prolate Mode Transverse Mode Oscillations in a Rain Drop
Appearance of a Rain Drop Specular Reflection N Refraction Internal Reflection
Appearance of aNon-OscillatingRain Drop N Non-Oscillating Rain Drop Instant Time Shots Falling Drop Rain Streak
Appearance of anOscillatingRain Drop N Oscillating Rain Drop Instant Time Shots Falling Drop Rain Streak
Rain Streak Appearance Model [Beard and Kubesh 1989 Andsager et al. 1992] Shape of Rain Drop: ? ? Oblate-Prolate Mode Transverse Mode Fall Direction fdrop = (00 – 3600) Not Rotationally Symmetric
Measurement of Rain Streak Appearances Experimental Setup Lighting and Viewing Configuration Drop generator Height: 15 m qlight = (500, 900, 1300) flight = (100 , 300,…, 1700) qview = (700, 900, 1100) y,ydrop Oscillation Parameters qlight qview (A2,0 A3,1 fdrop) =(10 images per light & view) x fdrop flight xdrop -z
110 90 Estimating the Oscillation Amplitudes qview 90 70 qlight 130 50 50 50 130 130 90 90 flight 130 10 70 30 10 150 30 10 110 50 170 30 170 90 110 50 130 30 Measured Estimation Result Oscillation Amplitudes:
110 90 Comparison of Actual vs. Rendered Rain Streaks qview 90 70 qlight 130 50 50 50 130 130 90 90 flight 130 10 70 30 10 150 30 10 110 50 170 30 170 90 110 50 130 30 Measured Rendered
Rain Drop Size Source and Camera Distance Camera Parameter Precomputed Database of Streak Textures Factors Affecting the Appearance Render Offline (Database) Lighting and Viewing Direction Oscillations Parameters Render Online (Algorithm) Database contains 6300 HDR Rain Streak Textures (400 MB) ( Publicly available: Please send email torainstreaks@cs.columbia.edu)
Render Streak Appearance Perspective Effects Scale Rotate Camera and Rain Parameters + Raindrop Distribution and Trajectories Using Particle System Camera Effects Light Source Properties Exposure Crop/ Blend Defocus Blur Coarse Depth Map Rain Rendering Pipeline Render Novel Streak Textures User Input Rain Dynamics Streak texture (Source 1) Streak texture (Source n) + Streak texture (Ambient) Scene Image/Video With Rain Scene Image/Video Rain Streak Database
Rendered Rain with Varying Light Direction -150o 150o Light Source Direction
Comparison with Constant Brightness Model Streak Appearance Model Constant Brightness Model -150o 150o Light Source Direction
Night Scene with Isotropic Source Coarse Depth Map Image of the Scene
Night Scene with Isotropic Source Rendered Rain
Night Scene with Isotropic Source Defocus Effects
Scene with Colored and Anisotropic Sources Coarse Depth Map Scene with Multiple Sources
Scene with Colored and Anisotropic Sources Rendered Rain
Scene with Colored and Anisotropic Sources Streak Appearance Model Constant Brightness Model
Scene with Changing Sky Illumination Input Scene Video
Scene with Changing Sky Illumination Rendered Rain
A Scene with Moving Light Sources Input Scene Video
A Scene with Moving Light Sources Rendered Video
Future Extensions • Real-time Implementation of Rendering Algorithm • Incorporating the Effects of Wind and Turbulence
Summary Rain Streak Appearance Model Rain Streak Texture Database ( Publicly available:rainstreaks@cs.columbia.edu ) Image-Based Rain Rendering Algorithm