-
Notifications
You must be signed in to change notification settings - Fork 128
Thumbnail product filtering #6197
Thumbnail product filtering #6197
Conversation
I do understand the issue, but should that be achieved by subset/product name filtering? There already is one "quick fix" https://github.com/ynput/OpenPype/pull/6197/files#diff-c35edcc2ff4be50fdb58d9e2d33055ae2531435ee340f5daa772186b98ca1cf4R106 for crypto. Subset name filtering would skip the whole instance, even if would have other valid representation that can be used for thumbnail. Maybe rather the extractor/plugin, which created the representation, should not mark the representation to be used for reviewables. Because I think the representation must have |
@iLLiCiTiT I think ideally we should tackle the issue in when the representation is created in Maya from the render pass, but that would mean representing render passes in the publisher. Both routes above are quite substantial and the client has been waiting on a solution for a while. I would say lets get this enhancement so the client can get on with production and look at the better solutions later. |
The issue with current state of the PR is that it by default turns off thumbnail creation, and there is no sane default because of subset name profiles diversity. |
It should not turn it off by default?
|
Oh, I missed the condition. |
Task linked: OP-8103 Only process thumbnail for beauty pass |
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.
Did test in Ayon mode. I have set the filter according to the test steps like this:
but seems like its skipping the products completely:
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Thumbnail source not filled. Skipping.
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Processing instance with subset name renderLookdevMain_Z
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Thumbnail source not filled. Skipping.
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Processing instance with subset name renderLookdevMain_N
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Thumbnail source not filled. Skipping.
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Processing instance with subset name renderLookdevMain_crypto_object
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Thumbnail source not filled. Skipping.
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Processing instance with subset name renderLookdevMain_beauty
2024-02-08 14:19:36: 0: STDOUT: DEBUG:pyblish.ExtractThumbnailFromSource:Thumbnail source not filled. Skipping.
I m also enclosing full DL Publish Job log here:
Cool, that means the skipping is actually working, just a matter of adjusting the regex correctly. |
@tokejepsen we'll need a port to ayon please |
|
Changelog Description
This PR introduces subset filtering for thumbnail extraction. This is to skip passes like zdepth which is not needed and can cause issues with extraction. Also speeds up publishing.
Testing notes:
renderLightingMain
.http://localhost:5000/manageProjects/projectSettings?project=demo_Commercial
orproject_settings/global/publish/ExtractThumbnail/subsets
Example valid Deadline log: