SlideShare a Scribd company logo
SMOKE & MIRRORS:
ADVANCED VOLUMETRIC EFFECTS FOR GAMES
Simon Green, Nuttapong Chentanez
OVERVIEW
 Background
 Simulation
 Rendering
 Demos
 Future work
WHAT IS FLAMEWORKS?
 A system for adding volumetric fire and smoke effects to
games
 Part of the NVIDIA GameWorks family of visual effects
libraries
 Combines
— Efficient grid-based fluid simulator
— High quality volume rendering
 Inspired by ILM Plume, FumeFX, Maya Fluids, Houdini Pyro
— But real-time!
GOALS
High quality
Fast, efficient, scalable
Simple, easy to integrate into games
Customizable
SIMULATION
 Grid-based fluid simulator
— Gas simulator really – no liquid surface tracking etc.
 Features
— Multi-grid solver
— MacCormack advection (second order accurate)
— Vorticity confinement
— Combustion model
— Density resolution multiplier (upscaling)
SIMULATION
 Quantities
— Velocity
— Temperature
— Fuel
— Smoke Density
 Discretization
— Use collocated grid i.e. all quantities stored at cell center
— Stored in two vec4 3D textures
SIMULATION LOOP
Incompressibility
Solve
Advection
Vorticity
Confinement
Add SourceCombustion
SIMULATION LOOP
Incompressibility
Solve
Advection
Vorticity
Confinement
Add SourceCombustion
ADVECTION
 Fluid physical quantities such as temperature, density
etc. are moved by fluid velocity
— Fluid velocity itself is also moved by fluid velocity!
 Semi-Lagrangian Method [Stam 99]
— Start at a cell center
— Trace velocity field backward in time
— Interpolate quantity from grid
 Tri-Linear interpolation
 Optionally, move fuel at faster speed
ADVECTION
 Semi-Lagrangian method is first order accurate
— Causes a lot of numerical diffusion
— Smoke and flame smooth out
— Small scale details disappear
— Vortices disappear
 Use Modified MacCormack Method [Selle et al. 08]
— For temperature, density, fuel only
— Second order accurate
— Tracing backward and then forward in time to estimate the error
— Subtract the estimated error off to get a more accurate answer
ADVECTION
Semi-Lagrangian MacCormack
SIMULATION LOOP
Incompressibility
Solve
Advection
Vorticity
Confinement
Add SourceCombustion
VORTICITY CONFINEMENT
 Identify where vortices are, then add force to amplify them
[Fedkiw et al. 01]
Before After* *exaggerated for visualization purpose
VORTICITY CONFINEMENT
Without vorticity confinement With vorticity confinement
SIMULATION LOOP
Incompressibility
Solve
Advection
Vorticity
Confinement
Add SourceCombustion
EMITTERS
 Add density, temperature, fuel and velocity to simulation
 Currently supported shapes
— Sphere
— Plane
— Box
— Cone
 Custom emitters and force fields possible using callbacks
— Developer can write compute shaders that write to density and
velocity textures
CUSTOM EMITTER HLSL EXAMPLE
Texture3D<float4> srcTex : register (t0);
RWTexture3D<float4> dstTex : register (u0);
[numthreads(THREADS_X, THREADS_Y, THREADS_Z)]
void DensityEmitter(uint3 i : SV_DispatchThreadID)
{
// read existing data at this cell
float4 d = srcTex[i];
float3 p = voxelToWorld(i);
float r= length(p – emitterPos);
if (r < emitterRadius) {
d.x += smoothstep(emitterRadius, emitterInnerRadius, r);
};
// write new data
dstTex[i] = d;
}
COMBUSTION MODEL
 If temperature is above ignition temp and there is fuel,
combustion occurs:
— Consumes fuel
— Increases temperature
— Generates expansion by modifying simulation
divergence [Feldman & O’Brien 03]
— Temperature causes upwards buoyancy
 Optionally have temperature cooling
