Physical Clothing simulation is FINALLY possible in a realistic manner.

Discussion in 'Console Technology' started by Cyan, Apr 17, 2017.

  1. Cyan

    Cyan orange
    Legend Veteran

    Joined:
    Apr 24, 2007
    Messages:
    8,572
    Likes Received:
    2,290
    No more clothes forever pasted to bodies.

    After watching a recent presentation from AMD I thought this was going to be the generation of the hairs, and Pantene hair. But it's not.

    Look after the 30:05 mark, to see it working in real time. :shocked::smile2:Though you can also see it working at the very beginning.



    The code is written 95% in C# , which is manageable for him and 5% in ComputeShader, very difficult GPU stuff to write according to him, even if it is 700 lines of code. But it certainly pays off.
     
    Jawed, chris1515, Nesh and 1 other person like this.
  2. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    13,225
    Likes Received:
    3,657
    I would take that kind of cloth simulation over a ton of other graphical upgrades. Would look great with even a simple stylized art style.
     
    phoenix_chipset, HBRU and Cyan like this.
  3. Karamazov

    Veteran Regular

    Joined:
    Sep 20, 2005
    Messages:
    2,368
    Likes Received:
    1,686
    Location:
    France
    Would be great in summer lesson.
     
  4. Laa-Yosh

    Laa-Yosh I can has custom title?
    Legend Subscriber

    Joined:
    Feb 12, 2002
    Messages:
    9,568
    Likes Received:
    1,452
    Location:
    Budapest, Hungary
    The big question is how this can fit within the performance constraints with the rest of the game also running on the hardware. Nevertheless, it's nice to see that we're at a point now where this stuff can run on a notebook :)
     
    Cyan likes this.
  5. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    13,225
    Likes Received:
    3,657
    Considering he's running that sim on a laptop with nvidia graphics (probably something reasonable), I think it's probably a ways off in terms of a game.
     
  6. fehu

    Veteran Regular

    Joined:
    Nov 15, 2006
    Messages:
    1,442
    Likes Received:
    381
    Location:
    Somewhere over the ocean
    Isn't a little unusual to write it in C#?
     
  7. Cyan

    Cyan orange
    Legend Veteran

    Joined:
    Apr 24, 2007
    Messages:
    8,572
    Likes Received:
    2,290
    it is surprising yes, when in fact he admits languages like C++ are faster, but for instance, PhysX implementation of clothes physics is worse, and runs worse and it is made with C++, plus it is based on Cuda so it only worked in NVidia cards and Unreal Engine, so it was pretty limited.

    Since he programmed it in C# he could port it to mobile phones, PCs, consoles... plus it's made on Unity, hence it can make sense. What surprises me the most is how well it runs in real time. Though I don't see it running on my laptop well, it doesn't require that much power.
     
  8. HBRU

    Regular Newcomer

    Joined:
    Apr 6, 2017
    Messages:
    390
    Likes Received:
    40
    Really nice. I think fp16x2 Vega feature on PS4pro will add mainly such kind of extra benefits on cloths, hairs and generally more alive and moved environment... this and a few more fps has more value than a "pure 4k@30" resolution...
     
  9. phoenix_chipset

    Regular Newcomer

    Joined:
    Aug 26, 2016
    Messages:
    546
    Likes Received:
    246
    Pretty amazing. Now if they could take care of clipping as well
     
    Cyan likes this.
  10. digitalwanderer

    digitalwanderer Dangerously Mirthful
    Legend

    Joined:
    Feb 19, 2002
    Messages:
    17,219
    Likes Received:
    1,738
    Location:
    Winfield, IN USA
    Great, now I can realistically fold clothes while gaming just like in real life. :|
     
    Cyan likes this.
  11. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    13,225
    Likes Received:
    3,657
    I smell a future Nintendo party game hit.
     
    digitalwanderer likes this.
  12. Cyan

    Cyan orange
    Legend Veteran

    Joined:
    Apr 24, 2007
    Messages:
    8,572
    Likes Received:
    2,290
    Unreal: The Laundry Conflict
     
    CSI PC and AlBran like this.
  13. CSI PC

    Veteran Newcomer

    Joined:
    Sep 2, 2015
    Messages:
    2,050
    Likes Received:
    844
    This changed in March 2017 and now can be CUDA solver or implemented as Direct3D 11 and 12.
    http://physxinfo.com/news/12808/nvidia-flex-sdk-1-1-is-available-for-download/
    Cheers
     
    Cyan likes this.
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...