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, because this attribute is an independent calculation rule, and a count of this attribute may actually involve intersections with multiple triangles? Is this principle easy to explain?

    In addition, the $MaliRayTracingCyclesTriangleTesterActive attribute you mentioned, I don't see it in the configuration options, this should be the number of counters, right? But I want to know the number of intersections of triangles and boxes, can you convert them from this attribute?

Reply
  • So we can't compare $MaliRayTracingTriangleBatches with other items, because this attribute is an independent calculation rule, and a count of this attribute may actually involve intersections with multiple triangles? Is this principle easy to explain?

    In addition, the $MaliRayTracingCyclesTriangleTesterActive attribute you mentioned, I don't see it in the configuration options, this should be the number of counters, right? But I want to know the number of intersections of triangles and boxes, can you convert them from this attribute?

Children