Is it available to render passes at diffrent PNG files?

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
jesse_james
Licensed Customer
Posts: 4
Joined: Wed Sep 16, 2015 4:51 am

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?
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
jesse_james
Licensed Customer
Posts: 4
Joined: Wed Sep 16, 2015 4:51 am

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!
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

No problem ;)

Thanks,
-Juanjo
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

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 ?
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

You are right. Sorry, something seems broken if you use the Octane variables with the $F4 token. Investigating ...

-Juanjo
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

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 ?
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

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
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
Post Reply

Return to “Houdini”