Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ritwik_d_
Beginner
35 Views

bvh statistic

Jump to solution

Is it possible to get the BVH statistics, like total levels, no. of bonding volumes generated, no. of bvh traversals, bvh traversals per ray etc. I am trying benchmark the performance of a few other algorithms.

Thanks

0 Kudos

Accepted Solutions
SvennW_Intel
Moderator
35 Views

To get BVH statistics do the following:

  Embree 2.0: call rtcSetVerbose(2)

  Embree 2.3.X: call rtcInit("verbose=2")

To get traversal statistics:

  Embree 2.0 and Embree 2.3: Enable USE_STAT_COUNTERS in cmake (might have to press 't' to get into advanced settings) will enable some internal counters. Call rtcDebug to print the values of these counters. These counters are not thread safe, thus render using one thread only! Do not forget to disable the USE_STAT_COUNTERS again later, as it can be quite expensive on a machine with many cores.

View solution in original post

1 Reply
SvennW_Intel
Moderator
36 Views

To get BVH statistics do the following:

  Embree 2.0: call rtcSetVerbose(2)

  Embree 2.3.X: call rtcInit("verbose=2")

To get traversal statistics:

  Embree 2.0 and Embree 2.3: Enable USE_STAT_COUNTERS in cmake (might have to press 't' to get into advanced settings) will enable some internal counters. Call rtcDebug to print the values of these counters. These counters are not thread safe, thus render using one thread only! Do not forget to disable the USE_STAT_COUNTERS again later, as it can be quite expensive on a machine with many cores.

View solution in original post