Houdini tiled rendering problems with Image Planes

Post Reply
IPAnimation
Posts: 4
Joined: Fri Sep 22, 2017 11:43 am

Houdini tiled rendering problems with Image Planes

Post by IPAnimation »

Hi,

We are having issues with tiled renders not writing out the images planes that are present in scene. Doing a local render or non-tiled submission with Afanasy works as expected.

Looking at the tile renders generatedby the job before the stitch, it appears that whilst there is a separate .exrfile written out for every tile named "filename.exr.tile_1.exr" for example for tile #1, this contains no image plane information. We also have a file namedsimply "filename.exr" which does have embedded image planes but seems to be being written to by each node that is rendering a tile, simultaneously and is always unreadable.

Is this correct behaviour and does Afanasy actually support tiled rendering with image planes in Houdini? I would have thought that each separate tile .exr would contain all of the required image planes for the stitched image.

If you can shed any light on what we may be doing incorrectly that would be appreciated.
thanks
Tom
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini tiled rendering problems with Image Planes

Post by timurhai »

Hi.
We use Afanasy-Houdini tile render periodically.
Several image planes (we write all planes in one exr) works fine too.
So we should look at your problem more detailed.

How do you submit job?
What options Afanasy ROP node has?
What job was generated?
What are tasks outputs?
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
IPAnimation
Posts: 4
Joined: Fri Sep 22, 2017 11:43 am

Re: Houdini tiled rendering problems with Image Planes

Post by IPAnimation »

I forgot to say, this is using Afanasy 2.2.2 and Houdini 16.0.557

thanks
IPAnimation
Posts: 4
Joined: Fri Sep 22, 2017 11:43 am

Re: Houdini tiled rendering problems with Image Planes

Post by IPAnimation »

The following are all enabled on Afanasy ROP.

Enable Seperate Render
Run ROP
Read Paramaters from ROP
Delete EOP files on Deletion
Use temp Images Folder
Tile Ren

The job is submitted from within Houdini, using the submit tab on the afanasy ROP.

There are three blocks generated in the job,
1: IFD generation (we only have one machine with Houdini Engine for IFD generation)
2: tile renders
3: stitch

The ifd is generated, the tiles render and final is stitched, so all appears to work but the final stitched image has no image planes embedded. Looking at the tiles as they render, they also have no image planes. During the tile rendering there is an extra file initially generated "filename.exr" that does have image planes (can pull this into Nuke but is always blank but does have the image planes listed). I'm assuming that internally mantra does not know to render the image planes to the file with the tiled .exr suffix? Not sure how to go about fixing that....assuming it's embedded within the afanasy mantra scripts?
Last edited by IPAnimation on Fri Sep 22, 2017 1:14 pm, edited 3 times in total.
IPAnimation
Posts: 4
Joined: Fri Sep 22, 2017 11:43 am

Re: Houdini tiled rendering problems with Image Planes

Post by IPAnimation »

Any ideas anyone? I'm not overly technical so struggling to pinpoint the cause or come up with a solution.
thanks.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini tiled rendering problems with Image Planes

Post by timurhai »

Hi.

I can just say that it works for me. Houdini is 15.5.
I never managed to launch Houdini 16 yet.
May be OpenEXR version changed, may be anything else.

You can try "native" Houdini tile render.
( to automate it, you can use wedge )
After render, you can stitch tiles in compositing soft.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
bazarus
Posts: 15
Joined: Mon Jun 19, 2017 2:34 pm

Re: Houdini tiled rendering problems with Image Planes

Post by bazarus »

Same problem. Afanasy Render beauty and join exr well but missed Image Planes in tile exr and joined exr.

Code: Select all

X:\houdini\16.5.571>python X:\cgru\plugins\houdini\mantrarender.py c 4 4 0 -R -f X:/..path_hidden.._env_v029.1001.exr.ifd 
[14:45:00] Loading IFD from X:/..path_hidden.._env_v029.1001.exr.ifd
[14:45:00] mantra Version 16.5.571 (Compiled on Aug 22 2018)
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
Mantra plane filename:
X:/..path_hidden.._env_v029.1001.exr.tile_0.exr
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
FilterPlane = "X:/..path_hidden.._env_v029.1001.exr"
[14:45:02] Generating Image: X:/..path_hidden.._env_v029.1001.exr (1024x540)
[14:45:02] Plane[C]: 0 Cf+Af[4] (16-bit float)
[14:45:02] Plane[indirect_diffuse]: 0 indirect_diffuse[3] (16-bit float)
[14:45:02] Plane[indirect_reflect]: 0 indirect_reflect[3] (16-bit float)
[14:45:02] Plane[direct_diffuse]: 0 direct_diffuse[3] (16-bit float)
[14:45:02] Plane[direct_reflect]: 0 direct_reflect[3] (16-bit float)
[14:45:02] Plane[Pz]: 0 Pz[1] (16-bit float)
[14:45:02] Plane[__mask_02]: 0 __mask_02[3] (16-bit float)
[14:45:02] Plane[__mask_01]: 0 __mask_01[3] (16-bit float)
[14:45:02] Plane[__mask]: 0 __mask[3] (16-bit float)
[14:45:02] Plane[direct_shadow]: 0 direct_shadow[3] (16-bit float)
[14:45:02] Plane[indirect_emission]: 0 indirect_emission[3] (16-bit float)
[14:45:02] Plane[direct_emission]: 0 direct_emission[3] (16-bit float)
[14:45:02] Plane[lights_gym_warm_direct_diffuse]: 0 direct_comp[3] (16-bit float)
[14:45:02] Plane[lights_gym_warm_direct_reflect]: 0 direct_comp[3] (16-bit float)
[14:45:02] Plane[lights_gym_cold_direct_diffuse]: 0 direct_comp[3] (16-bit float)
[14:45:02] Plane[lights_gym_cold_direct_reflect]: 0 direct_comp[3] (16-bit float)
....
ALF_PROGRESS 100%
[14:45:47] Frame Wall Clock Time: 0:00:47.64
[14:45:47] Total Wall Clock Time: 0:00:47.64
[14:45:47] Total CPU Time: 0:00:17.61
[14:45:47] System CPU Time Only: 0:00:02.15
[14:45:47] Peak Memory Usage: 6.59 GB

X:/..path_hidden.._env_v029.1001.exr EXR 1024x540 1024x540+0+0 16-bit RGB 999KB 0.031u 0:00.062

Joined EXR image successfully written.
I tried enable/disable all settings - No changes

EXR was combined on linux ubuntu 16.04 LTS
Afanasy 2.2.3 . Server - Ubuntu 16.04.3 LTS. Clients - Windows 7 SP1
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini tiled rendering problems with Image Planes

Post by timurhai »

It seems that something changed since 15.5.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply