This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there a numerical relationship between $MaliRayTracingIntersectionsOpaqueTriangleHits and $MaliRayTracingIntersectionsRayMisses and $MaliRayTracingTriangleBatchesTested?

in mobile studio Streamline data,I found that $MaliRayTracingIntersectionsOpaqueTriangleHits and $MaliRayTracingIntersectionsRayMisses represent the number of hits and misses that the triangle intersects with the ray.

and $MaliRayTracingTriangleBatchesTested represents the time when the triangle intersection test is.

There are no transparent objects in the scene. And the firstHit is not set.

So I understand that the sum of $MaliRayTracingIntersectionsOpaqueTriangleHits and $MaliRayTracingIntersectionsRayMisses should be equal to $MaliRayTracingTriangleBatches  * 16. However, the actual situation is not completely consistent, how to understand the relationship between these items?

Parents
  • So we can't compare $MaliRayTracingTriangleBatches with other items,

    Correct.

    the $MaliRayTracingCyclesTriangleTesterActive attribute you mentioned, I don't see it in the configuration options

    Should be called "Ray tracing triangle tester issue cycles". There is a similar counter for the box testers.

    ut I want to know the number of intersections of triangles and boxes, can you convert them from this attribute?

    Total number of triangle intersections should be the sum of $MaliRayTracingIntersectionsNonOpaqueTriangleHits, $MaliRayTracingIntersectionsOpaqueTriangleHits, $MaliRayTracingIntersectionsRayMisses.

    Can't see a way to get total number of ray-box intersections from from the counters.

Reply
  • So we can't compare $MaliRayTracingTriangleBatches with other items,

    Correct.

    the $MaliRayTracingCyclesTriangleTesterActive attribute you mentioned, I don't see it in the configuration options

    Should be called "Ray tracing triangle tester issue cycles". There is a similar counter for the box testers.

    ut I want to know the number of intersections of triangles and boxes, can you convert them from this attribute?

    Total number of triangle intersections should be the sum of $MaliRayTracingIntersectionsNonOpaqueTriangleHits, $MaliRayTracingIntersectionsOpaqueTriangleHits, $MaliRayTracingIntersectionsRayMisses.

    Can't see a way to get total number of ray-box intersections from from the counters.

Children