Realistic Simulation and Rendering of Smoke CSE 788.14 Class Project Presentation Oleksiy Busaryev TexPoint fonts used in EMF. Read the TexPoint manual.

Slides:



Advertisements
Similar presentations
Stable Fluids A paper by Jos Stam.
Advertisements

My First Fluid Project Ryan Schmidt. Outline MAC Method How far did I get? What went wrong? Future Work.
ECMWF Governing Equations 1 Slide 1 Governing Equations I by Clive Temperton (room 124) and Nils Wedi (room 128)
Data Visualization Lecture 9
Christopher Batty and Robert Bridson University of British Columbia
Simulation of Fluids using the Navier-Stokes Equations Kartik Ramakrishnan.
Lecture 15: Capillary motion
Navier-Stokes.
Continuity Equation. Continuity Equation Continuity Equation Net outflow in x direction.
Matthias Müller, Barbara Solenthaler, Richard Keiser, Markus Gross Eurographics/ACM SIGGRAPH Symposium on Computer Animation (2005),
Depicting Fire and Other Gaseous Phenomena Using Diffusion Processes Jos Stam and Eugene Fiume Dept. of CS, University of Toronto Presentation ©2001 Brenden.
Physical Based Modeling and Animation of Fire and Water Surface Jun Ni, Ph.D. M.E. Associate Research Scientist, Research Services Adjunct Assistant Professor.
Mode-Splitting for Highly Detail, Interactive Liquid Simulation H. Cords University of Rostock Presenter: Truong Xuan Quang.
Advanced Ray Tracing Smoke and Fog.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Equations of Continuity
Evolving Sub-Grid Turbulence for Smoke Animation Hagit Schechter Robert Bridson SCA 08.
1cs533d-winter-2005 Notes  How are projects going?
William Moss Advanced Image Synthesis, Fall 2008.
Intro to Fluid Simulation (I) Jeff Pool COMP
Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps Paper by Henrik Wann Jensen, Per H. Christensen Presented.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Particle-based fluid simulation for interactive applications
1cs533d-winter-2005 Notes  I’m now in X663 Well, sort of…  Questions about assignment 3?
Combined Lagrangian-Eulerian Approach for Accurate Advection Toshiya HACHISUKA The University of Tokyo Introduction Grid-based fluid.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Visual Simulation of Smoke SIGGRAPH’01 Ronald Fedkiw, Jos Stam and Henrik Wann Jensen Stanford University & Alias|wavefront.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Intro to Computational Fluid Dynamics Brandon Lloyd COMP 259 April 16, 2003 Image courtesy of Prof. A.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Introduction to Modeling Fluid Dynamics 1.
By Michael Su 04/16/2009.  Introduction  Fluid characteristics  Navier-Stokes equation  Eulerian vs. Lagrangian approach  Dive into the glory detail.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Simulation and Animation
Motivation  Movie  Game  Engineering Introduction  Ideally  Looks good  Fast simulation  Looks good?  Look plausible  Doesn’t need to be exactly.
CEE 262A H YDRODYNAMICS Lecture 5 Conservation Laws Part I 1.
Animation of Fluids.
Cloud Kwang Hee Ko September, 27, 2012 This material has been prepared by Y. W. Seo.
COMPUTATIONAL FLUID DYNAMICS IN REAL-TIME An Introduction to Simulation and Animation of Liquids and Gases.
-Global Illumination Techniques
Presentation Slides for Chapter 3 of Fundamentals of Atmospheric Modeling 2 nd Edition Mark Z. Jacobson Department of Civil & Environmental Engineering.
A particle-gridless hybrid methods for incompressible flows
Parallel MDOM for Rendering Participating Media Ajit Hakke Patil – Daniele Bernabei Charly Collin – Ke Chen – Sumanta Pattanaik Fabio Ganovelli.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
J.-Ph. Braeunig CEA DAM Ile-de-FrancePage 1 Jean-Philippe Braeunig CEA DAM Île-de-France, Bruyères-le-Châtel, LRC CEA-ENS Cachan
Parallel Ray Tracer Computer Systems Lab Presentation Stuart Maier.
FlowFixer: Using BFECC for Fluid Simulation ByungMoon Kim Yingjie Liu Ignacio Llamas Jarek Rossignac Georgia Institute of Technology.
Monte-Carlo Ray Tracing and
Physical Based Modeling and Animation of Fire 1/25.
Perpetual Visualization of Particle Motion and Fluid Flow Presented by Tsui Mei Chang.
Volume Visualization with Ray Casting
Outline Time Derivatives & Vector Notation
November 2005 Center for Computational Visualization Institute of Computational and Engineering Sciences Department of Computer Sciences University of.
02/07/03© 2003 University of Wisconsin Last Time Finite element approach Two-pass approaches.
Efficient Simulation of Large Bodies of Water by Coupling Two and Three Dimensional Techniques SIGGRAPH 2006 Geoffrey Irving Eran Guendelman Frank Losasso.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
SIGGRAPH 2005 신 승 호 신 승 호. Water Drops on Surfaces Huamin Wang Peter J. Mucha Greg Turk Georgia Institute of Technology.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
Fluid Mechanics (C.V. analysis) Dept. of Experimental Orthopaedics and Biomechanics Bioengineering Reza Abedian (M.Sc.)
Interesting papers on SIGGRAPH 2005 Korea University Computer Graphics Lab. Jin-Kyung Hong.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Computational Fluid Dynamics.
MAE 5130: VISCOUS FLOWS Lecture 2: Introductory Concepts
Fluid Animation CSE 3541 By: Matt Boggus.
ATCM 6317 Procedural Animation
Eulerian vs Lagrangian
Introduction to Fluid Dynamics & Applications
Procedural Animation Lecture 11: Fluid dynamics
MAE 3241: AERODYNAMICS AND FLIGHT MECHANICS
Particle-in-Cell Methods
David Marshburn Comp 259 April 17, 2002
Presentation transcript:

