Replies: 2 comments
-
Posted a bounty https://www.bountysource.com/issues/96668355-heighfield-collision-performance |
Beta Was this translation helpful? Give feedback.
0 replies
-
After #2062, in areas where heightfield collision is still slow, perf report looks like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In openmw,
btHeightfieldTerrainShape::processAllTriangle
s is 15% of the total frame timeI've noticed the following TODO in the code that points to the possibility of optimizing this:
bullet3/src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp
Line 336 in abea1a8
Heightfield accelerator data structure (
m_vboundsGrid
) was introduced in #2062There are a few other TODOs in the file that also indicate missing optimizations.
Update: No longer a bottleneck even without the accelerator thanks to #3287. Leaving open for now in case someone wants to do address the TODOs and claim the bounty.
/cc @Zylann @psi29a
Beta Was this translation helpful? Give feedback.
All reactions