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

GafferRenderMan : Display and Sample Filter support #23

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

Conversation

boberfly
Copy link

Generally describe what this PR will do, and why it is needed

Related issues

  • N/A

Dependencies

  • N/A

Breaking changes

  • Maybe, but we are WIP

Checklist

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have tested my change(s) in the test suite, and added new test cases where necessary.
  • My code follows the Gaffer project's prevailing coding style and conventions.

@johnhaddon
Copy link
Owner

Before I get into reviewing this, my main question is about RenderMan itself. The Riley API lets us pass a list of display filters, so why does PxrDisplayFilterCombiner exist? What happens if we pass a list of display filters? Are they automatically combined?

@boberfly
Copy link
Author

Good question I could've sworn that I read somewhere that it was for a future update to Riley but I can't remember where now. I used the hdPrman delegate as reference and this is how they approached it.

When I originally approached this I used an ObjectVector of ShaderNetwork and was making the combiner in IERenderMan backend but it wasn't too elegant in the UI seeing one of those. Is there a dummy array shader node I can use in a ShaderNetwork to replace the combiner?

@johnhaddon
Copy link
Owner

When I originally approached this I used an ObjectVector of ShaderNetwork and was making the combiner in IERenderMan backend but it wasn't too elegant in the UI seeing one of those.

Yeah, this is what I was wondering about doing. It seems potentially less faffy than dealing with PxrDisplayFilterCombiner in our RenderManDisplayFilter node. But I suppose there are other benefits to PxrDisplayFilterCombiner - we could use ShaderTweaks on one directly for instance (well, a hypothetical GlobalShaderTweaks variant at least).

@boberfly boberfly force-pushed the features/riley26Filters branch 3 times, most recently from 884d6b0 to 37613be Compare November 29, 2024 03:39
@boberfly boberfly force-pushed the features/riley26Filters branch from 37613be to a328c2c Compare November 29, 2024 03:41
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