Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Fluid Simulation for Computer GraphicsRobert Bridson

    Fluid Simulation for Computer Graphics

    Robert Bridson · 2015

    A practical introduction, the second edition of Fluid Simulation for Computer Graphics shows you how to animate fully three-dimensional incompressible flow. It covers all the aspects of fluid simulation, from the mathematics and algorithms to implementation, while making revisions and updates to reflect changes in the field since the first edition. Highlights of the Second Edition New chapters on level sets and vortex methods Emphasizes hybrid particle-voxel methods, now the industry standard approach Covers the latest algorithms and techniques, including: fluid surface reconstruction from particles; accurate, viscous free surfaces for buckling, coiling, and rotating liquids; and enhanced turbulence for smoke animation Adds new discussions on meshing, particles, and vortex methods The book changes the order of topics as they appeared in the first edition to make more sense when reading the first time through. It also contains several updates by distilling author Robert Bridson's experience in the visual effects industry to highlight the most important points in fluid simulation. It gives you an understanding of how the components of fluid simulation work as well as the tools for creating your own animations.

    ProgrammingComputer Science
    Open LibraryAmazon
    Stats for nerds
    5recommend
    10mentions
    6people
    2016–2026years
    80% recommend20% neutral

    Mentions per year

    201620182020202220242026

    What Hacker News says

    1. StevvoMay 2026
      For anyone wanting to dive further, Fluid Simulation for Computer Graphics by Robert Bridson is the definitive textbook.
      thread
    2. pmatDec 2022
      Fluid Simulation for Computer Graphics by Robert Bridson [0] is one of my favorites. It’s a very approachable introduction to fluid mechanics pdes, and how to code wonderful fluid simulations like this HN favorite [1].

      [0]: https://www.cs.ubc.ca/~rbridson/fluidsimulation/

      [1]: https://paveldogreat.github.io/WebGL-Fluid-Simulation/

      thread
    3. JabavuAdamsJan 2022
      Bridson also wrote a book - Fluid Simulation for Computer Graphics

      https://www.routledge.com/Fluid-Simulation-for-Computer-Grap...

      The first edition was really good on the nitty gritty implementation details.

      thread
    4. slavik81Dec 2018
      I worked through these course notes with my lab last year. As someone else commented, Bridson expanded these notes into a book, "Fluid Simulation for Computer Graphics." The first edition is basically the free PDF with fixes for things like typos (e.g. the unlabeled variable, rho, in the Conjugate Gradient algorithm).

      Robert Bridson does a great job on explaining fluid concepts, and there's a useful appendix on the basics of vector math, but it's definitely still a lot of work to build up a good understanding of the equations.

      I own the second edition of the book, released in 2015, though I haven't read too much of it, as I already went through the first in detail. However, I did notice that the second edition emphasizes some important points that were a little subtle in the first edition. That would have made implementing it easier [1].

      The other thing about the second edition is that fluid simulation has advanced since 2007. The foundations are still the same, and the pressure solve remains unchanged, but advection has been made both simpler to implement and more accurate by using a particle representation for that portion of the algorithm.

      IIRC, the 2nd edition covers FLIP, which is one of those newer techniques, though not the most current. The APIC paper[2] was also released in 2015 (with a video [3]), and it was a bit of a breakthrough. APIC is pretty much better in every way. Fortunately, Bridson's book prepares you well for reading the APIC paper (which assumes you know the standard fluid simulation techniques already).

      In short: this free material is a great introduction to fluid simulation. If you want to implement your own simulation, read the second edition of the book, then read the APIC paper.

      [1]: The greatest weakness of the notes/book IMO, was the lack of a reference implementation. I never got around to cleaning up the code after I got it working, but here's my implementation. Please forgive the mess: https://github.com/cgmb/euler

      [2]: The affine particle-in-cell method (2015) - https://disney-animation.s3.amazonaws.com/uploads/production...

      [3]: https://youtu.be/rPPW_1M8nRA

      thread
    5. slavik81Sep 2018
      "Fluid Simulation for Computer Graphics" by Robert Bridson would be my suggestion for getting started with grid-based methods. The SIGGRAPH course notes on his website are very similar to the 1st edition. [1] It's no longer the state of the art (which is probably APIC), but the new methods are all based on the same fundamentals.

      Particle-based methods like Smoothed Particle Hydrodynamics (SPH) are simpler to implement and are more intuitive than grid-based methods, but they're also harder to analyze mathematically. SPH is the method used by PixelJunk Shooter. "Fluid Simulation for Video Games" by Michael Gourlay is mostly about a different fluid technique (vortons), but does include SPH. [2]

      [1]: https://www.cs.ubc.ca/~rbridson/fluidsimulation/

      [2]: https://software.intel.com/en-us/articles/fluid-simulation-f...

      thread
    6. slavik81May 2018
      I built it to be a reference implementation for "Fluid Simulation for Computer Graphics" (1st Ed.) by Robert Bridson. The book is a cleaned up version of his free course notes. If I had the time, I'd clean up the code a little because the book already has a great explanation of how it works.

      https://github.com/cgmb/euler

      thread

    Related

    Cover of Real-time rendering
    2008–2026

    Real-time rendering

    Tomas Möller
    34 recommend · 54
    Cover of Physically Based Rendering
    2010–2026

    Physically Based Rendering

    Matt Pharr
    92 recommend · 157
    Ray Tracing in One WeekendPeter Shirley
    2016–2026

    Ray Tracing in One Weekend

    Peter Shirley
    48 recommend · 84
    Cover of Computer graphics
    2010–2023

    Computer graphics

    John F. Hughes
    11 recommend · 14
    Cover of Computational fluid dynamics
    2019–2022

    Computational fluid dynamics

    John F. Wendt
    1 recommend · 2
    Cover of Computer simulation of liquids
    2012–2025

    Computer simulation of liquids

    M. P. Allen
    2 recommend · 2
    Cover of Computer Graphics from Scratch
    2018–2026

    Computer Graphics from Scratch

    Gabriel Gambetta
    recommend · 27
    12
    Cover of Fundamentals of Computer Graphics
    2010–2023

    Fundamentals of Computer Graphics

    Peter Shirley
    5 recommend · 6