Geometric Sound Propagation Anish Chandak & Dinesh Manocha UNC Chapel Hill

Slides:



Advertisements
Similar presentations
Comparative Visualization for Wave-based and Geometric Acoustics Eduard Deines 1, Martin Bertram 3, Jan Mohring 4, Jevgenij Jegorovs 4, Frank Michel 1,
Advertisements

Sedan Interior Acoustics
Christian Lauterbach COMP 770, 2/16/2009. Overview  Acceleration structures  Spatial hierarchies  Object hierarchies  Interactive Ray Tracing techniques.
Computer graphics & visualization Global Illumination Effects.
Zhao Dong 1, Jan Kautz 2, Christian Theobalt 3 Hans-Peter Seidel 1 Interactive Global Illumination Using Implicit Visibility 1 MPI Informatik Germany 2.
William Moss Advanced Image Synthesis, Fall 2008.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2008 Alla Sheffer Advanced Rendering Week.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Virtualized Audio as a Distributed Interactive Application Peter A. Dinda Northwestern University Access Grid Retreat, 1/30/01.
Interactive Sound Rendering SIGGRAPH 2009 Dinesh Manocha UNC Chapel Hill
Radiosity A Fascinating Presentation by Alex Danilevky.
Everything on Global Illumination Xavier Granier - IMAGER/UBC.
Introduction General Data Structures - Arrays, Linked Lists - Stacks & Queues - Hash Tables & Binary Search Trees - Graphs Spatial Data Structures -Why.
Project Presentation: March 9, 2006
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
Precomputed Radiance Transfer Harrison McKenzie Chapter.
Acceleration on many-cores CPUs and GPUs Dinesh Manocha Lauri Savioja.
Real-time wave acoustics for games Nikunj Raghuvanshi Microsoft Research.
The Radiosity Method Donald Fong February 10, 2004.
Paper by Alexander Keller
Precomputed Wave Simulation for Real-Time Sound Propagation of Dynamic Sources in Complex Scenes Nikunj Raghuvanshi †‡, John Snyder †, Ravish Mehra ‡,
02/04/03 Page 1 Rendering Visibility Lighting Texturing.
RAY TRACING WITH DISPERSION CSS552 – Topics in Rendering Winter 2011 Final Project by: Kohei Ueda Shivani Srikanteshwara Mary Ann Chiramattel Kunjachan.
Hidden Surface Removal
ANISH CHANDAK COMP 770 (SPRING’09) An Introduction to Sound Rendering © Copyright 2009 Anish Chandak.
EE513 Audio Signals and Systems Noise Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Physics and Sound Zhimin & Dave. Motivation Physical simulation Games Movies Special effects.
Direct Illumination with Lazy Visibility Evaluation David Hart Philip Dutré Donald P. Greenberg Cornell University SIGGRAPH 99.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
-Global Illumination Techniques
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
Graphics Graphics Korea University cgvr.korea.ac.kr Solid Modeling 고려대학교 컴퓨터 그래픽스 연구실.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
Computer graphics & visualization Photon Mapping.
Digital Sound Ming C. Lin Department of Computer Science University of North Carolina
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Using BSP for CD Ref: BSP in deBerg et al ’ s book (url)url.
R I T Rochester Institute of Technology Photon Mapping Development LEO-15 DATA SETS (AVIRIS, IOPs) Atmospheric Compensation HYDROLIGHT Simulations (LUT)
Audio Systems Survey of Methods for Modelling Sound Propagation in Interactive Virtual Environments Ben Tagger Andriana Machaira.
Interactive acoustic modeling of virtual environments Nicolas Tsingos Nicolas TsingosREVES-INRIA.
Fast BVH Construction on GPUs (Eurographics 2009) Park, Soonchan KAIST (Korea Advanced Institute of Science and Technology)
Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Radiosity Jian Huang, CS594, Fall 2002 This set of slides reference the text book and slides used at Ohio State.
David Luebke11/26/2015 CS 551 / 645: Introductory Computer Graphics David Luebke
M. Jędrzejewski, K.Marasek, Warsaw ICCVG, Multimedia Chair Computation of room acoustics using programable video hardware Marcin Jędrzejewski.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
On robust Monte Carlo algorithms for multi-pass global illumination Frank Suykens – De Laet 17 September 2002.
Computation of the complete acoustic field with Finite-Differences algorithms. Adan Garriga Carlos Spa Vicente López Forum Acusticum Budapest31/08/2005.
Monte-Carlo Ray Tracing and
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Hybrid Algorithms K. H. Ko School of Mechatronics Gwangju Institute.
Pure Path Tracing: the Good and the Bad Path tracing concentrates on important paths only –Those that hit the eye –Those from bright emitters/reflectors.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
Where We Stand At this point we know how to: –Convert points from local to window coordinates –Clip polygons and lines to the view volume –Determine which.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
1 CSCE 441: Computer Graphics Hidden Surface Removal Jinxiang Chai.
Global Illumination (3) Photon Mapping (1). Overview Light Transport Notation Path Tracing Photon Mapping –Photon Tracing –The Photon Map.
RENDERING : Global Illumination
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
Global Illumination (3) Path Tracing. Overview Light Transport Notation Path Tracing Photon Mapping.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
CS552: Computer Graphics Lecture 28: Solid Modeling.
3D Object Representations
Hybrid Ray Tracing of Massive Models
Path Tracing (some material from University of Wisconsin)
Presentation transcript:

