Skip to content

Seeking some information on BVH optimization #232

Answered by RossNordby
lmtss asked this question in Q&A
Discussion options

You must be logged in to vote

Binned BVH builders are described in this paper: https://www.sci.utah.edu/~wald/Publications/2007/ParallelBVHBuild/fastbuild.pdf

During a refinement step, the Tree applies binned builders to parts of a tree (not just subsets of leaves; blobs of internal nodes can be optimized too). It turns out that, over time, this converges to high quality with very low per-step cost.

There is some trickiness to deciding where to apply those refinements. The BroadPhase schedules them near the root and close to a subset of leaves stochastically chosen partially by increases in SAH cost that indicate the existing structure is becoming worse.

It's worth noting that the Tree implementation is old. By far th…

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@lmtss
Comment options

@RossNordby
Comment options

@lmtss
Comment options

@RossNordby
Comment options

@lmtss
Comment options

Answer selected by lmtss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants