Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The benchmark is used for testing BVH build and render times for various algorithms.
It downloads a Sponza model at configuration time, as opposed to storing it in the repository. That way, cloning the project doesn't take forever. Users who won't be running the benchmark won't want to wait for the long download time unless their running the benchmark.
The benchmark itself is made for comparing multiple build algorithms. It times the construction of the BVH as well as rendering time. The scheduler for the benchmark is multi-threaded, so it runs much faster than the scheduler in the examples. It also has progress updates for the tracing, which is nice for longer render times.
Initially, I had planned on running the "dummy" BVH build algorithm for a frame of reference. I ended up commenting it out because it was taking too long to render. I may still use the "dummy" build algorithm for integration testing later on, since it always produces a "known good" image.
Example output for a 100x100 pixel test:
This PR addresses the second item in #14