Skip to content

USD: Use "asset" type parameters instead of "string" for filepaths #7012

Description

@Beton1

Version: gaffer-1.6.18.0-windows
Third-party tools: 3Delight

Description

Gaffer exports USD file paths as "string" type instead of "asset" type. This causes issues when importing the Gaffer USD file to Blender. The correct principled node tree in Blender is created, with texture nodes, but texture file paths are not found. When exporting USD from Blender to Gaffer, the import works without issue. After checking the difference between Blender and Gaffer usda files, the issue was isolated to the parameter type("string" vs "asset").

Steps to reproduce

  1. Export USD file with textures from Gaffer either with scene export or USD layer writer
  2. Import the file in Blender and check the shader node tree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions