Page 1 of 1

Is it available to render passes at diffrent PNG files?

Posted: Wed Jul 13, 2016 11:50 am
by jesse_james
Hi, everyone!

I hadn't find an answer in docs, but anyway. Is it possible to render passes separetly into diffrent PNG files and what variable I must use to do so? Maybe there is $PASS, something like that?)
Or I can use only EXR format for this purpose?

Re: Is it available to render passes at diffrent PNG files?

Posted: Wed Jul 13, 2016 12:21 pm
by juanjgon
Yes, from the docs:
https://docs.otoy.com/Houdini/?page_id=928

Image file path/prefix
The image where the resulting image will be rendered. Include $F in the file name to insert the frame number.
The file name also supports the custom $OCTANE_PASS variable to add the render pass code, and the custom $OCTANE_LAYER variable to add the current rendered layer ID.



-Juanjo

Re: Is it available to render passes at diffrent PNG files?

Posted: Wed Jul 13, 2016 1:56 pm
by jesse_james
juanjgon wrote:Yes, from the docs:
https://docs.otoy.com/Houdini/?page_id=928

Image file path/prefix
The image where the resulting image will be rendered. Include $F in the file name to insert the frame number.
The file name also supports the custom $OCTANE_PASS variable to add the render pass code, and the custom $OCTANE_LAYER variable to add the current rendered layer ID.



-Juanjo
Oh, my bad!! :oops:

Thx a lot for Ur work juanjgon!

Re: Is it available to render passes at diffrent PNG files?

Posted: Wed Jul 13, 2016 2:19 pm
by juanjgon
No problem ;)

Thanks,
-Juanjo

Re: Is it available to render passes at diffrent PNG files?

Posted: Mon Aug 15, 2016 4:55 pm
by gui2one
yeah ... looks like it should be easy, but it really not !

I am trying to save a simple beauty and Z depth pass on an animation .
I 've been fighting for half an hour now, and tried almost everything :

the output file path is something like $HIP/folder/frame_$OCTANE_PASS.$F4 ( leaving the extension to the plugin )
the plugin either saves only the Z pass , with no mention of $OCTANE_PASS in the name
OR, saves both passes, but without mention of $F4 ( which naturally means it overwrites the same file over and over)

I tried different formatting for the string path , replacing "_" by ".", or inserting some {}
how can I make it work ?

Re: Is it available to render passes at diffrent PNG files?

Posted: Mon Aug 15, 2016 5:06 pm
by juanjgon
You are right. Sorry, something seems broken if you use the Octane variables with the $F4 token. Investigating ...

-Juanjo

Re: Is it available to render passes at diffrent PNG files?

Posted: Wed Aug 17, 2016 10:02 am
by gui2one
thanks Juanjo.
by the way , I've been using the multilayer EXR instead , and I had to uncheck "asynchronous file save" otherwise some of the passes in exr output file were just black.

How come these exr files are not compatible with Houdini Cops ?

Re: Is it available to render passes at diffrent PNG files?

Posted: Wed Aug 17, 2016 10:22 am
by juanjgon
I am still investigating the variables issue ...

I am not sure why the EXR files are not compatible with the Houdini Cops, the EXR files are saved using the Octane native EXR file functions. Perhaps there is a compatibility issue with some parameters. Do you get any error, or the file simple doesn't load at all?

-Juanjo

Re: Is it available to render passes at diffrent PNG files?

Posted: Fri Aug 19, 2016 5:38 pm
by juanjgon
the output file path is something like $HIP/folder/frame_$OCTANE_PASS.$F4 ( leaving the extension to the plugin )
the plugin either saves only the Z pass , with no mention of $OCTANE_PASS in the name
OR, saves both passes, but without mention of $F4 ( which naturally means it overwrites the same file over and over)
Well, one of the problems is that the Octane API crops the .$F4 extension to add the file extension (perhaps because it thinks that for example a ".0001" is a wrong extension)

Can you please try the same scene adding the file extension? In your case $HIP/folder/frame_$OCTANE_PASS.$F4.png ... it should work fine.

Thanks,
-Juanjo

Re: Is it available to render passes at diffrent PNG files?

Posted: Sat Sep 03, 2016 9:00 am
by gui2one
Hey Juanjo, sorry I didn't see your answer before.

I just tried it, and it works fine. I don't know why I didn't try to add the extension myself, it was silly of me . :oops:

thanks a lot