Realistic Simulation and Rendering of Smoke CSE Class Project Presentation Oleksiy Busaryev TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:

Project Goals and Methods Realistic visualization of smoke behavior Simulation: inviscid incompressible fluid flow Rendering: high albedo, multiple scattering Visual Simulation of Smoke Fedkiw, Stam, Jensen SIGGRAPH 01 Efficient Simulation of Light Transport in Scenes with Participating Media using Photon Maps Jensen, Christensen, SIGGRAPH 98 Fluid Simulation for Computer Graphics Bridson 08

Eulerian vs Lagrangian Eulerian approach (we use) – fixed space tesselation (grid) – quantities defined on a grid – good for gas & fluid simulation Lagrangian approach – particle-based simulation – granular materials (sand) & fluid

Computational Grid Staggered arrangement Scalar values in centers Vector components in faces Allows O( x 2 ) accurate central differences:

Fluid Equations (Eulerian) Inviscid Navier-Stokes (Euler) equations: Density & temperature: Advection Incompressibility Pressure difference External forces

Fluid Equations (Lagrangian) Inviscid Navier-Stokes (Euler) equations: Density & temperature: Incompressibility Pressure difference External forces

Splitting Advection (move quantities with the flow): External forces (e.g. gravity, buoyancy): Pressure difference/mass conservation:

Numerical Algorithm Find a suitable time step t Advect and T in the divergence-free field u Self-advect the velocity field u Apply external forces f to u Enforce incompressibility in u by projection, producing divergence-free velocity field

Semi-Lagrangian Advection Trace density and temperature back in time: More accurate 2 nd order Runge-Kutta: Each velocity component is advected separately

External Forces & Vorticity Gravity & buoyancy: Vorticity confinement (combats dissipation): Vorticity Vorticity gradient

Pressure Projection Project u to the space of divergence-free fields Subtract pressure gradient p: Pressures are obtained from linear system that enforces zero divergence for each cell:

Simulation Results OpenGL rendering of density & temperature 64 x 64 x 64 grid Semi-transparency Color: temperature 75 frames = 9.81, = 350 = 0.01

Light Transport Equation Volume rendering of density field required Absorption, scattering, emission affect light: Emitted radiance Absorption + Scattering = Extinction coefficient Radiance change Phase function Scattering coefficient Absorption coefficient

Rendering Algorithm Discretize LTE using ray marching algorithm: How to compute in-scattered radiance? Emitted radiance New radiance In-scattered radiance Previous radiance

Single Scattering Only rays from light sources are scattered Smoke volume looks somewhat flat with emission no emission

Multiple Scattering Any light rays can be scattered in media Environment affects how media is shaded Global illumination needed

Multiple Scattering Computation Direct scattering + indirect scattering: Indirect part estimated by photon mapping: surface photon mappingvolume photon mapping

Volume Photon Mapping Shoot enough photons from light sources Photons are absorbed or scattered by media Interacting photons stored in the volume map

Video: Single Scattering 75 frames 10 frames / sec 800 x 800 px 5-10 min / frame

Video: Single Scattering + Emission 75 frames 10 frames / sec 800 x 800 px 5-10 min / frame

Video: Multiple Scattering 75 frames 10 frames / sec 800 x 800 px 3-6 hours / frame Noise! 100K photons is not enough! Add emission