Skip to main content
GameDev.net gamedev.net
🔒 Locked

Selecting A Partitioning Plane In A BSP Tree

Started by jstroh Sep 30, 2008 at 2:02 PM 2 replies 950+ views
Original Post
jstroh
jstroh
What are some good methods for selecting a partition plane other than planes defined by the polygon's themselves?
phantomus
phantomus
Well in kD-trees, the cost function (assuming surface area heuristic) between 'split plane candidates' placed on vertices of input polygons is constant. I'm not sure if this is the same for generic BSPs though.

That said, I don't think anyone tried to do this. In fact, normally you don't even consider all candidates, just a random subset. The result will be close to optimal.
jstroh
jstroh
eh?

http://www.theomader.com/public/Portfolio.html uses some extra crazy math.

Some use the polygon plane with the best score, some use only axis aligned planes...
Zipster
Zipster
Usually you start with the most axis-aligned partition planes and then go from there. You might be able to come up with some sort of cost function that determines the number of splits you'd make and then attempt to minimize them.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.