docs.unity3d.com
    Show / Hide Table of Contents

    ZivaRT Player component

    The ZivaRT Player component is a necessary part in allowing users to produce film-quality shape deformation results in real time within Unity.

    The component enables Unity to deform the assigned mesh following the trained data. The mesh's deformation process is configurable through the parameters assigned to the ZivaRT Player component.

    Deformation inputs

    Property Description
    Rig ZivaRT asset used to deform the target character mesh.
    Source Mesh Source Mesh that the Ziva Rig will deform. A copy will be created for the deformation.
    Animation Root The animation root from which the animation should be applied.
    Game Object Root The root of the GameObject which the ZivaRT is assigned to.
    Use Mesh Transform Registration Applies the local transform of the Skinned Mesh during the vertex correspondence registration step. It can also help resolve registration failures caused by mismatched mesh transforms.

    Runtime settings

    Property Description
    Implementation The technique used to perform the Ziva deformation on a Ziva deformed object.
    Burst Jobs The deformation is executed using CPU side burst jobs with the results being applied to the target mesh. The results can be accessed on the CPU side for further operations.
    Compute Shaders The deformation is executed on the GPU using a compute shader with the result only being accessible on the GPU.
    Mono The deformation is executed on the CPU using standard C# with the results being applied to the target mesh. The results can be accessed on the CPU side for further operations.
    Scheduling Mode How to run Job Solver's jobs.
    Main Thread Run the Job Solver on Unity's main thread.
    Single Worker Thread Run the Job Solver on a single worker thread separate from the Main thread.
    Multiple Worker Threads Run the Job Solver on multiple parallelized worker threads.
    Recalculate Tangent Frames Determines whether the solver should recompute target mesh normals and tangents each frame.
    None Doesn't recompute the mesh's normals or tangents.
    Normals Only Only recomputes the mesh normals.
    Normals and Tangents Recomputes both the mesh normals and tangents.
    Late Update Execution Whether to start deformation calculations in the LateUpdate phase or normal Update phase.
    Multithreaded Joint Updates Whether to execute joint transform updates on multiple threads. This delays solver execution to LateUpdate.
    Calculate Motion Vectors Whether to calculate motion vectors for deformed positions.

    Debugging

    Property Description
    Enable Correctives Whether to apply pre-skinning correctives from the ZivaRT solver (used for debugging).
    Enable Skinning Whether to apply skinning to the mesh using the ZivaRT solver (used for debugging).
    Shader Data ZivaRT shader data used for mesh deformation.
    Draw Debug Vertices Whether to draw the vertices of the ZivaRT asset. This can be used to diagnose problems with vertex correspondence registration. The vertices of the Source Mesh must line up with these vertices.
    Suppress Geometry Warning Messages Whether to print warnings about problems found in the geometry of the Source Mesh, for example triangles without a well-formed UV basis for normal mapping.
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023