Search code examples
unity-game-engine3dwebglgame-physicsunreal-engine4

Simulating 3D clothing on human model on the web


so lately I've been trying to find the best solution to do that, basically what I'm trying to achieve is this: enter image description here

video: https://www.youtube.com/watch?v=kCGHXlLR3l8&feature=youtu.be&t=1057

or this: https://www.youtube.com/watch?v=lgMuGRCnqXw (they looks great but doesn't seem to work on web)

So I would like to achieve such a result but on the Web.

I tried to search the web for a whole week, the best thing I could find was these 2 links and this one: https://www.youtube.com/watch?v=X5acomKAux4 which I'm not sure that works as good as the 2 others.

I also tried to contact Jim Hugunin which is responsible for the insane result in the picture but unfortunately, the guy seems to be absent since January 2018 :\

Have anyone ever experienced doing such a simulation? Do you believe WebGL is capable of rendering such a thing? Would be very thankful for anyone who could shine some light :)


Solution

  • Have anyone ever experienced doing such a simulation?

    Yes, there are quite a few on the Unity asset store, but non support webgl yet. If you kindly send them info on webgl / multithreading information, they might consider.

    Do you believe WebGL is capable of rendering such a thing? Would be very thankful for anyone who could shine some light :)

    It's possible, but only on a few browsers: https://caniuse.com/#feat=sharedarraybuffer, someone could probably implement it. It needs WASM multithreading, which is currently available in 2019.1+ experimentally - see this: https://forum.unity.com/threads/2019-1.597238/