### cubes to the max

Posted:

**Tue Jul 28, 2009 1:02 pm**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!

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!