Page 1 of 1
Bounding volume hierarchy & frustum culling
Posted: Wed Nov 17, 2010 1:53 pm
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.
Re: Bounding volume hierarchy & frustum culling
Posted: Wed Nov 17, 2010 9:10 pm
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.
Re: Bounding volume hierarchy & frustum culling
Posted: Thu Nov 18, 2010 12:07 am
by Spankenstein
Cool, thank you for the info. I'll stick with my BVH for now then.