Obi Official Forum
Obi Cloth with dense mesh - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Obi Cloth with dense mesh (/thread-43.html)



Obi Cloth with dense mesh - matchalover - 13-07-2017

My GameObject has a big mesh (about 20000 vertices). There wiil be a lot of particles if i use ObiCloth. Are there any possible way to avoid lag when simulating? I use Obi Cloth latest version with Unity. Please help me !!!


RE: Obi Cloth with big mesh - josemendez - 14-07-2017

(13-07-2017, 09:16 AM)matchalover Wrote: My GameObject has a big mesh (about 20000 vertices). There wiil be a lot of particles if i use ObiCloth. Are there any possible way to avoid lag when simulating? I use Obi Cloth latest version with Unity. Please help me !!!

Hi matchalover,

Obi (or any realtime cloth simulator, for that matter) is just not designed to work with such huge simulation meshes. Although you can get away with decent performance in some cases, it requires some well-directed parameter tweaking: amount of iterations in your solver, use of tether constraints, etc.

Also, it depends on how powerful your target device is, of course.

You might get better performance by using proxies. They allow you to use a lower-resolution mesh for the simulation, and transfer its movement to a denser mesh. Note that while the simulation itself will be much faster, transferring motion from one mesh to another is not free in terms of performance. See:
http://obi.virtualmethodstudio.com/tutorials/clothproxies.html


RE: Obi Cloth with big mesh - matchalover - 16-07-2017

Thanks for your help !