docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Icon Remove Occluded

    Toolbox Rule Engine
    Delete occluded triangles.

    Parameters

    Parameter Type Description
    strategy CullingStrategy Standard: Remove occluded triangles within the meshes.

    Advanced: Keep triangles that are part of an internal area which must be preserved (for example, a car interior, the inside of a house, ...).
    density (Precision) DensityEnum The higher the precision is, the longer the function will take, but also higher are the chances it does not miss a visible triangle.
    precisionPreset PrecisonPreset Precision values recommanded by Asset Transformer.
    precision Int32 The higher the precision is, the longer the function will take, but also higher are the chances it does not miss a visible triangle.
    hemiEvaluation Boolean When activated, evaluation will be performed from the top and around the object but not from the bottom.
    selectionLevel (Level) SelectionLevel The type of element to be removed.
    neighborsPreservation Int32 Preserve the N neighbors of not occluded triangles. It's recommanded to put 0 on low-detail LODs. Put >0 for higher detailed LODs.
    considerTransparencyOpaque Boolean If true, transparent materials will be considered as opaque, meaning that geometries behind transparent materials will be removed.
    preserveCavities Boolean Preserve input internal cavities. Car cockpits, inside of a house...
    minimumCavitiesToPreserve Single Cavity volume in cubic meters.

    For instance, to preserve what's inside your living room in a house, put a bit less than its full volume. The algorithm will then remove hidden triangle/Gamobject/sub-mesh inside your living's room furnitures but not the furnitures themselves.

    Additional Information

    To reduce the polygon count of mesh models and optimize them for exterior and interior viewing, you can delete geometries that can’t be viewed from various viewpoints:

    • The outside of models
    • Interior spaces, such as cockpits and house interiors

    For example, some parts may be completely concealed by others. You can delete these parts without affecting the appearance of models from the outside or interior spaces.

    You can choose to process scenes at these levels:

    • GameObjects
    • Submeshes
    • Triangles

    Pixyz runs visibility queries from various angles outside of the selection to find the elements that can be viewed, and, from that result, remove elements that are occluded.

    Image

    You can choose between two strategies:

    • The standard algorithm removes the occluded triangles within the meshes.

    • The advanced algorithm can keep inside elements that must be preserved. Examples are a car interior or the inside of a house.

      Advanced processing takes longer than standard processing, but is more precise. You can better preserve meshes, especially self-occluding meshes and highly detailed meshes.

    The more detailed the processing, the better the final quality, but the longer the scene takes to process and the less the polygon count decreases.

    Parameters

    Precision preset

    This parameter is available only for the standard strategy.

    Select a preset of default precision values. You can modify these values.

    Precision

    Image resolution also affects how geometries are captured by cameras. The higher the resolution, the longer the processing time, but the more pixels are generated. As a result, smaller polygons are captured and preserved.

    If viewers get close to the model, increase the resolution to preserve visual quality from up close. If viewers are far from the model, use low resolution.

    If you have selected the standard strategy, enter one of these values:

    • 512
    • 1024
    • 2048
    • 4096
    • 8192

    If you have selected the advanced strategy, select one of the presets.

    Level

    Choose the granularity level at which to process the scene:

    • GameObjects
    • Submeshes
    • Triangles

    Consider transparency opaque

    You can preserve geometries that can be viewed through transparent materials, such as windows and windshields.

    Warning

    Known limitation: if you don't select this parameter, Pixyz doesn't remove transparent items that are occluded.

    Preserve cavities

    Choose whether to preserve small interior spaces, for example the inside of drawers in furniture.

    Minimum cavities to preserve

    Set the minimum volume of interior spaces that you want to preserve, in cubic meters. The smaller the value, the more viewpoints there are, but the longer the processing.

    For example, to preserve furniture in a room but delete the inside of furniture, specify a volume that's slightly lower than the room volume.

    Preservation of neighboring polygons

    If you process the scene at the polygon level, you can preserve the neighboring polygons of captured polygons, to avoid apparent gaps. This table shows the most common options:

    Adjacency depth Neighboring polygons that are preserved Example of use
    0 None Viewers are far from the model. You want to focus on reducing the polygon count.
    1 Adjacent polygons Viewers get closer to the model. You want to avoid apparent gaps.
    2 Adjacent polygons and their adjacent polygons

    This example illustrates how this parameter affects meshes:

    Image

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)