Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author animated shader attributes in a way that they can render in hydra #2080

Closed
sebastienblor opened this issue Aug 28, 2024 · 1 comment · Fixed by #2081
Closed

Author animated shader attributes in a way that they can render in hydra #2080

sebastienblor opened this issue Aug 28, 2024 · 1 comment · Fixed by #2081
Labels
bug Something isn't working

Comments

@sebastienblor
Copy link
Collaborator

Hydra materials don't support animated attributes. We receive a list of VtValues for each attribute and we can't sample them through the shutter.
Because of that, animated shaders in arnold (which today can only happen with matrix_interpolate) only return a single value.

To fix this, when we author usd files with animated shader attributes, we want to author them as an array of multiple values for every time sample. This way we'll get all the keys in an array, instead of a single one

@sebastienblor sebastienblor added the bug Something isn't working label Aug 28, 2024
@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-15407

sebastienblor added a commit to sebastienblor/arnold-usd that referenced this issue Aug 28, 2024
sebastienblor added a commit that referenced this issue Sep 2, 2024
…dra (#2081)

* Author animated shader attributes in a way that they can render in hydra #2080

* Add changelog
@github-project-automation github-project-automation bot moved this from Todo to Done in Arnold USD Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant