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

RectLight doesn't take width / height into account with scenes exported from Arnold #2123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebastienblor
Copy link
Collaborator

When we write usd scenes from a quad light, we are authoring both the width / height and also the arnold atribute "vertices", which is reduntant in most cases. Because of that, later on we cannot modify the width / height as it will be overridden by primvars:arnold:vertices . This PR skips the author of this arnold attribute when possible (i.e. when the vertices positions are centered)

Issues fixed in this pull request
Fixes #2122

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.

RectLight doesn't take width / height into account with scenes exported from Arnold
1 participant