— Cooling rate proportional to temperaturek
— k = 4 is commonly used in practice
SIMULATION LOOP
Incompressibility
Solve
Advection
Vorticity
Confinement
Add SourceCombustion
INCOMPRESSIBILITY SOLVER
 Goal: Make velocity field divergence free
 Why?
— Incompressible fluid -> divergence free velocity field
— Responsible for swirling motion commonly associated with fluid
— Conserves mass
 How?
— Compute a pressure field whose gradient canceled out divergence of
velocity field [Stam 99]
— Pressure field is the solution to a linear system
SOLVING LINEAR SYSTEM
 Geometric multi-grid
— Open boundary on top, sides
— Closed boundary on bottom
— Ignores internal obstacles
 Use Iterate Orthogonal Projection (IOP) [Molemaker et al. 08],
to enforce solid boundary condition for internal obstacles
— Set the normal component of fluid velocity to that of solid
— Do multi-grid
— Set the normal component of fluid velocity to that of solid
— (can repeat for more accurate solution)
SIMULATION LOOP
Incompressibility
Solve
Advection
Vorticity
Confinement
Add SourceCombustion
OBSTACLES
Currently support:
 Implicits: sphere, capsule, box
 Pre-computed signed distance fields (stored on a grid)
 Can be scaled, translated, rotated during run time
We rasterize the following to grid at each time step:
 Distance to nearest obstacle
 Normal and velocity of the nearest obstacle
Solver then use these fields for all simulation steps
Advection and incompressibility solve
MOVING GRID
 Grid can be translated to follow moving objects
 Basically adds opposite velocity during advection
 Currently grid is always axis-aligned
DRAGON DEMO
128 x 128 x 256 velocity grid (4M voxels)
2x density res multiplier = 256 x 256 x 512 (32M voxels)
~30fps on GeForce Titan
HIGH-RES DENSITY
 Density grid can be stored at higher resolution than velocity
— Usually 2x or 4x resolution
 Improves performance since velocity solver is main bottleneck
 Velocities are interpolated during density advection
— Not strictly correct since interpolated velocities aren’t divergence-
free
— But looks fine
DENSITY 1X
DENSITY 2X
DENSITY 4X
RENDERING OPTIONS
—Particles
 Advect particles through velocity field from simulation
 Render as point sprites
 Requires depth sorting for correct bending
—Iso-surface rendering
 Using marching cubes or ray marching to extract surface
—Volume Rendering
 Highest quality option
VOLUME RENDERING
Separate part of FlameWorks
Optional - developers are free to do their own rendering
Implemented using ray-marching in pixel shader
Features
Color mapping
Depth compositing
Down-sampled rendering with up-sampling
Empty space skipping
Edge fading
Heat Haze
COLOR MAPPING
Temperature is mapped to color using 1D texture LUT
Can also effect alpha (transparency)
Can use a physically-based Blackbody radiation model
(see GTC 2012 talk)
Or arbitrary artist-defined map
COMPOSITING
HEAT HAZE
 Adds to perception of heat
 Offset background lookup based on gradient of temperature
(or just luminance) in screen space
HEAT HAZE - OFF
HEAT HAZE - ON
LINEAR FILTERING
 Fastest option
 Some artifacts at low res
CUBIC FILTERING
 Smoother
— Blurs some details
 Uses 8 bilinear lookups
— [Sigg & Hadwiger 05]
 But ~8 times more expensive
