docs.unity3d.com
Version: 

    Importing VRED Files

    VRED models can be imported within Pixyz Studio, in order to optimize and reuse them in other virtual experiences.

    Importing a *.vpb file in Pixyz Studio requires Autodesk VRED Pro or Autodesk VRED Design to be installed (with a valid license) on the same computer on which Pixyz Studio is running.

    Note

    Only geometries (meshes or BRep surfaces) and equivalent materials are directly imported inside Pixyz Studio' scene.

    Configuring Pixyz Studio

    To start importing *.vpb files in Pixyz Studio, the software needs to be configured first from the menu Preferences:

    1. Press F9 or go to Edit menu > Preferences > IO > Import > Vred

    2. Fill the path in the VredExecutablePath field: browse to the VREDPro.exe file (most likely located in the bin/WIN64/ directory).

      You're all set.

    Image

    If the path is not properly configured, Pixyz Studio will prompt the following error message:

    Image

    Importing a *.vpb file

    Image

    PreferLoadMesh: False

    If the *.vpb model contains NURBS data (Image), you can choose to import these by setting the preference setting IO> Import > PreferLoadMesh to 'False'.

    Because of how *.vpb files are formatted, all the surfaces will be divided in different occurrences. This will considerably increase the import time and the number of parts.

    We strongly advise to use the Merge Final Level, followed by a Repair CAD (orient = 'False') functions after importing:

    1. Importing (wireframe view): 94 235 parts, surfaces are not stitched together

      Image

    2. MergeFinalLevel and RepairCAD: 3 545 parts and surfaces are stitched together

      Image

    3. Tessellation: 5M triangles.

      Image

    If the preference setting IO> Import > PreferLoadMesh is set to 'True', the mesh displayed in VRED will be imported (UVs and ambient occlusion are imported).

    PreferLoadMesh: True

    VRED Mesh: 50M triangles:

    Image

    To import ambient occlusion as vertex colors, open Autodesk VRED and set ExportVertexColors to 'True' in Preferences > FileIO > FBX > Export:

    Image

    Importing Variants

    If the preference setting IO> Import > LoadVariant is set to 'True', geometrical variants and material variants are imported:

    • The custom property _PIXYZ_TRANSFORM_SWITCH_TAG is added to the switch occurrences

    • The custom property <_PIXYZ_MATERIAL_SWITCH_TAG, *switch material name*> is added to occurrences having a material switch

    • Material variants can be retrieved in the material library or in the _Pixyz_MATERIAL_POOL occurrence in the Product Structure:

      Image

    • More information regarding the imported *vpb materials and variants can be found in additional files (created at import). Their links are attached to the Root node as custom properties:

      Image

    Importing animations

    An *.fbx file containing information on the *.vpb animations is exported during the process (animations are preserved when importing a *.vpb file). The link is attached to the Root node as a custom property:

    Image

    Importing Realistic materials

    Properties of VRED shaders included in a *.vpb file can now be retrieved at import as Custom Materials, by enabling the preference ImportRealisticMaterial in IO > Import > Vred.

    Careful though! Importing these Custom Materials will not create a VRED-like shader/material, ready to display in Pixyz Studio. The purpose of keeping this information is for digital continuity.

    For example, if a user wants to recreate VRED-like shaders in an application, they can use the Custom Materials properties to do so.

    Image

    Pixyz Studio 2024.1.0.44 based on SDK 2024.3.0.14
    • 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.