My scene is a 3D scene. Assume that I have taken a screenshot of my scene. I need to erase few meshes from the screenshot. (Hiding the meshes and taking a screenshot is not OK for me).
So, what I need is, the 2D polygon(s) of each mesh. How can I achieve that?
Yeah. This is the solution which is in my mind at this point. I want to capture screenshots of every mesh (by hiding other n-1) meshes. From each image, find the boundary of the mesh(as non-mesh pixels will have the transparent color). Save this data and use it further.
But, I somehow feel like we need to go with a mathematical approach like professionals.