Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 месяц назад •via X (Twitter)

Комментарии: 58

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

Here's high viscosity goop liquid

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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
Mykhailo Moroz1 месяц назад

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
Mykhailo Moroz1 месяц назад

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
kiby3x1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

dont worry about that 🫡

Фото профиля Low3
Low31 месяц назад

Please dont add white color, i beg you

Фото профиля Low3
Low31 месяц назад

You did, didn't you

Фото профиля POBrevive
POBrevive1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

tutorial? not really, more like papers:

Фото профиля Joseph Adams
Joseph Adams1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

yes

Фото профиля Vladimir Cazacu | 𝕧𝕠𝕝𝕠𝕕▿
Vladimir Cazacu | 𝕧𝕠𝕝𝕠𝕕▿1 месяц назад

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

Фото профиля RasputinKaiser
RasputinKaiser1 месяц назад

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

Фото профиля Coach Dorn || Oyaji Club
Coach Dorn || Oyaji Club1 месяц назад

VRC Splatoon and DrainSim. Good potential here.

Фото профиля Noosphere
Noosphere1 месяц назад

Portal 2 map incoming xD

Фото профиля Adam Kadmani
Adam Kadmani1 месяц назад

This is the future

Фото профиля EmberBeard 🏳️‍🌈🇬🇧 NFC, CFZ, EF
EmberBeard 🏳️‍🌈🇬🇧 NFC, CFZ, EF1 месяц назад

@GuusDeKroonVR - we need to check this out sometime 😁

Фото профиля ً
ً1 месяц назад

watch this be used for you know what

Фото профиля Kuwazy
Kuwazy1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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 🔞
Aki 🔞1 месяц назад

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
Mykhailo Moroz1 месяц назад

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 🔞
Aki 🔞1 месяц назад

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
Mykhailo Moroz1 месяц назад

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

Фото профиля Aki 🔞
Aki 🔞1 месяц назад

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
Mykhailo Moroz1 месяц назад

honestly? this would be hard even outside of vrchat 😅

Фото профиля Aki 🔞
Aki 🔞1 месяц назад

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
Tilur A Kit1 месяц назад

That's really cool!

Фото профиля daddy konta
daddy konta1 месяц назад

world?

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

work in progress, release later

Фото профиля LowPolyNicky
LowPolyNicky1 месяц назад

Add white color PLEASEEE i uhhh need it for scientific research

Фото профиля Kohei / Konoha / Saya
Kohei / Konoha / Saya1 месяц назад

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

Фото профиля CCHICKEN
CCHICKEN1 месяц назад

@SadlyItsBradley Can it run on potato pc ?

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

@SadlyItsBradley potentially with a small amount of liquid

Фото профиля CCHICKEN
CCHICKEN1 месяц назад

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

Фото профиля DollyDread 👻🍒50s Diner Ghost
DollyDread 👻🍒50s Diner Ghost1 месяц назад

I wanna play in the virtual water so bad ngl

Фото профиля Wish Dragon
Wish Dragon1 месяц назад

What the fuck

Фото профиля Cool Bandit
Cool Bandit1 месяц назад

Really strong technical work, respect.

Фото профиля adyingdeath
adyingdeath1 месяц назад

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

Фото профиля Dom
Dom1 месяц назад

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

Фото профиля Decima #ResignTimSweeney
Decima #ResignTimSweeney1 месяц назад

Great. Another thing that could crash my game.

Фото профиля Treebeast||Dishdog🇵🇸
Treebeast||Dishdog🇵🇸1 месяц назад

millions of gallons...

Фото профиля Mogmek
Mogmek1 месяц назад

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
Look O' Me1 месяц назад

Yaaay, gooop :3333

Фото профиля jake downs
jake downs1 месяц назад

@SadlyItsBradley this is awesome! 👏

Фото профиля Freddy
Freddy1 месяц назад

I also implement hash, how funny

Фото профиля Leo Dutra
Leo Dutra1 месяц назад

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

Фото профиля Δx ⋅ Δp ≥ ℏ / 2
Δx ⋅ Δp ≥ ℏ / 21 месяц назад

You are having too much fun over there.

Фото профиля N
N1 месяц назад

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

Фото профиля NeubertIM 📯
NeubertIM 📯1 месяц назад

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
Mykhailo Moroz1 месяц назад

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

Фото профиля NeubertIM 📯
NeubertIM 📯1 месяц назад

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

Фото профиля Mykhailo Moroz
Mykhailo Moroz1 месяц назад

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

Похожие видео