Autodesk / Autodesk/arnold-usd

usd procedural does not bind materials to instances

Open
#1,527 1 comment 0 reactions 0 assignees View on GitHub
bug user
Dominant language
Python
Stars
284
Forks
68
Avg merge
2d 19h
Merged PRs (30d)
14

Description

**Describe the bug**
When I try to load a layered USD file with materials and material assingments which looks like this:

```
#usda 1.0
(
endTimeCode = 100
framesPerSecond = 24
metersPerUnit = 1
startTimeCode = 1
subLayers= [
@./domelight1.usd@,
@./layerTest_materialassing.usda@,
@./layerTest_materiallib.usda@,
@./layerTest_boxes.usda@
]
timeCodesPerSecond = 24
upAxis = "Y"
)
```

In Maya with MtoA 5.3.1, the light works, the boxes are animated, but the shaders are not applied.
Same file renders fine in Houdini with Arnold/Solaris.

**To Reproduce**
[layers (1).zip](https://github.com/Autodesk/arnold-usd/files/11442017/layers.1.zip)

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
![layertest](https://github.com/Autodesk/arnold-usd/assets/3514355/560c3682-1d98-4018-8cd7-05ae97776cac)
![layertestHoudini](https://github.com/Autodesk/arnold-usd/assets/3514355/342274a1-3340-43cf-84d0-d2b8624019b9)

Contributor guide

Open the contributing guide

Research direction

Unpack the attached layers (1).zip and reproduce the layered USD case in Maya with MtoA 5.3.1, then compare it with the working Houdini Arnold/Solaris result. Trace the material assignments on instances in the layered USD input; done means the Maya render applies the shaders to the boxes as expected.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.