ALTERNATIVE LOOKS - TOON SHADING
VOLUMETRIC SHADOWS
Shadows are very important for smoke, dust etc.
We generate a dense 3D shadow volume as a pre-pass
Can be generated at fraction of density texture resolution
(½ or ¼ typically)
Ray march towards light, computing transmittance
For dense volumes, only need small number of samples (2-8)
Problem: banding visible
Solution: jitter ray start position towards light by random
amount
Causes noise, so blur result in 3D
SHADOWS - OFF
SHADOWS – 2 SAMPLES
SHADOWS – 4 SAMPLES
SHADOWS – 4 SAMPLES + JITTER
SHADOWS – 4 SAMPLES + JITTER + BLUR
VOLUME SCATTERING APPROXIMATION
 Scattering is an important effect for smoky volumes
 Simple approximation:
— Evaluate lighting (emission) to 3D texture
— (High dynamic range is important)
— Blur texture in 3 dimensions
 Separable blur
— Read blurred texture during ray march
 Mix with original
 Similar to Crytek light propagation volumes
REFLECTIONS
 Easy to cast arbitrary rays though volumes
 E.g. Reflections of fire in other objects
 Calculate reflection ray, intersect with volume bounding box,
then ray march through volume
 Can use a down-sampled volume (mipmaps) for blurry
reflections
RAY MARCHED REFLECTIONS
TEXTURE COORDINATE ADVECTION
 For low resolution sims, procedural texturing can be useful to
add detail
 Advect 3D texture coordinates, use to add procedural noise to
density/temperature
— Use a simplified version of “Advected Textures” [Neyret 03]
 Advect several sets of 3D texture coordinates
— Coordinates blur out over time
— So regenerate periodically
— Blend between results of looking up in each texture, to achieve
smooth results
IMPLEMENTATION
 Current implementation uses DirectX 11 Compute
— best fit for games
— good graphics interoperability
— potential for simultaneous graphics-compute
 OpenGL version possible in future
— Performance of mobile GPUs is increasing quickly
SIMULATION PERFORMANCE
X Y Z Voxels Grid size
(4 x fp16)
Time
(msecs)
64 64 64 256K 2 MB 1.0
128 64 64 512K 4 MB 1.7
128 128 128 2M 8 MB 5.1
256 128 128 4M 32 MB 10.7
256 256 256 16M 128 MB 40.0
GeForce GTX Titan
Numbers subject to change.
FUTURE WORK
 Optimization
 Integration with GI-Works
— Fire acts as volumetric light source
 Improved volume rendering
— More general lighting
— Frustum buffers for compositing multiple volumes
 Z-buffer collisions
 Simulation in the cloud?
QUESTIONS?
 Twitter: @simesgreen
REFERENCES
 Stable Fluids by Stam J. 1999
 Visual Simulation of Smoke by Fedkiw R., Stam J.and Jensen W. H. 2001
 Animating Suspended Particle Explosions by Feldman B. and O’Brien J. 2003
 Advected Textures by Fabrice N. 2003
 Fast Third-Order Texture Filtering by Sigg C. and Hadwiger M. 2005
 Low Viscosity Flow Simulations for Animation by Molemaker J., Cohen M. J., Patel
S. and Noh J. 2008
 An Unconditionally Stable MacCormack Method by Selle A., Fedkiw R., Kim B., Liu
Y. and Rossignac J. 2008
 Water Flow in Portal 2 by Vlachos A. 2010
 Flame On: Real-Time Fire Simulation for Video Games by Green S. 2012

More Related Content

What's hot

Frostbite on Mobile
Frostbite on MobileFrostbite on Mobile
Frostbite on Mobile
Electronic Arts / DICE
 
Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Tiago Sousa
 
Lighting the City of Glass
Lighting the City of GlassLighting the City of Glass
Lighting the City of Glass
Electronic Arts / DICE
 
Bindless Deferred Decals in The Surge 2
Bindless Deferred Decals in The Surge 2Bindless Deferred Decals in The Surge 2
Bindless Deferred Decals in The Surge 2
Philip Hammer
 
DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3
Electronic Arts / DICE
 
Screen Space Reflections in The Surge
Screen Space Reflections in The SurgeScreen Space Reflections in The Surge
Screen Space Reflections in The Surge
Michele Giacalone
 
