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

Arnold renderer : Don't instance curves with min_pixel_width != 0 #3402

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

johnhaddon
Copy link
Member

Because pixel width is a screen space metric, it is not compatible with instancing, and results in this warning from Arnold :

1:  [curves] %s: pixel-width optimization is not compatible with instancing; disabling optimization

@danieldresser-ie
Copy link
Contributor

LGTM

@danieldresser-ie
Copy link
Contributor

Oh, I see that while the code itself looks good, there is a test for instancing that needs updating.

Because pixel width is a screen space metric, it is not compatible with instancing, and results in this warning from Arnold :

```
1:  [curves] %s: pixel-width optimization is not compatible with instancing; disabling optimization
```
@johnhaddon
Copy link
Member Author

Updated the tests to account for the new behaviour.

@johnhaddon johnhaddon merged commit cb3b710 into GafferHQ:master Oct 16, 2019
@johnhaddon johnhaddon deleted the arnoldCurveInstancing branch October 22, 2019 13:53
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