Coding Adventure: Rendering Fluids

Published: 06 December 2024
on channel: Sebastian Lague
904,664
44k

We've succeeded in the past to make a bunch of little balls behave like a fluid, but can we now make them look like a fluid too? In this video we'll explore a few different techniques, and also attempt a simple simulation of foam and spray to liven things up!

Support my work (and get early access to new videos and source code) on Patreon or Nebula
Patreon:   / sebastianlague  
Nebula: https://go.nebula.tv/sebastianlague

Source Code:
GitHub: https://github.com/SebLague/Fluid-Sim

Check out my other fluid simulation videos:
   • Fluid Simulations  

Credits and References:
Screen Space Fluid Rendering: https://developer.download.nvidia.com...
Foam, Spray and Bubbles: https://cg.informatik.uni-freiburg.de...
Reflections and Refractions: https://graphics.stanford.edu/courses...
Music: https://raw.githubusercontent.com/Seb...

Chapters:
0:00 Intro
0:27 Marching Cubes
05:58 Raymarching
10:40 Refract, Reflect, Fresnel
13:35 More Raymarching
18:28 A Simple Environment
20:40 Testing the Raymarched Fluid
25:03 Screen Space Technique: Depth Map
28:35 Simple Smoothing
33:42 Surface Smoothing
36:44 Rendering the Fluid
42:02 Spray, Foam, and Bubbles
55:12 Testing the Screen Space Fluid
57:22 Outro


On this page of the site you can watch the video online Coding Adventure: Rendering Fluids with a duration of hours minute second in good quality, which was uploaded by the user Sebastian Lague 06 December 2024, share the link with friends and acquaintances, this video has already been watched 904,664 times on youtube and it was liked by 44 thousand viewers. Enjoy your viewing!