Star Ocean 4 - Flexible Shader Managment and Post-processing
Star Ocean 4 - Flexible Shader Managment and Post-processingStar Ocean 4 - Flexible Shader Managment and Post-processing
Star Ocean 4 - Flexible Shader Managment and Post-processing
umsl snfrzb
 
Parallel Futures of a Game Engine
Parallel Futures of a Game EngineParallel Futures of a Game Engine
Parallel Futures of a Game Engine
Johan Andersson
 
Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666
Tiago Sousa
 
Advanced Scenegraph Rendering Pipeline
Advanced Scenegraph Rendering PipelineAdvanced Scenegraph Rendering Pipeline
Advanced Scenegraph Rendering Pipeline
Narann29
 
Stochastic Screen-Space Reflections
Stochastic Screen-Space ReflectionsStochastic Screen-Space Reflections
Stochastic Screen-Space Reflections
Electronic Arts / DICE
 
Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1
Ki Hyunwoo
 
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
Electronic Arts / DICE
 
FrameGraph: Extensible Rendering Architecture in Frostbite
FrameGraph: Extensible Rendering Architecture in FrostbiteFrameGraph: Extensible Rendering Architecture in Frostbite
FrameGraph: Extensible Rendering Architecture in Frostbite
Electronic Arts / DICE
 
Calibrating Lighting and Materials in Far Cry 3
Calibrating Lighting and Materials in Far Cry 3Calibrating Lighting and Materials in Far Cry 3
Calibrating Lighting and Materials in Far Cry 3
stevemcauley
 
Dissecting the Rendering of The Surge
Dissecting the Rendering of The SurgeDissecting the Rendering of The Surge
Dissecting the Rendering of The Surge
Philip Hammer
 
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Ki Hyunwoo
 
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The RunFive Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Electronic Arts / DICE
 
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
Electronic Arts / DICE
 
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Johan Andersson
 

What's hot (20)

Frostbite on Mobile
Frostbite on MobileFrostbite on Mobile
Frostbite on Mobile
 
Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)
 
Lighting the City of Glass
Lighting the City of GlassLighting the City of Glass
Lighting the City of Glass
 
Bindless Deferred Decals in The Surge 2
Bindless Deferred Decals in The Surge 2Bindless Deferred Decals in The Surge 2
Bindless Deferred Decals in The Surge 2
 
DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3
 
Screen Space Reflections in The Surge
Screen Space Reflections in The SurgeScreen Space Reflections in The Surge
Screen Space Reflections in The Surge
 
Star Ocean 4 - Flexible Shader Managment and Post-processing
Star Ocean 4 - Flexible Shader Managment and Post-processingStar Ocean 4 - Flexible Shader Managment and Post-processing
Star Ocean 4 - Flexible Shader Managment and Post-processing
 
Parallel Futures of a Game Engine
Parallel Futures of a Game EngineParallel Futures of a Game Engine
Parallel Futures of a Game Engine
 
Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666
 
Advanced Scenegraph Rendering Pipeline
Advanced Scenegraph Rendering PipelineAdvanced Scenegraph Rendering Pipeline
Advanced Scenegraph Rendering Pipeline
 
Stochastic Screen-Space Reflections
Stochastic Screen-Space ReflectionsStochastic Screen-Space Reflections
Stochastic Screen-Space Reflections
 
Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1
 
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
 
FrameGraph: Extensible Rendering Architecture in Frostbite
FrameGraph: Extensible Rendering Architecture in FrostbiteFrameGraph: Extensible Rendering Architecture in Frostbite
FrameGraph: Extensible Rendering Architecture in Frostbite
 
Calibrating Lighting and Materials in Far Cry 3
Calibrating Lighting and Materials in Far Cry 3Calibrating Lighting and Materials in Far Cry 3
Calibrating Lighting and Materials in Far Cry 3
 
