cubes to the max

Please don't post Bullet support questions here, use the above forums instead.
Post Reply
Micha
Posts: 2
Joined: Tue Jul 28, 2009 11:46 am

cubes to the max

Post by Micha »

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! :)
fishboy82
Posts: 91
Joined: Wed Jun 10, 2009 4:01 am

Re: cubes to the max

Post by fishboy82 »

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
Post Reply