Geometric Sound Propagation Anish Chandak & Dinesh Manocha UNC Chapel Hill

Sound Propagation Approaches   Numerical Methods   Solve Helmholtz Wave Equation   Accurate   Compute intensive (fourth power of frequency)   Not practical for interactive applications   Methods   Finite Element Methods [Otsuru,2004]   Boundary Element Methods [Ciskowski,1993]   Finite Difference Time Domain [Kunz,1993]   Digital Waveguide Mesh (DWM) [Savioja,1994]   Domain Decomposition [Raghuvanshi,2008]

Sound Propagation Approaches   Geometric Methods   Ray-Approximation of Wave Equation   High-frequency approximation   Fast   Highly dependent on the geometry details   Methods   Image Source [Borish,1984] [Dalenback,1992]   Ray Tracing [Krokstad,1968] [Kuttruff,1993]   Beam Tracing [Funkhouser,1998] [Funkhouser,1999]   Phonon Tracing [Kapralos,2004] [Bertram,2005]   Frustum Tracing [Lauterbach,2007] [Chandak,2008]   Acoustic Radiance Transfer [Siltanen,2007] [Siltanen,2009]

Geometric Sound Propagation   Shoot geometric primitives from sound source   The could cause: Direct Contributions Reflection Contributions Diffraction Contributions   Very high update rate for direct contributions   ~20-30 Hz update rate for higher order contributions

Image Source for Sound Propagation   [Berkley,1979] [Borish,1984] [Dalenback,1992]   Input: point sound source point listener scene geometry with acoustic properties   Output: pressure impulse response (IR)

Image Source for Sound Propagation   [Berkley,1979] [Borish,1984] [Dalenback,1992]   Advantages   Geometrically accurate simulation   No aliasing issues, especially for dynamic scenes   Hybrid approaches are popular   Disadvantages   Exponential blow up of virtual image sources   Too slow for dynamic and interactive applications   Handles only specular reflection

Image Source Method   Geometric sound propagation approach   Computes virtual image sources recursively from a sound source   Accurately find all the geometric paths from source to the listener   Impulse Response (IR) is constructed from the contributing paths   The impulse response is a pressure IR which is convolved with input dry signal

AN OVERVIEW Image Source Method

S S1 S2 S3 S4 S Image Source Method

S S1 S2 S3 S4 S L Image Source Method

S S1 S2 S3 S4 S L Image Source Method

S S1 S2 S3 S4 S L A Image Source Method

A S S1 S2 S3 S4 S L Image Source Method

S S1 S2 S3 S4 S Image Source Method

S S Image Source Method

S S S12 S13 S14 S15 Image Source Method

L S S S12 S13 S14 S15 Image Source Method

L S S S12 S13 S14 S15 Image Source Method

L S S S12 S13 S14 S15 Image Source Method

L S S S12 S13 S14 S15 Image Source Method

S S S12 S13 S14 S15 Image Source Method

 Two Step Algorithm 1. Computing image sources (From-point Visibility) 2. Validating paths from source to the listener Computing image sources Path Validation

Ray Tracing for Sound Propagation   [Krokstad,1968] [Kulowski,1984]   Input: spherical sound source spherical listener scene geometry with acoustic properties   Output: energy impulse response (IR) convert energy IR into pressure IR for 3D audio rendering Note: audio signal is a function of pressure

Ray Tracing for Sound Propagation   [Krokstad,1968] [Kulowski,1984]   Advantages   Very Very Fast. Maps well to modern CPU and GPU architectures   Advanced field in Computer Graphics   Handles dynamic scenes efficiently   Handles diffuse reflection   Disadvantages   Sampling and aliasing issues   Aggressive acoustic simulation   3D Audio Rendering artifacts in dynamic scenarios   Cannot handle diffraction

AN OVERVIEW Ray Tracing Method

Step 1: Shoot Sound Rays Scene Geometry S Sound Source Listener L

Step 1: Shoot Sound Rays S L Shoot Rays From Source

Step 2: Trace Sound Rays S L