Dissecting the Rendering of The Surge
Dissecting the Rendering of The SurgeDissecting the Rendering of The Surge
Dissecting the Rendering of The Surge
 
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
 
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The RunFive Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
 
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
 
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
 

Similar to FlameWorks GTC 2014

Secrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologySecrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics Technology
Tiago Sousa
 
D3 D10 Unleashed New Features And Effects
D3 D10 Unleashed   New Features And EffectsD3 D10 Unleashed   New Features And Effects
D3 D10 Unleashed New Features And EffectsThomas Goddard
 
Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)
Tiago Sousa
 
Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016
Graham Wihlidal
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...Johan Andersson
 
Practical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsxPractical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsx
MannyK4
 
AI optimizing HPC simulations (presentation from 6th EULAG Workshop)
AI optimizing HPC simulations (presentation from  6th EULAG Workshop)AI optimizing HPC simulations (presentation from  6th EULAG Workshop)
AI optimizing HPC simulations (presentation from 6th EULAG Workshop)
byteLAKE
 
The Technology behind Shadow Warrior, ZTG 2014
The Technology behind Shadow Warrior, ZTG 2014The Technology behind Shadow Warrior, ZTG 2014
The Technology behind Shadow Warrior, ZTG 2014
Jarosław Pleskot
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsNaughty Dog
 
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solverS4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solverPraveen Narayanan
 
CS 354 Texture Mapping
CS 354 Texture MappingCS 354 Texture Mapping
CS 354 Texture Mapping
Mark Kilgard
 
Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
stefan_b
 
Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)Matthias Trapp
 
Realtime 3D Visualization without GPU
Realtime 3D Visualization without GPURealtime 3D Visualization without GPU
Realtime 3D Visualization without GPU
Tobias G
 
Masked Software Occlusion Culling
Masked Software Occlusion CullingMasked Software Occlusion Culling
Masked Software Occlusion Culling
Intel® Software
 
Borderless Per Face Texture Mapping
Borderless Per Face Texture MappingBorderless Per Face Texture Mapping
Borderless Per Face Texture Mapping
basisspace
 
Advanced Lighting for Interactive Applications
Advanced Lighting for Interactive ApplicationsAdvanced Lighting for Interactive Applications
Advanced Lighting for Interactive Applications
stefan_b
 
Unity AMD FSR - SIGGRAPH 2021.pptx
Unity AMD FSR - SIGGRAPH 2021.pptxUnity AMD FSR - SIGGRAPH 2021.pptx
Unity AMD FSR - SIGGRAPH 2021.pptx
ssuser2c3c67
 
Implementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES rendererImplementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES renderer
Davide Pasca
 
Your Game Needs Direct3D 11, So Get Started Now!
Your Game Needs Direct3D 11, So Get Started Now!Your Game Needs Direct3D 11, So Get Started Now!
Your Game Needs Direct3D 11, So Get Started Now!
Johan Andersson
 

Similar to FlameWorks GTC 2014 (20)

Secrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologySecrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics Technology
 
D3 D10 Unleashed New Features And Effects
D3 D10 Unleashed   New Features And EffectsD3 D10 Unleashed   New Features And Effects
D3 D10 Unleashed New Features And Effects
 
Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)
 
Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
 
Practical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsxPractical spherical harmonics based PRT methods.ppsx
Practical spherical harmonics based PRT methods.ppsx
 
AI optimizing HPC simulations (presentation from 6th EULAG Workshop)
AI optimizing HPC simulations (presentation from  6th EULAG Workshop)AI optimizing HPC simulations (presentation from  6th EULAG Workshop)
AI optimizing HPC simulations (presentation from 6th EULAG Workshop)
 
The Technology behind Shadow Warrior, ZTG 2014
The Technology behind Shadow Warrior, ZTG 2014The Technology behind Shadow Warrior, ZTG 2014
The Technology behind Shadow Warrior, ZTG 2014
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solverS4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
S4495-plasma-turbulence-sims-gyrokinetic-tokamak-solver
 
