Automatically Hiding Inner Meshes

Purposes for Auto Hide Mesh

There are a few reasons for hiding the inner layer meshes for the entire character

  • To solve protrusions and poke-throughs from the mesh underneath the outer-most layer.

    Before Auto Hide Mesh

    After Auto Hide Mesh

  • To maintain the shape integrity of the outer-most layer,whereas conforming would wrap-deform the mesh.

    Conform Cloth (mesh has been reshaped)

    Auto Hide Mesh (the shape is retained)

  • To decrease the file size when exporting the character in OBJ or FBX format while optimizing for performance in iClone.

    FBX with complete meshes

    FBX with mesh auto-hidden

Auto Hide Mesh Algorithm

The Auto Hide Mesh algorithm is as shown in the following animation:

When the Auto Hide Mesh feature is activated, the following will happen in Character Creator:

  • Wrist, head, neck, lower neck, and shoulder areas are always shown, thus ignored in the algorithm.
  • Vertex weighting are individually evaluated for the bind-bone.
  • A ray is sent from the bind bone to the vertex hiding the geometries that lay between it and the outermost mesh.

Using Auto Hide Mesh Feature

  1. Create a new project and dress the character.
  2. Adjust the entire body or specific body part with a morph. A perfect opportunity to use Auto Hide Mesh presents itself when parts of the skin pokes through the cloth.

  3. You can change the display setting of the outer-most mesh into wire-frame mode to get a better view of the poke-through.
  4. Select the cloth at the outer-most layer (in this case, the tank top).
  5. Execute the Window >> Cloth Layer Settings command to launch the Cloth Layer Settings panel.

    Alternatively, click the Cloth Layer Settings button at the bottom of the Conform Clothing panel.
  6. Click the Auto Hide Mesh button to hide the inner meshes in order to solve the poke-through issues.
  7. If some imperfections still remain such as mesh faces inappropriately hidden, one can use manual means to remedy these visual artifacts.

    After Auto Hide Mesh has been applied.

    Manually select the meshes that should not be hidden.

    Visibility "holes" can thus be patched.

  8. If you take off the outer layer of the cloth, the layers underneath will become visible again (one of the benefits of Auto Hide Mesh).

    Tank top with Auto Hide Mesh applied.

    When the tank top is taken off.

 

Auto Hide Mesh Feature and Opacity Texture

Auto Hide Mesh has the ability to detect see-through areas of the Opacity texture channel.

Cloth tear created by the Opacity texture.

The meshes underneath are kept after applying Auto Hide Mesh.

 

Auto Hide Mesh works across multiple layers, so everything under the outer-most layers can be affected.

Multiple layers of clothes are applied to the character.

The meshes underneath are shown or hidden accordingly.