is bullet the right tool for ...

ahpook
Posts: 1
Joined: Wed Feb 18, 2009 8:36 pm

is bullet the right tool for ...

Post by ahpook »

Hello,

sorry in advance if the question is silly.
I need to perform raycasts from the camera to selected objects on the scene to know if they are occluded by other objects, and performance is very important.

Is bullet the right tool for that or am I shooting with a too big gun?

If it's the right tool, could you point me to some demo / tutorials or api methods?

Thanks and all the best
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: is bullet the right tool for ...

Post by Erwin Coumans »

Yes. the btDbvtBroadphase provides fast view frustum culling and occlusion culling.

You can check Bullet/Extras/CdTestFramework and play with the settings.

Hope this helps,
Erwin