Step 3: Specular Reflections S L Based on Reflection Coefficient Annihilate Or Energy Based

Step 3: Diffuse Reflections S L Based on Scattering Coefficient Annihilate or Choose a random direction

Step 3: Construct Energy Histogram S L Collect Rays at the Listener

Step 3: Construct Energy Histogram S L Collect Rays at the Listener

Step 4: Pressure IR from Energy Histogram  To compute sound signal at a point add sound pressure of all contributions  Phase angles of pn and pm are different and for quite a large number of components [Kuttruff, 2007]

Beam Tracing for Sound Propagation   [Funkhouser,1998] [Funkhouser,1999]   Input: point sound source point listener scene geometry with acoustic properties   Output: pressure impulse response (IR)

Beam Tracing for Sound Propagation   [Funkhouser,1998] [Funkhouser,1999]   Advantages   Geometrically accurate simulation   No aliasing issues, especially for dynamic scenes   Has a pre-processing and interactive stages   Can handle moving listener   Handles diffraction   Disadvantages   Expensive pre-processing step   Cannot handle dynamic sound sources or geometry   Cannot handle diffuse reflection

AN OVERVIEW Beam Tracing Method

Beam Tracing for Sound Propagation Acoustic Geometry -- surface simplification Acoustic Material -- absorption coefficient -- scattering coefficient Source Modeling -- area source -- emitting characteristics -- sound signal Propagation Personalized HRTFs for 3D sound Late Reverberation Digital Signal Processing [Funkhouser,1998]

Example: Input Scene [Funkhouser,1998]

Step 1: Spatial Subdivision (preprocess)   Partition 3D space into convex regions (BSP Tree). [Wikipedia, Binary space partitioning]

Step 1: Spatial Subdivision (preprocess)   Partition 3D space into convex regions (BSP Tree).   Build adjacency graph. [Funkhouser,1998]

Step 1: Spatial Subdivision - Example [Funkhouser,1998]

Step 2: Beam Tracing (preprocess)   Compute Beam Tree   Node Information   Cell ID   Beam and its apex   Cell boundary   Parent node ID   Attenuation Need to cite the authors of these images.

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 2: Beam Tracing - Example [Funkhouser,1998]

Step 3: Path Generation (interactive) [Funkhouser,1998]

Step 3: Path Generation (interactive)   Find cell, C, containing listener (log N)   For each beam in C check for listener is inside it   Yes, then a path exist   Attenuation, path length, and direction can be computed quickly   Construct path by traversing the beam tree   Compute Impulse Response (IR)

Step 3: Path Generation - Example [Funkhouser,1998]

Step 3: Path Generation - Example [Funkhouser,1998]

Step 3: Path Generation - Example [Funkhouser,1998]

Step 4: Auralization (Interactive)  Convolve IR with input sound signal  Use the directional paths to simulate 3D audio using HRTFs Impulse Response (IR) Sound Signal* = Output Audio *= Need to cite the authors of these images.

Frustum Tracing for Sound Propagation   [Lauterbach,2007] [Chandak,2008]   Input: point sound source point listener scene geometry with acoustic properties   Output: pressure impulse response (IR)

Frustum Tracing for Sound Propagation   [Lauterbach,2007] [Chandak,2008]   Advantages   Very Very Fast   Handles moving sources and listeners   Handles complex and dynamic geometry   Handles diffraction   Disadvantages   Could miss some important contributions   Cannot handle diffuse reflection

AN OVERVIEW Frustum Tracing Method

Frustum Tracing Overview Frustum Triangle Intersection

Frustum Tracing Results (7 cores) Theater 54 ∆s Factory 174 ∆s Game 14K ∆s Sibenik 71K ∆s City 72K ∆s SodaHa ll 1.5M ∆s diffraction NO YES #frusta56K40K206K198K80K108K time (msec)

AN OVERVIEW FastV: From-point Visibility Culling and Applications to Sound Rendering

FastV: An Overview

Results (Speed)

Results (Convergence)

Results (Convergence) Armadillo

Results (Sound Propagation)

Step 3: Auralization   If receiver is inside frustum  Calculate path back to source  Attenuate path and add to IR  Convolve audio with IR  Output final audio sample

Phonon Tracing   [Kapralos,2004] [Bertram,2005]   Inspired from Photon Tracing [Jensen,2001]   Input: point sound source point listener scene geometry with acoustic properties   Output: energy impulse response (IR)

Phonon Tracing   [Kapralos,2004] [Bertram,2005]   Advantages   Handles diffuse reflection efficiently   Disadvantages   Compute intensive   Cannot handle dynamic source and geometry

AN OVERVIEW Phonon Tracing Method

Phonon Emission Step [Deines,2008]

Phonon Emission Step [Deines,2008]