Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ObiCloth performance issue
#6
(19-10-2017, 09:44 AM)stevenwan Wrote: I saw 406 particles used in solver.

I used 1 solver for each character (since I have 4 characters in the scene), am I right?

This is the project link.
https://drive.google.com/file/d/0B75oBQY...sp=sharing

Thank you!

Hi, 

Each solver has 3000 particles pooled. This means you're allocating 12000 particles, even though only 1500 are being simulated. This is a waste of 87.5% of your memory resources, and some of your processing power too. Try to reduce the size of the pool in each solver to about 500. This will improve performance since particle arrays will be packed tighter and improve cache accesses.

Also, your cloth mesh is thick and double-sided. Done the way you're doing it, this consumes extra performance due to the extra amount of particles and constraints and will also result in simulation artifacts, since the cloth will actually be simulated as a "bag". The space between both sides of the cloth is empty, so nothing will prevent the inner side from passing trough the outer side. It's a lose-lose situation: bad performance, bad results.

Simulated cloth should always be one-sided, if you want to simulate thick cloth then use proxies. Check out the trenchcoat sample scene, and see:
http://obi.virtualmethodstudio.com/tutor...oxies.html

cheers,
Reply


Messages In This Thread
ObiCloth performance issue - by stevenwan - 18-10-2017, 10:53 AM
RE: ObiCloth performance issue - by josemendez - 18-10-2017, 12:40 PM
RE: ObiCloth performance issue - by stevenwan - 18-10-2017, 04:15 PM
RE: ObiCloth performance issue - by josemendez - 19-10-2017, 08:07 AM
RE: ObiCloth performance issue - by stevenwan - 19-10-2017, 09:44 AM
RE: ObiCloth performance issue - by josemendez - 19-10-2017, 10:18 AM
RE: ObiCloth performance issue - by stevenwan - 19-10-2017, 10:53 AM
RE: ObiCloth performance issue - by josemendez - 19-10-2017, 11:07 AM
RE: ObiCloth performance issue - by MrBeam - 19-10-2017, 01:49 PM
RE: ObiCloth performance issue - by josemendez - 19-10-2017, 02:20 PM
RE: ObiCloth performance issue - by MrBeam - 19-10-2017, 02:34 PM