Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Big (IMO) dip in fps
#12
(20-06-2021, 05:40 PM)alex798 Wrote: I oriertiered on counter because didn't know about this issue, Yes with profiler on, and turbo I get results similar to Your mac(still weired), but the matn problem is still dip- because my target platworm is Vive Focus(VR), and it's frame in our main scene is about 60-70, and if each small ropeĀ eat 10-20- this is too much for our project(maybe disabling vsync could better situation?)...

Never use fps to measure relative performance, use ms/frame. Fps aren't linear, ms/frame are. A 20 fps drop from 90 to 70 is a much smaller performance hit than it is from 40 to 20, for instance.

The solver in that scene uses 20 distance iterations, 10 pin iterations, etc. which are quite a lot. With these settings, simulation takes 0.8 ms/frame (which should take 90 fps down to around 82 fps).

Performance depends on many factors, not just how large the rope is or how many there are in the scene. Solver settings, rendering settings, timestep settings...all have a big impact. Try setting all iterations to 1, then use 2-3 substeps, that should give you 0.5 ms/frame. Also, rendering has a large impact on performance. Using simpler rendering (line rendering, instead of extruded mesh rendering) will take timings down further.

All these are settings/tradeoffs are detailed in the manual:
http://obi.virtualmethodstudio.com/manual/6.2/

Another tip: be mindful of death spiraling. Once you're above a certain ms/frame threshold for physics, performance will go downhill extremely fast unless you reduce your max fixed timestep. This applies to all physics in any engine that uses fixed timestepping, such as Unity.
Reply


Messages In This Thread
Big (IMO) dip in fps - by alex798 - 20-06-2021, 12:14 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 03:33 PM
RE: Big (IMO) dip in fps - by alex798 - 20-06-2021, 04:30 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 04:35 PM
RE: Big (IMO) dip in fps - by alex798 - 20-06-2021, 04:39 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 04:42 PM
RE: Big (IMO) dip in fps - by alex798 - 20-06-2021, 04:52 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 04:59 PM
RE: Big (IMO) dip in fps - by alex798 - 20-06-2021, 05:12 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 05:33 PM
RE: Big (IMO) dip in fps - by alex798 - 20-06-2021, 05:40 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 05:49 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 06:19 PM
RE: Big (IMO) dip in fps - by alex798 - 20-06-2021, 06:44 PM
RE: Big (IMO) dip in fps - by josemendez - 20-06-2021, 06:51 PM
RE: Big (IMO) dip in fps - by alex798 - 21-06-2021, 08:31 AM
RE: Big (IMO) dip in fps - by josemendez - 21-06-2021, 08:45 AM
RE: Big (IMO) dip in fps - by alex798 - 21-06-2021, 09:07 AM
RE: Big (IMO) dip in fps - by josemendez - 21-06-2021, 09:28 AM