Skip to content

Commit

Permalink
Bump up pybullet version to 3.26
Browse files Browse the repository at this point in the history
expose max_num_object_capacity and max_shape_capacity_in_bytes to override the graphics VBO buffer allocations. This allows to load larger triangle meshes in pybullet.

Example:
p.connect(p.GUI, options="--max_num_object_capacity=131072 --max_shape_capacity_in_bytes=1073741824")

Use MAX_NUM_PARTS_IN_BITS=4 by default, this allows to use 134 million triangles in each concave triangle mesh in PyBullet (instead of 2 Million)
  • Loading branch information
erwincoumans committed Nov 28, 2023
1 parent fcef2c8 commit 6bb8d11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.25
3.26
2 changes: 1 addition & 1 deletion src/LinearMath/btScalar.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ subject to the following restrictions:
#include <float.h>

/* SVN $Revision$ on $Date$ from http://bullet.googlecode.com*/
#define BT_BULLET_VERSION 325
#define BT_BULLET_VERSION 326

inline int btGetVersion()
{
Expand Down
2 changes: 1 addition & 1 deletion src/LinearMath/btSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ class btDefaultSerializer : public btSerializer

buffer[9] = '3';
buffer[10] = '2';
buffer[11] = '5';
buffer[11] = '6';
}

virtual void startSerialization()
Expand Down

1 comment on commit 6bb8d11

@svenstaro
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please tag a proper release for this.

Please sign in to comment.