allow batch creation of objects through PyBullet.createMultiBody, see createMultiBodyBatch.py example.
expose minGraphicsUpdateTimeMs through PyBullet.connect(p.GUI, options="minGraphicsUpdateTimeMs=32000"), by default OpenGL rendering runs at 4000microseconds intervals. allow a maximum of 128k objects fix meshScale for PyBullet.createCollisionShape for custom mesh expose Pybullet.setPhysicsEngineParameter(minimumSolverIslandSize=...), larger minimum batches group solver constraints together in the same island, to reduce calling overhead (even if they are not related)
This commit is contained in:
@@ -217,6 +217,11 @@ void ExampleBrowserThreadFunc(void* userPtr, void* lsMemory)
|
||||
ExampleBrowserArgs* args = (ExampleBrowserArgs*)userPtr;
|
||||
//int workLeft = true;
|
||||
b3CommandLineArgs args2(args->m_argc, args->m_argv);
|
||||
int minUpdateMs = 4000;
|
||||
if (args2.GetCmdLineArgument("minGraphicsUpdateTimeMs", minUpdateMs))
|
||||
{
|
||||
gMinUpdateTimeMicroSecs = minUpdateMs;
|
||||
}
|
||||
b3Clock clock;
|
||||
|
||||
ExampleEntriesPhysicsServer examples;
|
||||
|
||||
Reference in New Issue
Block a user