[QUAD] Enhancement: Enforce thumbnail for Houdini publish
Interesting approach :) But I think it's not the way for AYON. Preferably we define which are reviewables and from reviewable representations a thumbnail may be taken if it's not defined yet and I believe it does that already in AYON too.
@iLLiCiTiT @MustafaJafar thoughts?
Interesting approach :) But I think it's not the way for AYON. Preferably we define which are reviewables and from reviewable representations a thumbnail may be taken if it's not defined yet and I believe it does that already in AYON too.
@iLLiCiTiT @MustafaJafar thoughts?
In my opinion, I think it'd be much better to have that for all product types. I can think of the following approach:
Thumbnail:
1. Artists can use the publisher to capture a thumbnail.
2. If no thumbnail and `create_thumbnail == true`
a. For products with a review representation: get the first frame of the representation.
b. For render products: get the first frame. *we may convert it to a different extension first.*
c. Fall to the default: Take a screengrab of the scene view.
I think this can be implemented in ExtractActiveViewThumbnail plugin and we can provide some settings to allow admins to control how the plugin should work.
It's also worth mentioning that we already create thumbnails for workfile instance. and we can re-use it with other product types.
Maybe we can create an issue on ayon-houdini and link to this PR for reference.