Navigation überspringen
Added a small fluid sim to my engine today,
0:00 / 0:38

Added a small fluid sim to my engine today,

Bones

@bones_gamedev7295 Follower

Auf X besuchen

28.645 Aufrufe

Added a small fluid sim to my engine today, Written in C and raylib, Code mostly from

13 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Gabriel Dechichi

    @gdechichi

    really cool, thanks for sharing the article!

    4 Likes

  • Profilbild von Joseph Suarez 🐡

    @jsuarez

    Do you know how fast the sim is if you don't render? Would help calibrate for rl

    2 Likes

  • Profilbild von Bones

    @BonesaiDev

    haven't tried that, the fluid grid is only 160x90 and i'm only rendering rects when they're active

    2 Likes

  • Profilbild von Mogomra (e/acc)

    @MightyMogomra

    Hey, have you played around with doing this in 3D? I was trying to do some fluid sim work before but ran into math problems with boundary conditions and was too lazy to bone up on the differential equation approximation stuff to fix it

    2 Likes

  • Profilbild von Bones

    @BonesaiDev

    this might help, it accounts for the 3rd dimension (haven't tried it out myself),

    2 Likes

  • Profilbild von Mogomra (e/acc)

    @MightyMogomra

    Thanks man! I think I actually got that amount working, but my problem is that I wanted to drop huge blocks of rock into the fluid or remove them, and it screwed up the sim when I did that.. I need to put on my thinking cap Or maybe slip a math genius $20 to figure it out..

    1 Like

  • Profilbild von Saïd Aitmbarek

    @SaidAitmbarek

    wow based!

    1 Like

  • Profilbild von Curt Hu

    @curthux

    lovely

    1 Like

  • Profilbild von Hugo Duprez

    @HugoDuprez

    Navier-Stokes ftw

    1 Like

  • Profilbild von aeri

    @aericwl

    Beautiful

    1 Like

  • Profilbild von Arthur Mountain

    @TheArttu68_2

    so sick

    1 Like

  • Profilbild von Alan Newton | Rufe.org

    @RufeDotOrg

    Ridiculously cool!

    1 Like

  • Profilbild von @modev

    @helioscout

    Interesting. Why you move from rust and bevy, I remember you started with it?