Bounding volume hierarchy & frustum culling

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Spankenstein
Posts: 249
Joined: Wed Nov 17, 2010 1:49 pm

Bounding volume hierarchy & frustum culling

Post by Spankenstein »

I've got my own Octree that works well with frustum culling but I was wondering if any of this stuff was inbuilt into BEPU physics engine?

Can I access individual nodes for use with a custom camera, etc.

Thanks.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Bounding volume hierarchy & frustum culling

Post by Norbo »

The Space.BroadPhase has some query support, though it relies on the structures of the broad phase to provide that acceleration (no 'nodes' or tree structures are guaranteed to exist).

Relying on the broadphase for culling might not provide the best culling behavior, either. Data structures built up for rendering would do the job better. v0.15.0 is exposing some more data structures (used by the physics engine, but not specifically related to physics) that might help with this sort of thing.
Spankenstein
Posts: 249
Joined: Wed Nov 17, 2010 1:49 pm

Re: Bounding volume hierarchy & frustum culling

Post by Spankenstein »

Cool, thank you for the info. I'll stick with my BVH for now then.
Post Reply