Closed vitalitylearning2021 closed 1 year ago
Please, try rt._geo_id[:, :, 1]
, face id's are stored there. rt._geo_id[:, :, 0]
contains id's of entire meshes and the nearest vertex id's, as described here.
Thank you very much for your answer. That closes the issue.
Good day, I'm using the following code:
By
rt._geo_id[:, :, 0]
, I would like to infer the ID of the primitive hit by the rays. However, the output seems to be:The large numbers at the borders of the matrix mean hit miss. However, I have only two primitives in the mesh and I do not understand why do I have more IDs than primitives.