Gezinmeyi atla
So I've implemented hash grid based fluid simulation in VRChat - its absolutely incredible.
0:00 / 1:09

So I've implemented hash grid based fluid simulation in VRChat - its absolutely incredible.

Mykhailo Moroz

@Michael_Moroz_13 B takipçi

X profili
4.984 beğeniİndirOrijinal gönderi

359.926 görüntüleme

So I've implemented hash grid based fluid simulation in VRChat - its absolutely incredible. Because its hash based its literally boundless, so fluid can occupy the entire world. Currently I only have the "Mentos" particle rendering, but I plan on trying to make isosurface work

58 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    Its absolutely mental when you set gravity to low, fluid literally flyes everywhere

    143 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    I have put 1M particles as limit in the world for now, which can fill a decently large space

    99 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    I've also added a bunch of "manipulator" objects, like this attractor sphere, you can make globes of fluid

    82 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    Here's high viscosity goop liquid

    143 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    Inverting gravity direction is also quite insane when you dont have bounds

    80 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    I've also been improving the isosurface ray tracer, make it a bit more PBR based, also basic screen space effects. Its currently only functional in bounded simulation mode. Making it work in hash sparse boundless would be the next problem. Not sure if even feasible with good perf

    101 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    Regarding the technical side, I think hash based particle simulation is much better than sparse tree grid based one, sparse tree's require indirections to get neighbor, while with hash grids the only drawback is hash collisions, but the bottleneck is latency so its much better

    34 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    Making a hash based grid however is tricky, I think I'm going to try making a "N-slot texture" where each sparse cell can hold up to N voxels, it should hopefully work most of the time if the "hash" has few collisions. But yeah making it ray trace fast is tricky

    26 beğeni

  • kiby3x profil fotoğrafı

    @Kiby3Xbs9h

    Soo what exactly do you expect vrchat players to do with a fluid sim...

    40 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    dont worry about that 🫡

    59 beğeni

  • Low3 profil fotoğrafı

    @MrLow3

    Please dont add white color, i beg you

    33 beğeni

  • Low3 profil fotoğrafı

    @MrLow3

    You did, didn't you

  • POBrevive profil fotoğrafı

    @POBrevive5d

    How did he made the water physics work I mean is there a tutorial for it

    13 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    tutorial? not really, more like papers:

    62 beğeni

  • Joseph Adams profil fotoğrafı

    @TheTTTETET

    VR chat? How many request for a sticky white version you got so far?

    6 beğeni

  • Mykhailo Moroz profil fotoğrafı

    @Michael_Moroz_

    yes

    10 beğeni

  • Vladimir Cazacu | 𝕧𝕠𝕝𝕠𝕕▿ profil fotoğrafı

    @volodXYZ

    Will you be releasing this anywhere? I'd love to learn from your work.

    3 beğeni

  • RasputinKaiser profil fotoğrafı

    @RasputinKaiser

    Hi! I've been working on a very similar thing with ThreeJS + Box3D! This is MIT

    3 beğeni

  • Coach Dorn || Oyaji Club profil fotoğrafı

    @CoachDorntastic

    VRC Splatoon and DrainSim. Good potential here.

    2 beğeni

  • Noosphere profil fotoğrafı

    @NoosphereVR

    Portal 2 map incoming xD

    2 beğeni