So I've implemented hash grid based fluid simulation in VRChat - its absolutely incredible.
@Michael_Moroz_1.3万 位关注者
359,926 次观看
58 条评论
评论来自 X (Twitter) 上的原帖

@Michael_Moroz_
Its absolutely mental when you set gravity to low, fluid literally flyes everywhere
143 个赞

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

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

@Michael_Moroz_
Here's high viscosity goop liquid
143 个赞

@Michael_Moroz_
Inverting gravity direction is also quite insane when you dont have bounds
80 个赞

@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 个赞

@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 个赞

@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 个赞

@Kiby3Xbs9h
Soo what exactly do you expect vrchat players to do with a fluid sim...
40 个赞

@Michael_Moroz_
dont worry about that 🫡
59 个赞

@MrLow3
Please dont add white color, i beg you
33 个赞

@MrLow3
You did, didn't you

@POBrevive5d
How did he made the water physics work I mean is there a tutorial for it
13 个赞

@Michael_Moroz_
tutorial? not really, more like papers:
62 个赞

@TheTTTETET
VR chat? How many request for a sticky white version you got so far?
6 个赞

@Michael_Moroz_
yes
10 个赞

@volodXYZ
Will you be releasing this anywhere? I'd love to learn from your work.
3 个赞

@RasputinKaiser
Hi! I've been working on a very similar thing with ThreeJS + Box3D! This is MIT
3 个赞

@CoachDorntastic
VRC Splatoon and DrainSim. Good potential here.
2 个赞

@NoosphereVR
Portal 2 map incoming xD
2 个赞























