










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











John E. Laird
Want to find fast, correct method for ordering polygons in the Painters algorithm
Recursively divide space into pairs of regions
Want to maintain a balanced tree if possible Want to minimize splits of existing walls
1
2 1
To start with, all we care about ordering of rendering Not going to worry about line of sight or orientation of viewer Depth-first traversal, always visiting nodes on opposite side of divisor from current node.
2 1 3 A B C D A B C D 1 2 3
Go to node 2 (because C is right of divider 1) Go to A (because C is right of 2) Render A Render B Go to 3 Go to D Render D Render C
Problem with Back-to-Front is lots of “over-draw”
Don’t traverse a node if field of view completely on other side of divider. 2 1 3 A B C D
Extremely expensive to dynamically recalculate BSP if topology of game can arbitrarily change Can have pre-stored variants and swap in as world changes
Same idea, but render “outside” of object, not “inside”. Can just drop in to existing BSP tree at the bottom as a child of the atomic region it is in As 3D object moves, it changes where it is in BSP tree