I am working on a project where I need to calculate what percentage of the image each triangle is occupying.
I couldn’t find anything similar on the SDK examples or on the documentation pages.
Some of the requirements are that I don’t want to change the mesh topology by specify per vertex colours and that I will be importing the geometry using objs.
My question is: Is there a way retrieve for each Ray hit the triangle ID? Given that can I also get the mesh ID?