Suggestions

Post and discuss features you'd like to see in the BEPUphysics library.
Post Reply
jbosch
Posts: 43
Joined: Sat May 29, 2010 4:42 pm
Contact:

Suggestions

Post by jbosch » Fri Jun 04, 2010 7:09 am

Hi,

I don't know if the engine does it, but it would be great those things:

- Frustum culling (render only objects in the frustum of the camera)
- Oclusion culling (render only objects visible by the camera -not objects behind walls that player can't actually see-)

Thanks
Jesús Bosch
XNA BLOG: http://geeks.ms/blogs/jbosch

Norbo
Site Admin
Posts: 4558
Joined: Tue Jul 04, 2006 4:45 am

Re: Suggestions

Post by Norbo » Fri Jun 04, 2010 6:11 pm

I won't be implementing render culling into the BEPUphysics debug drawer, if that's what you mean; it's not intended to be a complete graphics solution.

If you mean some query support for determining the visible object set based on the collision shapes and their bounding boxes, then that's possible now using some of the broadphase query methods combined with clever raytracing. It would take some care to use though, since querying the broadphase for an entire frustum can be expensive. Future versions may include extra auxiliary systems that let you manage your own acceleration structures which would help with constructing and accelerating arbitrary scenes that aren't necessarily a part of the physics.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest