MeshroomMaya icon indicating copy to clipboard operation
MeshroomMaya copied to clipboard

Only display useful cameras to texture a mesh

Open eprana opened this issue 10 years ago • 0 comments

The user want to select a mesh and only see the cameras that can be used to texture this mesh.

Solution 1:

  • retrieve the bounding box of the selected meshes

  • retrieve the 3D points of the point cloud visible in this bounding box

  • retrieve the cameras from the visibility of those points

  • hide other cameras

    ++ only useful cameras -- need the visibility information to work

Solution 2:

  • Retrieve all the vertices of the selected meshes

  • test the intersection of thoses points with all cameras

  • hide other cameras

    -- will get to much cameras -- more computation is required than in the solution 1 ++ don't need the visibility information to work

eprana avatar Feb 17 '15 10:02 eprana