Closed HaoZhang990127 closed 5 months ago
@HaoZhang990127 Hi, I think you can get that mask by face_id >= 0
?
Thank you for you reply.
this method works for me, but i find sometimes the face_id>=0
will give me larger region out of the mesh, i am not sure why this will happen.
now i render the depth map as the mask of rays mesh intersection works better for me.
Thanks again.
Hi,
thank you for your nice work again. I have another question, i can use this API to get the depth(distance) between the camera and mesh,
but the
face_id
is mesh face index andintersections
is ray mesh intersection coordinate. how can i get the information that which ray are interaction with mesh?Thank you.