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.
Bounding volume hierarchy & frustum culling
-
- Posts: 249
- Joined: Wed Nov 17, 2010 1:49 pm
Re: Bounding volume hierarchy & frustum culling
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.
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.
-
- Posts: 249
- Joined: Wed Nov 17, 2010 1:49 pm
Re: Bounding volume hierarchy & frustum culling
Cool, thank you for the info. I'll stick with my BVH for now then.