Mesh Tester - MeshTester.dll

This tool counts the number of meshes of a model and checks whether they are closed or not. In a closed mesh every edge is shared by two triangles. Only models with closed meshes are suited for stencil shadows.

All Meshes Total number of meshes of the model.
Opened Number of non-closed meshes. If nonzero, the model can not be used for stencil shadows.
Closed Number of closed meshes.

The open parts of the meshes are selected after running the tool. For making the model suited for stencil shadows, fill 'gaps' until one triangle is on every side of every edge.