CS 354 Texture Mapping
CS 354 Texture MappingCS 354 Texture Mapping
CS 354 Texture Mapping
 
Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
 
Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)Efficient LDI Representation (TPCG 2008)
Efficient LDI Representation (TPCG 2008)
 
Realtime 3D Visualization without GPU
Realtime 3D Visualization without GPURealtime 3D Visualization without GPU
Realtime 3D Visualization without GPU
 
Masked Software Occlusion Culling
Masked Software Occlusion CullingMasked Software Occlusion Culling
Masked Software Occlusion Culling
 
Borderless Per Face Texture Mapping
Borderless Per Face Texture MappingBorderless Per Face Texture Mapping
Borderless Per Face Texture Mapping
 
Advanced Lighting for Interactive Applications
Advanced Lighting for Interactive ApplicationsAdvanced Lighting for Interactive Applications
Advanced Lighting for Interactive Applications
 
Unity AMD FSR - SIGGRAPH 2021.pptx
Unity AMD FSR - SIGGRAPH 2021.pptxUnity AMD FSR - SIGGRAPH 2021.pptx
Unity AMD FSR - SIGGRAPH 2021.pptx
 
Implementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES rendererImplementing a modern, RenderMan compliant, REYES renderer
Implementing a modern, RenderMan compliant, REYES renderer
 
Your Game Needs Direct3D 11, So Get Started Now!
Your Game Needs Direct3D 11, So Get Started Now!Your Game Needs Direct3D 11, So Get Started Now!
Your Game Needs Direct3D 11, So Get Started Now!
 

Recently uploaded

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 

Recently uploaded (20)

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 

