Skip to content

Conversation

@johnhaddon
Copy link
Member

USDShade doesn't support connections in to indices within arrays (or for that matter, to the components of vectors or colors). It does support multiple connections to the same parameter, but as far as I can tell that seems to be peculiar to RenderMan/Pixar, and I have no idea what the expected semantics for multiple source connections are.

So, the arnold-usd project adopted a convention for storing indexed connections in USD, and that's what folks end up using if they export an Arnold shading network from Maya. This PR adds support for loading such connections, converting to our standard internal convention, and for converting them back on write.

See https://groups.google.com/g/gaffer-dev/c/9pcdwKzK4lE for the original bug report.

@johnhaddon johnhaddon self-assigned this Jan 17, 2023
@danieldresser-ie
Copy link
Contributor

LGTM

@johnhaddon johnhaddon merged commit 06919d9 into ImageEngine:RB-10.4 Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants