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

Sdílet
Vložit
  • čas přidán 25. 12. 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?
  • Věda a technologie

Komentáře • 34

  • @samaltschul4605
    @samaltschul4605 Před 5 měsíci +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 Před 7 dny +7

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

  • @Cmanorange
    @Cmanorange Před 3 měsíci +6

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

  • @justinsciullo3342
    @justinsciullo3342 Před 5 dny +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  Před 5 dny +2

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

  • @benjaminlehmann
    @benjaminlehmann Před 2 dny +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  Před 2 dny

      Thank you very much!

  • @hyperFixationStudios
    @hyperFixationStudios Před 4 měsíci +3

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

  • @PAPERSCHOOL
    @PAPERSCHOOL Před 4 měsíci +4

    Really well produced, nice work

  • @tommycard4569
    @tommycard4569 Před 2 dny +1

    educational and entertaining! loved it, thank you

  • @HitAndMissLab
    @HitAndMissLab Před 5 dny +1

    Thanks for the beautiful video.

  • @Theo-iz5cj
    @Theo-iz5cj Před 4 měsíci +1

    Great and inspiring video, thanks a lot!

  • @saadahmed688
    @saadahmed688 Před 5 měsíci +2

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

  • @CalcWithDec
    @CalcWithDec Před 9 dny +1

    Beautiful!

  • @tahmidchoudhury8946
    @tahmidchoudhury8946 Před 5 měsíci +2

    Got recommended.....now in love

  • @Kyler1Ace
    @Kyler1Ace Před 3 měsíci +1

    Great video

  • @Tordek
    @Tordek Před 4 dny

    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 Před 17 dny

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

  • @drpwnage23
    @drpwnage23 Před 3 měsíci +1

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

    • @rlhugh
      @rlhugh  Před 3 měsíci +3

      I probably should do that yeah...

  • @redstoneready697
    @redstoneready697 Před 16 dny

    do you think this could be used for electromagetics?

    • @rlhugh
      @rlhugh  Před 16 dny

      Interesting question!

    • @YaofuZhou
      @YaofuZhou Před 12 dny +3

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

  • @kwccoin3115
    @kwccoin3115 Před 4 dny

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

    • @rlhugh
      @rlhugh  Před 4 dny

      These are running in Unity, using HLSL.

  • @tomd6410
    @tomd6410 Před 6 dny +2

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

    • @rlhugh
      @rlhugh  Před 6 dny

      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 Před 6 dny

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

    • @rlhugh
      @rlhugh  Před 6 dny +1

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

    • @unepintade
      @unepintade Před 3 dny +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 Před 24 dny +2

    "shaders are fun" consider me an opp