-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support new flipbook node for reviews #167
Support new flipbook node for reviews #167
Conversation
Should this PR adds support for publishing reviews from LOPs? |
I'd say that yes, we should fix that... but it doesn't need to be part of this PR. Instead I see that irrelevant to this because it's already relevant to the OpenGL ROP too. I thought we had an issue for that, but I can't find it 🤦 |
We have this one #23 |
…t-new-flipbook-node-for-reviews
Let's see if we can get this one #148 merged first - so that this PR is slightly simplified and works with the changes made there. |
I slightly tested on the PR and find out that it's not working for the elder version of Houdini. Shall we introduce the condition so that users would know it only supports for Houdini 20.5? Or we can do it with some scripts in elder version? |
We could enforce the
No please. That flipbook would just be the |
client/ayon_houdini/plugins/publish/validate_review_colorspace.py
Outdated
Show resolved
Hide resolved
…t-new-flipbook-node-for-reviews
…-node-for-reviews' of https://github.com/ynput/ayon-houdini into enhancement/85-ay-6687_houdini-205-support-new-flipbook-node-for-reviews
Co-authored-by: Roy Nieterau <[email protected]>
{"ociocolorspace": review_color_space} | ||
) | ||
|
||
log.debug( | ||
"'OCIO Colorspace' parm on '{}' has been set to " | ||
"the view color space '{}'" | ||
.format(opengl_node, review_color_space) | ||
.format(node.path(), review_color_space) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just wondering why you don't use node
(hou.Node) here as the previous code used opengl_node
which happened to be hou.Node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for consistency, I turned this one into node.path()
instead of just node
other log messages are using node.path()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested with 20.5 and find out that the repair action is not repairing the colorspace param as expected and the validator keeps blocking me to publish.
The video would show you why and it is related to the regex form of the ocio colorspace in houdini i believe. i.e. '<USE_DISPLAY_NAME>'
validate_colorspace_repair_issue_in_flipbook.mp4
I remember Roy mentioned it somewhere! Also from your screen record, I can find the value of the colorspace is set to the display. |
I re-test again and it seems that I haven't turned on the color configuration in Ayon setting, meaning that It only happens when the OCIO color management is not enabled and using the default Houdini ocio configuration. @BigRoy, just want to hear your thought on this. We can create an issue to resolve this later(I dont think it should be solved here but instead the separate PR.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to reproduce it in develop branch with opengl node. Actually, I can pass the validation when choosing something manually from the drop down menu. (even if I disable the color management toggle in Houdini addon settings) |
But the users may expect that the repair action would fix it. We can actually inform the users somewhere in the docs to talk about this limitation, and we need to figure out what to do to fix it eventually if there is somebody who runs on this issue. |
I've created an issue for it. |
Changelog Description
resolve #85
This PR enhances the current review plugins to add support for the new flipbook node.
Additional Info
Flipbook node behaves a lot similar to opengl node.
one interesting change is the
Color Correction
setting which can choose (color space
) or (display
andview
).which may change a bit the color space validation and collection to properly support the flipbook node.
Testing notes:
Review
creator