ynput / ayon-houdini

Houdini addon for AYON
Apache License 2.0
7 stars 6 forks source link

Houdini USD Render Rop publish when DCM is enabled #105

Open krishnaavril opened 2 days ago

krishnaavril commented 2 days ago

Is there an existing issue for this?

Current Behavior:

*If the DCM is off, its publishing the beauty(this is good)

image

Expected Behavior:

(adding beauty in DCM is possible, however it increases the files size dratically)

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

Publish the karma renders withDCM using USDRenderRop (You will not see bty)

Are there any labels you wish to add?

Relevant log output:

No response

Additional context:

No response

BigRoy commented 2 days ago

Thanks for the report.

The logic that "identifies" what the AOV name is - is defined here.

For context: DCM are Deep Camera Maps.

What are the rendervars specified for the DCM render product? I have myself not used DCM before - what's the usual use case to render it? And especially, why are you rendering BOTH the DCM and the and the regular render? Isn't the DCM essentially the regular render but WITH deep data?


A workaround for now would be to use two USD render ROPs, one for the DCM, one for the other.

krishnaavril commented 2 days ago

Thanks for the comment @BigRoy

Studios especially in Highend- live action-VFX completely works with deep data it is the very essential thing. In general, we provide general EXR and deep EXR separately coz of ~ Deep is very heavy in size. depending on scene, adding AOVs inside deep will be lot lot bigger. So we render both separately and compositors will use deep only when required(to optimize the nuke script), so it's better to avoid AOVs in deep and provide the necessary passes in EXR, this technique is vastly used by major companies.

What are the rendervars specified for the DCM render product? No rendervars for better workflow

why are you rendering BOTH the DCM and the and the regular render? We can't render deep alone, there will be always beauty it renders with it

A workaround for now would be to use two USD render ROPs, one for the DCM, one for the other. This is great suggestion, but the render time will be increased.

We managed to change our OTL in a way that bty and DCM split and gives two different outputs for publishing

BigRoy commented 2 days ago

What are the rendervars specified for the DCM render product? No rendervars for better workflow

A render product ALWAYS has rendervars, otherwise there's nothing to render. ;) Looking at where the logic fails, I suspect it definitely has more than one render var. So the question remains, which?

We can't render deep alone, there will be always beauty it renders with it

Isn't the "deep" embedded INTO the file? So yes - it always renders the AOVs along. In this case, aren't you better off just rendering the DCM sequence, and if you want a lighter sequence without deep - to then remove the deep metadata?

We managed to change our OTL in a way that bty and DCM split and gives two different outputs for publishing

Sorry, did it solve this error? And if so, how?

krishnaavril commented 18 hours ago

We avoid render vars in Deep, deepexr will carry only deep data - coz of file size issues with deep General exrs carry all the render vars incl utilities,crypto etc

Sorry, did it solve this error? And if so, how? In our own render OTL, we segregated Bty and deep with different render settings node(each have there own render products) and they both output two extra streams in the OTL. they will used for publishing only. (We are hoping this is a temporary solution until the deep gets properly published through the ayon and loads properly in nuke)