Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

358,962 görüntüleme • 1 ay önce •via X (Twitter)

58 Yorum

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

Here's high viscosity goop liquid

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

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

kiby3x profil fotoğrafı
kiby3x1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

dont worry about that 🫡

Low3 profil fotoğrafı
Low31 ay önce

Please dont add white color, i beg you

Low3 profil fotoğrafı
Low31 ay önce

You did, didn't you

POBrevive profil fotoğrafı
POBrevive1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

tutorial? not really, more like papers:

Joseph Adams profil fotoğrafı
Joseph Adams1 ay önce

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

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

yes

Vladimir Cazacu | 𝕧𝕠𝕝𝕠𝕕▿ profil fotoğrafı
Vladimir Cazacu | 𝕧𝕠𝕝𝕠𝕕▿1 ay önce

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

RasputinKaiser profil fotoğrafı
RasputinKaiser1 ay önce

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

Coach Dorn || Oyaji Club profil fotoğrafı
Coach Dorn || Oyaji Club1 ay önce

VRC Splatoon and DrainSim. Good potential here.

Noosphere profil fotoğrafı
Noosphere1 ay önce

Portal 2 map incoming xD

Adam Kadmani profil fotoğrafı
Adam Kadmani1 ay önce

This is the future

EmberBeard 🏳️‍🌈🇬🇧 NFC, CFZ, EF profil fotoğrafı
EmberBeard 🏳️‍🌈🇬🇧 NFC, CFZ, EF1 ay önce

@GuusDeKroonVR - we need to check this out sometime 😁

ً profil fotoğrafı
ً1 ay önce

watch this be used for you know what

Kuwazy profil fotoğrafı
Kuwazy1 ay önce

The bandwidth required to display this for all players must be enormous.

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

Not really, sim is run locally. As long as the inputs and interaction matches it looks similar enough for people to be fooled that its synced

Aki 🔞 profil fotoğrafı
Aki 🔞1 ay önce

Wonder if it'd be possible to use this to do something like SpaceSim in VRChat (Example of SpaceSim: 1M Solar mass black hole eating Mercury)

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

Unfortunately it is possible, and I've been considering something like that. But I would need on top of sorting to build a sparse octree for Barns-Hut, or multipole method, that would be tricky. Much harder simulation wise than sparse hash fluid

Aki 🔞 profil fotoğrafı
Aki 🔞1 ay önce

Don't know about you, but I'm one of those people who love pushing a platform not made for physics deep into physics Same with mechanical engineering stuff, just seeing things move and be interactive So difficult yes, cool also yes.

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

external gravity is easy with this simulation, its just self gravity which is ass to work with due to nonlocality

Aki 🔞 profil fotoğrafı
Aki 🔞1 ay önce

Ah, got it. So basically VRChat is being VRChat like always, a pain in the ass to do anything cool in without having to get around a mess

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

honestly? this would be hard even outside of vrchat 😅

Aki 🔞 profil fotoğrafı
Aki 🔞1 ay önce

Yeah... I'll come back and reread after I get sleep so I'm not on 2% battery mode and actually comprehend things Until then imma go read up on some more whatever I was doing... I forgot

Tilur A Kit profil fotoğrafı
Tilur A Kit1 ay önce

That's really cool!

daddy konta profil fotoğrafı
daddy konta1 ay önce

world?

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

work in progress, release later

LowPolyNicky profil fotoğrafı
LowPolyNicky1 ay önce

Add white color PLEASEEE i uhhh need it for scientific research

Kohei / Konoha / Saya profil fotoğrafı
Kohei / Konoha / Saya1 ay önce

これはまだVRChatで公開されていませんか?ワールドを知りたいです

CCHICKEN profil fotoğrafı
CCHICKEN1 ay önce

@SadlyItsBradley Can it run on potato pc ?

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

@SadlyItsBradley potentially with a small amount of liquid

CCHICKEN profil fotoğrafı
CCHICKEN1 ay önce

@SadlyItsBradley Never really tried VRchat. you made me want to play it !

DollyDread 👻🍒50s Diner Ghost profil fotoğrafı
DollyDread 👻🍒50s Diner Ghost1 ay önce

I wanna play in the virtual water so bad ngl

Wish Dragon profil fotoğrafı
Wish Dragon1 ay önce

What the fuck

Cool Bandit profil fotoğrafı
Cool Bandit1 ay önce

Really strong technical work, respect.

adyingdeath profil fotoğrafı
adyingdeath1 ay önce

Fiuld simulation in such a performance limited world is really an incredible work. Next step should be adding Cola fiuld into the world.

Dom profil fotoğrafı
Dom1 ay önce

This will 100% eventually be used for VR furry sex cum physics

Decima #ResignTimSweeney profil fotoğrafı
Decima #ResignTimSweeney1 ay önce

Great. Another thing that could crash my game.

Treebeast||Dishdog🇵🇸 profil fotoğrafı
Treebeast||Dishdog🇵🇸1 ay önce

millions of gallons...

Mogmek profil fotoğrafı
Mogmek1 ay önce

That's waaay too cool. I seem to have very similar things under the hood, but the visualization and constants make yours look so much better

Look O' Me profil fotoğrafı
Look O' Me1 ay önce

Yaaay, gooop :3333

jake downs profil fotoğrafı
jake downs1 ay önce

@SadlyItsBradley this is awesome! 👏

Freddy profil fotoğrafı
Freddy1 ay önce

I also implement hash, how funny

Leo Dutra profil fotoğrafı
Leo Dutra1 ay önce

I know what you VRChat guys are targeting with fluids. So keep up the good work.

Δx ⋅ Δp ≥ ℏ / 2 profil fotoğrafı
Δx ⋅ Δp ≥ ℏ / 21 ay önce

You are having too much fun over there.

N profil fotoğrafı
N1 ay önce

How do you replicate data of 1 million particles, or it's not a concern?

NeubertIM 📯 profil fotoğrafı
NeubertIM 📯1 ay önce

Woah this is impressive. Even with "only" the Mentos. I dont know how VRChat works since i rather play DCV or Valheim in VR but where is the Workload of this sim? Is this Standalone VR or are there Servers from VRChat which handles the calculations? impressive video 🤩👍

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

its locally simulated, not synced. it looks similar for players, but not the "same"

NeubertIM 📯 profil fotoğrafı
NeubertIM 📯1 ay önce

Ah. So it is PCVR and every Chatter has its own simulation result. Still impressive. Nice work

Mykhailo Moroz profil fotoğrafı
Mykhailo Moroz1 ay önce

If this was a separate game it could potentially be synced, but youd likely need * Deterministic simulation, probably on CPU * Lockstep handling on all players * Exact matching of simulation inputs between players

Benzer Videolar