ynput / ayon-nuke

Nuke addon for AYON
Apache License 2.0
4 stars 11 forks source link

Loading deep renders in Nuke as deepread #22

Closed krishnaavril closed 2 months ago

krishnaavril commented 2 months ago

Is there an existing issue for this?

Current Behavior:

Nuke is loading the deep rendered exr's from houdini karma published renders as a general read node through ayon loader

Expected Behavior:

Nuke should load the general exrs as a read node Nuke should load the deep exrs as a deepread node

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

Publish any deep render and general exr in ayon from houdini karma try to load the deep exr and general exr through the ayon loader in nuke

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

No response

BigRoy commented 2 months ago
  1. Easiest would be to add a separate Load Deep option in loader, but might be poluting things.
  2. Or, is there a simple (lightweight) way to detect from an EXR whether it's deep? Like, could we 'switch on the fly?' in the loader depending on what we find in the EXR?

Would you like to ever load a deep exr into a regular read node?

krishnaavril commented 2 months ago

https://drive.google.com/drive/folders/1a_cMSgq_Fa8Chjq-NwU_7xTyqNGnjnIo?usp=sharing

I've added an exr in the above link to the test. generally, nuke is smart in that it loads the deep exr as a deep node when you drag and drop in the node graph, you can try with the above-sent exrs

image Easiest would be to add a separate Load Deep option in loader, but might be poluting things

I think so, I found one option but that default loads all the exr's as deep read. which is not a good idea. If we have another option when loading it is the best, other than something Nuke detects by file name or something!

I vote for your 2nd point if its possible technically

Would you like to ever load a deep exr into a regular read node? Its not a ideal way of working, they both are lot different and it confuses artists too

jakubjezek001 commented 2 months ago

@krishnaavril, have you tried using the Load Clip option box and enabled Read with deep exr for loading? Did that fail, or is Houdini Karma deep exr somehow specific, causing this process to fail?

krishnaavril commented 2 months ago

image Thanks @jakubjezek001 that did the trick.

any-easy access possible to loading deep files instead changing properties inside?

BigRoy commented 2 months ago

Is that sufficient for productions? :) If so, feel free to close or let us know what's still needed.