Real-time Eulerian fluid simulation on a Macbook Air, using GPU shaders

Поділитися
Вставка
  • Опубліковано 25 гру 2023
  • In order to implement fluid simulation we need to implement conservation of mass, incompressibility, and conservation of momentum. How to do this, using Eulerian cell representation, on GPU shaders?
  • Наука та технологія

КОМЕНТАРІ • 34

  • @samaltschul4605
    @samaltschul4605 5 місяців тому +15

    Hugh, the standard first book on PDE is Walter Strauss's book. If you want to try questions on me I'm happy to help out.

  • @santiagobirkenstock
    @santiagobirkenstock 7 днів тому +7

    I wish the very best on UA-cam, I am so glad I discovered your channel. Keep up the good work !

  • @Cmanorange
    @Cmanorange 3 місяці тому +6

    very good video. i'm glad you showed or mentioned what approaches didn't work

  • @justinsciullo3342
    @justinsciullo3342 5 днів тому +4

    This is so cool, and you did a great job with the video editing! I hope you make more videos like this!

    • @rlhugh
      @rlhugh  5 днів тому +2

      Thank you! That's very kind to say. Very much appreciated :)

  • @benjaminlehmann
    @benjaminlehmann 2 дні тому +1

    I loved this video! Really inspiring, and I'm sort of amazed that this was running on a macbook air too - great job :D Thanks so much for sharing.

    • @rlhugh
      @rlhugh  2 дні тому

      Thank you very much!

  • @hyperFixationStudios
    @hyperFixationStudios 4 місяці тому +3

    Great work, I can't wait to see your next simulations!

  • @PAPERSCHOOL
    @PAPERSCHOOL 4 місяці тому +4

    Really well produced, nice work

  • @tommycard4569
    @tommycard4569 2 дні тому +1

    educational and entertaining! loved it, thank you

  • @HitAndMissLab
    @HitAndMissLab 5 днів тому +1

    Thanks for the beautiful video.

  • @Theo-iz5cj
    @Theo-iz5cj 4 місяці тому +1

    Great and inspiring video, thanks a lot!

  • @saadahmed688
    @saadahmed688 5 місяців тому +2

    Subbing cause I wanna see you simulate the inside of Earth. Great content

  • @CalcWithDec
    @CalcWithDec 8 днів тому +1

    Beautiful!

  • @tahmidchoudhury8946
    @tahmidchoudhury8946 5 місяців тому +2

    Got recommended.....now in love

  • @Kyler1Ace
    @Kyler1Ace 3 місяці тому +1

    Great video

  • @Tordek
    @Tordek 4 дні тому

    regarding the parallel part: would it be feasible to work the opposite way? Instead of writing to 4 cells, each cell would instead read from 4 neighbors and update itself.

  • @josiahjoel7580
    @josiahjoel7580 17 днів тому

    this is so cool, is it possible to upload the source code to a public repo?

  • @drpwnage23
    @drpwnage23 3 місяці тому +1

    This is really cool. Do you have a github repo available for this?

    • @rlhugh
      @rlhugh  3 місяці тому +3

      I probably should do that yeah...

  • @redstoneready697
    @redstoneready697 16 днів тому

    do you think this could be used for electromagetics?

    • @rlhugh
      @rlhugh  16 днів тому

      Interesting question!

    • @YaofuZhou
      @YaofuZhou 12 днів тому +3

      Depending on what you want. I guess you want to iteratively compute the EM fields?

  • @kwccoin3115
    @kwccoin3115 3 дні тому

    How do you run these shader ? Can it use under sdl2?

    • @rlhugh
      @rlhugh  3 дні тому

      These are running in Unity, using HLSL.

  • @tomd6410
    @tomd6410 6 днів тому +2

    Love this but if that’s how you say Euler I’ve been saying it wrong all this time 💀💀

    • @rlhugh
      @rlhugh  6 днів тому

      I did research the pronunciation. There are a couple of ways. Before I researched the pronunciation, I was saying "you lurr Ian". But "oiler Ian" appeared to be more common, as far as I could see? How are you thinking if should be pronounced?

    • @tomd6410
      @tomd6410 6 днів тому

      @@rlhugh I’ve been saying youll-lah 😅

    • @rlhugh
      @rlhugh  6 днів тому +1

      @@tomd6410 actuuaaalllyyy seems that it might depend on us vs UK pronunciation, eg see youglish.com/pronounce/eulerian/english/uk

    • @unepintade
      @unepintade 3 дні тому +1

      ​@@tomd6410i feel like "name"-ian in English are pronounced very differently from how you pronounce the name so while Euler is pronounced weirdly, eulerian is pronounced how you would expect, like Laplace and Laplacian

  • @Leviathan_22
    @Leviathan_22 24 дні тому +2

    "shaders are fun" consider me an opp