16-05-2023, 08:34 AM
(15-05-2023, 11:43 AM)OurObiForumUser Wrote: Hello.
I tried to reproduce the "Benchmark" scene programmatically with my own 32 procedurally generated patches of cloth (no wind though). Everything worked fine! The blueprints, the connections with solvers, updaters, and so on. However, I observed differences in displayed FPS values: My scene always runs at 75% FPS relative to the benchmark scene. Since both are opened in the same project I don't suspect Unity's time/fixed time-settings, or similar things, to interfere here.
I also checked:
- updater cycles
- enabled constraints in solver
I even have no environment geometry, no textures and no wind, as mentioned.
Has anyone an idea what the reason for lower FPS could be in this case?
Thank you.
Hi,
I'd suggest to compare the profiler output for both scenes, as that will give you an idea of where the difference lies.
This is just a guess, but could it be the cloth renderer settings, specifically the tangent space update mode? The benchmark scene uses "Recalculate Normals From Mesh", which is quite cheap compared to the default "Transform Normals and Tangents". See: http://obi.virtualmethodstudio.com/manua...modes.html
kind regards,