GPU Compute Shaders for Simulation of fluids, diffusion reaction etc.
Автор: Maciej Matyka
Загружено: 2022-02-07
Просмотров: 2153
This talk was given last friday (4.02.2022) at local polish LBM workshop in Kraków (LBM in Krakow 2022) organized at AGH. Here I present two tutorials on GPU Compute Shaders for Simulations of fluids, diffusion reaction etc. . Tutorials describe the Gray Scott reaction diffusion and fluid flows in 3D using the Lattice Boltzmann Method. I briefly introduce the concept of GPU, shaders, OpenFrameworks used as graphics API and then describe how to work with both tutorials.
Plan:
00:00 Intro
02:24 What is GPU?
04:13 Why Compute Shaders?
05:41 Intruduction to Open Frameworks
06:55 Tutorial 1 (Gray Scott) starts here
08:16 Starting Open Frameworks code
09:34 Gray-Scott model details
12:43 Buffer allocation on GPU
13:35 GPU buffer bindings explained with wires
14:58 Textures in OF
16:00 The Shader related code starts here (loading, linging, ping-pong, dispatch)
19:30 The Compute shader for Gray-Scott
24:09 The result Gray-Scott model (run live)
24:54 Gray-Scott with bumpmapping (run live)
26:15 The Lattice Boltzmann in 2D (run live)
27:06 Tutorial 2 on 3D fluids with Lattice Boltzmann starts here
28:00 3D LBM realtime (run live)
29:00 Surprise - 3D multiphase volumetric rendered CFD Wrocław #9 invitro with music from n1k-o
The tutorials with code can be found under these links:
1: / gpu-compute-shaders-in-open-frameworks-tut...
2: / gpu-compute-shaders-part-2-fluids
(1 copy on blogspot): https://maciejmatyka.blogspot.com/202...
The talk was originaly given for local polish workshop LBM in Kraków organized at AGH. Unfortunately the original sound was not recorded so this is repeated one but I bet is 90% the same. Remember for the futur, that Teams from MS overtakes the microphone and doesn't allow other software to use the input, which I didn't know.
Final invitro is recorded here in better quality: • CFD Wrocław #9 Invitro
#tutorial #computeshaders #openframeworks
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: