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

Viewer : Support Arnold shader networks attached to gobos #3667

Merged
merged 5 commits into from
Mar 17, 2020

Conversation

themissingcow
Copy link

Adds support for Arnold shader networks attached to Gobo light filters.

In order to re-use the network conversion previously used in ArnoldLightVisualiser, it splits this out into GafferArnoldUI/Private/VisualiserAlgo.h.

Took the opportunity to clean up messaging and error case handling a little.

@themissingcow themissingcow self-assigned this Mar 10, 2020
@themissingcow themissingcow changed the base branch from 0.56_maintenance to master March 10, 2020 11:57
@themissingcow themissingcow changed the base branch from master to 0.56_maintenance March 10, 2020 14:37
Copy link
Member

@johnhaddon johnhaddon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Tom! Thanks for taking the time to add the tests as well - always good to increase coverage. I've made a few comments inline....

src/GafferArnoldUI/GoboVisualiser.cpp Show resolved Hide resolved
python/GafferArnoldUITest/VisualiserAlgoTest.py Outdated Show resolved Hide resolved
@johnhaddon
Copy link
Member

Thanks Tom! LGTM. Could you squash in your fixups and update Changes.md please?

@themissingcow themissingcow force-pushed the goboVisualiserOSL branch 2 times, most recently from bdc234e to 0bc92a4 Compare March 17, 2020 09:19
We need to use the Arnold to OSL network conversion in various
visualisers. As most are totally private and have no headers, moving
to a private helper seemed easier than allowing other visualisers
to befriend ArnoldLightVisualiser.
Improvements
------------

 - Viewer : Added (limited) support for the visualisation of Arnold shader
   networks attached to the gobo light filter.
We now list the un-convertible shader names.
It's not helpful to return a mixed network, return nullptr instead.
@johnhaddon johnhaddon merged commit 79221dc into GafferHQ:0.56_maintenance Mar 17, 2020
@themissingcow themissingcow deleted the goboVisualiserOSL branch April 1, 2020 00:16
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.

None yet

3 participants