Skip to content

Issue: Unbound Materials Cannot Be Imported in maxUsd #24

@SttevanCJoga

Description

@SttevanCJoga

Issue: Unbound Materials Cannot Be Imported in maxUsd

Summary

When importing USD files into 3ds Max using maxUsd, materials that are not bound to any mesh are ignored or discarded during the import process.

Problem

USD supports defining materials independently of mesh bindings, allowing for reusable lookdev assets, material libraries, and deferred assignments. However, maxUsd appears to only import materials that are directly bound to a mesh via material:binding. As a result:

  • Unbound materials are lost during import

Example

def Material "RedPlastic" {
    token outputs:surface.connect = </RedPlastic/PbrShader.outputs:surface>
    
    def Shader "PbrShader"
    {
        uniform token info:id = "UsdPreviewSurface"
        color3f inputs:diffuseColor.connect = </RedPlastic/DiffuseTexture.outputs:rgb>
        token outputs:surface
    }
    
    def Shader "DiffuseTexture"
    {
        uniform token info:id = "UsdUVTexture"
        asset inputs:file = ...
        ...
    }
}
# No mesh binding — material is ignored on import

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions