Skip to content

Performance

Amir Ebrahimi edited this page Jan 10, 2018 · 1 revision

Details about dynamic time costs

Ideally, SceneLOD would be implemented in native code or with a different component other than LODGroup, but the goal of this experiment was to use the standard version of Unity. That being said, the dynamic update does have impact on frame time if the whole BVH has to be evaluated. For the example scene from the blogpost, initial evaluation of the entire BVH takes around 5-7 ms. A few optimizations were put in place to give a more realistic picture of the performance that could be expected in a robust, native implementation. One such optimization is a fast path for a camera that is moving away from objects in the scene monotonically.

Clone this wiki locally