Hi,

I'm trying to get as much collidable cubes in a single scene as my framerate permits it. A cube is the only shape-type in the scene. The cubes could group together to form larger-non-uniform cubes. (Think about Tetris)

I'm currently at 4000 cubes of the same size. I was hoping to have 10 times more cubes.

Is it feasible to have 40.000 cubes in a single scene?

Could bullet take advantage from the fact there are only cubes in the scene?

Could bullet take advantage from the fact that the smallest cube has a fixed size and larger cubes are composed of these smaller cubes?

Could I get more performance by disabling stacking?

Are there any specialized cube-cube collision libraries out here?

Any thought/comment on this is greatly appreciated!

## cubes to the max

### Re: cubes to the max

1.Is it feasible to have 40.000 cubes in a single scene?

if the cubes are distributted properly in the scene I think there will be no problem but if the cubes are all contact in large cluster.I think both the collision detection and the dynamic Solver will be time consumed

2. Could bullet take advantage from the fact there are only cubes in the scene?

I think it cann't

3.Could bullet take advantage from the fact that the smallest cube has a fixed size and larger cubes are composed of these smaller cubes?

I donn't knwo >.<

4.Could I get more performance by disabling stacking?

I donn't how to disable stack in bullet ..this seems strange because bullet itself I think donn't know whether the box are stackint now....

5.Are there any specialized cube-cube collision libraries out here?

Yes Bullet use ODE's Box-Box Detector as a special case of box-box detector

if the cubes are distributted properly in the scene I think there will be no problem but if the cubes are all contact in large cluster.I think both the collision detection and the dynamic Solver will be time consumed

2. Could bullet take advantage from the fact there are only cubes in the scene?

I think it cann't

3.Could bullet take advantage from the fact that the smallest cube has a fixed size and larger cubes are composed of these smaller cubes?

I donn't knwo >.<

4.Could I get more performance by disabling stacking?

I donn't how to disable stack in bullet ..this seems strange because bullet itself I think donn't know whether the box are stackint now....

5.Are there any specialized cube-cube collision libraries out here?

Yes Bullet use ODE's Box-Box Detector as a special case of box-box detector