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?
greenhander said:So we can't compare $MaliRayTracingTriangleBatches with other items,
Correct.
greenhander said: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.
greenhander said: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.
OK, thank you very much!