You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO If m_vboundsGrid is available, use it to determine if we really need to process this area
Heightfield accelerator data structure (m_vboundsGrid) was introduced in #2062
There 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.
This enables accelleration of heightfield collisions.
Unfortunately, `btHeightfieldTerrainShape::processAllTriangle` does not
yet use the accellerator data, so this change does not improve
performance yet but might do so in future bullet versions.
References:
* Accellerator introduced in:
bulletphysics/bullet3#2062
* Feature request to use the accellerator in `processAllTriangle`:
bulletphysics/bullet3#3276
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
The text was updated successfully, but these errors were encountered: