Increase the number of faces using CreateEllipsoid

Post Reply
yang
Posts: 11
Joined: Thu Oct 30, 2014 2:40 pm

Increase the number of faces using CreateEllipsoid

Post by yang »

Hi,there.
I am now using CreateEllipsoid to create a softbody and I want to increase the number of the faces of the softbody.
Here is the function:
static btSoftBody* CreateEllipsoid(btSoftBodyWorldInfo& worldInfo,
const btVector3& center,
const btVector3& radius,
int res);
I thought if I let the res be a greater number, the number of the faces would also increase.But it didn't.
It seems that the limit is 2308(faces) even I set the res to be 10000.
So can anyone tell me how can I increase the number of the faces.
Post Reply