SelectPolygons ignored

Hello,

I’m following one of your wrapping tutorials, however I’m getting an error,
floating geometry contains disconnected polygon components, should be one.

I have two meshes, a basemesh, and a scanmesh. The basemesh has eyes, teeth, etc..
which are separate.

I’m using the SelectPolygons node to exclude these disconnected polys, however, it seems
my selection is being ignored by the wrapping node. I even tried selecting all polys,
and I still get the same error message. No change in the number of disconnected components reported.

The only way I can fix this message, is to delete these polys in other program.
However, I need to preserve these vertices, so that’s not an option.

As a test, I hooked up the RepairGeom node to my basemesh, and it’s clean, no errors.

Is there anything else I can do to get this working?
Thanks.

Using: Wrap 3.4.8

Hello,

Let me clarify. SelectPolygons node in your case is used to specify “free polygons” for wrapping, which means the polygons that won’t be fitted to the scan. This is normally useful for mouth and eye sockets. But those polygons still should be connected to the rest of the geometry and have manifold topology.

In your case you can remove all the disconnected pieces before feeding the basemesh into the Wrapping node. There is a number of options how to do that, like using DeletePolygons node or Subset node.

The easiest way to do that is to use Subset node. You can plug your basemesh and a polygon selection into a Subset node. It will remove everything except for the selected parts. Then you can plug the resulting geometry into the Wrapping node and do the wrapping. After then you can recover the rest of the geometry preserving the vertex order using AppySubset node.

Please find more about the nodes here:
https://www.russian3dscanner.com/docs/Wrap3/Nodes/ApplySubset/ApplySubset.html

Thanks for the explanation.

I made some changes, and I finally got it to work. I found I had to pass the subset to the SelectPoints node and redo my corresponding points. I also got rid of the SelectPolygons node from the wrapping as it was no longer needed.

This video was very helpful in replacing some polys at the end:
https://vimeo.com/194055282

Thanks!

https://i.imgur.com/OdFkVpZ.png

Glad to hear that you solved it!