FlameWorks GTC 2014

  • 1. SMOKE & MIRRORS: ADVANCED VOLUMETRIC EFFECTS FOR GAMES Simon Green, Nuttapong Chentanez
  • 2. OVERVIEW  Background  Simulation  Rendering  Demos  Future work
  • 3. WHAT IS FLAMEWORKS?  A system for adding volumetric fire and smoke effects to games  Part of the NVIDIA GameWorks family of visual effects libraries  Combines — Efficient grid-based fluid simulator — High quality volume rendering  Inspired by ILM Plume, FumeFX, Maya Fluids, Houdini Pyro — But real-time!
  • 4. GOALS High quality Fast, efficient, scalable Simple, easy to integrate into games Customizable
  • 5. SIMULATION  Grid-based fluid simulator — Gas simulator really – no liquid surface tracking etc.  Features — Multi-grid solver — MacCormack advection (second order accurate) — Vorticity confinement — Combustion model — Density resolution multiplier (upscaling)
  • 6. SIMULATION  Quantities — Velocity — Temperature — Fuel — Smoke Density  Discretization — Use collocated grid i.e. all quantities stored at cell center — Stored in two vec4 3D textures
  • 9. ADVECTION  Fluid physical quantities such as temperature, density etc. are moved by fluid velocity — Fluid velocity itself is also moved by fluid velocity!  Semi-Lagrangian Method [Stam 99] — Start at a cell center — Trace velocity field backward in time — Interpolate quantity from grid  Tri-Linear interpolation  Optionally, move fuel at faster speed
  • 10. ADVECTION  Semi-Lagrangian method is first order accurate — Causes a lot of numerical diffusion — Smoke and flame smooth out — Small scale details disappear — Vortices disappear  Use Modified MacCormack Method [Selle et al. 08] — For temperature, density, fuel only — Second order accurate — Tracing backward and then forward in time to estimate the error — Subtract the estimated error off to get a more accurate answer
  • 13. VORTICITY CONFINEMENT  Identify where vortices are, then add force to amplify them [Fedkiw et al. 01] Before After* *exaggerated for visualization purpose
  • 14. VORTICITY CONFINEMENT Without vorticity confinement With vorticity confinement
  • 16. EMITTERS  Add density, temperature, fuel and velocity to simulation  Currently supported shapes — Sphere — Plane — Box — Cone  Custom emitters and force fields possible using callbacks — Developer can write compute shaders that write to density and velocity textures
  • 17. CUSTOM EMITTER HLSL EXAMPLE Texture3D<float4> srcTex : register (t0); RWTexture3D<float4> dstTex : register (u0); [numthreads(THREADS_X, THREADS_Y, THREADS_Z)] void DensityEmitter(uint3 i : SV_DispatchThreadID) { // read existing data at this cell float4 d = srcTex[i]; float3 p = voxelToWorld(i); float r= length(p – emitterPos); if (r < emitterRadius) { d.x += smoothstep(emitterRadius, emitterInnerRadius, r); }; // write new data dstTex[i] = d; }
  • 18. COMBUSTION MODEL  If temperature is above ignition temp and there is fuel, combustion occurs: — Consumes fuel — Increases temperature — Generates expansion by modifying simulation divergence [Feldman & O’Brien 03] — Temperature causes upwards buoyancy  Optionally have temperature cooling — Cooling rate proportional to temperaturek — k = 4 is commonly used in practice
  • 20. INCOMPRESSIBILITY SOLVER  Goal: Make velocity field divergence free  Why? — Incompressible fluid -> divergence free velocity field — Responsible for swirling motion commonly associated with fluid — Conserves mass  How? — Compute a pressure field whose gradient canceled out divergence of velocity field [Stam 99] — Pressure field is the solution to a linear system
  • 21. SOLVING LINEAR SYSTEM  Geometric multi-grid — Open boundary on top, sides — Closed boundary on bottom — Ignores internal obstacles  Use Iterate Orthogonal Projection (IOP) [Molemaker et al. 08], to enforce solid boundary condition for internal obstacles — Set the normal component of fluid velocity to that of solid — Do multi-grid — Set the normal component of fluid velocity to that of solid — (can repeat for more accurate solution)
  • 23. OBSTACLES Currently support:  Implicits: sphere, capsule, box  Pre-computed signed distance fields (stored on a grid)  Can be scaled, translated, rotated during run time We rasterize the following to grid at each time step:  Distance to nearest obstacle  Normal and velocity of the nearest obstacle Solver then use these fields for all simulation steps Advection and incompressibility solve
  • 24. MOVING GRID  Grid can be translated to follow moving objects  Basically adds opposite velocity during advection  Currently grid is always axis-aligned
  • 25. DRAGON DEMO 128 x 128 x 256 velocity grid (4M voxels) 2x density res multiplier = 256 x 256 x 512 (32M voxels) ~30fps on GeForce Titan
  • 26. HIGH-RES DENSITY  Density grid can be stored at higher resolution than velocity — Usually 2x or 4x resolution  Improves performance since velocity solver is main bottleneck  Velocities are interpolated during density advection — Not strictly correct since interpolated velocities aren’t divergence- free — But looks fine
  • 30. RENDERING OPTIONS —Particles  Advect particles through velocity field from simulation  Render as point sprites  Requires depth sorting for correct bending —Iso-surface rendering  Using marching cubes or ray marching to extract surface —Volume Rendering  Highest quality option
  • 31. VOLUME RENDERING Separate part of FlameWorks Optional - developers are free to do their own rendering Implemented using ray-marching in pixel shader Features Color mapping Depth compositing Down-sampled rendering with up-sampling Empty space skipping Edge fading Heat Haze
  • 32. COLOR MAPPING Temperature is mapped to color using 1D texture LUT Can also effect alpha (transparency) Can use a physically-based Blackbody radiation model (see GTC 2012 talk) Or arbitrary artist-defined map
  • 33.
  • 34.
  • 35.
  • 37.
  • 38.
  • 39.
  • 40. HEAT HAZE  Adds to perception of heat  Offset background lookup based on gradient of temperature (or just luminance) in screen space
  • 41. HEAT HAZE - OFF
  • 43. LINEAR FILTERING  Fastest option  Some artifacts at low res
  • 44. CUBIC FILTERING  Smoother — Blurs some details  Uses 8 bilinear lookups — [Sigg & Hadwiger 05]  But ~8 times more expensive
  • 45. ALTERNATIVE LOOKS - TOON SHADING
  • 46. VOLUMETRIC SHADOWS Shadows are very important for smoke, dust etc. We generate a dense 3D shadow volume as a pre-pass Can be generated at fraction of density texture resolution (½ or ¼ typically) Ray march towards light, computing transmittance For dense volumes, only need small number of samples (2-8) Problem: banding visible Solution: jitter ray start position towards light by random amount Causes noise, so blur result in 3D
  • 48. SHADOWS – 2 SAMPLES
  • 49. SHADOWS – 4 SAMPLES
  • 50. SHADOWS – 4 SAMPLES + JITTER
  • 51. SHADOWS – 4 SAMPLES + JITTER + BLUR
  • 52. VOLUME SCATTERING APPROXIMATION  Scattering is an important effect for smoky volumes  Simple approximation: — Evaluate lighting (emission) to 3D texture — (High dynamic range is important) — Blur texture in 3 dimensions  Separable blur — Read blurred texture during ray march  Mix with original  Similar to Crytek light propagation volumes
  • 53.
  • 54.
  • 55.
  • 56. REFLECTIONS  Easy to cast arbitrary rays though volumes  E.g. Reflections of fire in other objects  Calculate reflection ray, intersect with volume bounding box, then ray march through volume  Can use a down-sampled volume (mipmaps) for blurry reflections
  • 58. TEXTURE COORDINATE ADVECTION  For low resolution sims, procedural texturing can be useful to add detail  Advect 3D texture coordinates, use to add procedural noise to density/temperature — Use a simplified version of “Advected Textures” [Neyret 03]  Advect several sets of 3D texture coordinates — Coordinates blur out over time — So regenerate periodically — Blend between results of looking up in each texture, to achieve smooth results
  • 59. IMPLEMENTATION  Current implementation uses DirectX 11 Compute — best fit for games — good graphics interoperability — potential for simultaneous graphics-compute  OpenGL version possible in future — Performance of mobile GPUs is increasing quickly
  • 60. SIMULATION PERFORMANCE X Y Z Voxels Grid size (4 x fp16) Time (msecs) 64 64 64 256K 2 MB 1.0 128 64 64 512K 4 MB 1.7 128 128 128 2M 8 MB 5.1 256 128 128 4M 32 MB 10.7 256 256 256 16M 128 MB 40.0 GeForce GTX Titan Numbers subject to change.
  • 61. FUTURE WORK  Optimization  Integration with GI-Works — Fire acts as volumetric light source  Improved volume rendering — More general lighting — Frustum buffers for compositing multiple volumes  Z-buffer collisions  Simulation in the cloud?
  • 63. REFERENCES  Stable Fluids by Stam J. 1999  Visual Simulation of Smoke by Fedkiw R., Stam J.and Jensen W. H. 2001  Animating Suspended Particle Explosions by Feldman B. and O’Brien J. 2003  Advected Textures by Fabrice N. 2003  Fast Third-Order Texture Filtering by Sigg C. and Hadwiger M. 2005  Low Viscosity Flow Simulations for Animation by Molemaker J., Cohen M. J., Patel S. and Noh J. 2008  An Unconditionally Stable MacCormack Method by Selle A., Fedkiw R., Kim B., Liu Y. and Rossignac J. 2008  Water Flow in Portal 2 by Vlachos A. 2010  Flame On: Real-Time Fire Simulation for Video Games by Green S. 2012