Houdini ocean geo cache render issues

Post Reply
tpolson01
Posts: 8
Joined: Sat Mar 16, 2019 1:05 am

Houdini ocean geo cache render issues

Post by tpolson01 » Thu Dec 26, 2019 3:05 am

I am rendering scene with a large ocean from the shelf. I am pretty sure all my paths are correct using the $HIP variable and using a specific project directory. When I render mantra to disk, it renders fine. When I render afanasy, ocean has no geometry. Just the grid.
It was render correctly at one point, but I don't understand if afanasy needs additional info to make sure everything point to the carrect project folder.
This submitting from inside Houdini 18.
Thanks. Sorry if this was asked before.

User avatar
timurhai
Site Admin
Posts: 581
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini ocean geo cache render issues

Post by timurhai » Thu Dec 26, 2019 9:55 am

Hi.

Afanasy does not needs any additional info.
It event does not care about Houdini, oceans and any cache.
Afanasy just run commands.

First of all, you should read task process output, may there is some warning message like "can't get cache file from path".

There can be lots of reasons, when the result, rendered from GUI, and the result, rendered by command, are differ.
Such cases better to debug running command, that afrender runs, manually.
You can get(copy) task command and run(paste) it in terminal.

Be sure, that you are running terminal by the same user that afrender runs by.
Different users can have differ permissions and environment.
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

tpolson01
Posts: 8
Joined: Sat Mar 16, 2019 1:05 am

Re: Houdini ocean geo cache render issues

Post by tpolson01 » Fri Dec 27, 2019 6:03 am

I think I narrowed it down to the $HIPNAME variable in the cache path. I noticed Afanasy adds the file extension to the folder name I am rendering to. If my scene is "scenename.hip", my output folder should be "scenename" in my render folder. Afanasy makes it "scenename.hip". Maybe that is confusing the file path to cache. If i replace $HIPNAME with actual folder name the cache files are in, it works.
Is there a way I can eliminate the extension?

User avatar
timurhai
Site Admin
Posts: 581
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini ocean geo cache render issues

Post by timurhai » Fri Dec 27, 2019 9:29 am

Hi.
When you press "Submit" button on the Afanasy ROP, it saves scene to some temporary name to render.
This allows artist to continue working (changing) current scene, while render farm will render some other file that should not be changed during render.
For this behavior stands "Render Temporary HIP File" check box, that is turned on by default.
You can turn it off, change the default value.
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

tpolson01
Posts: 8
Joined: Sat Mar 16, 2019 1:05 am

Re: Houdini ocean geo cache render issues

Post by tpolson01 » Fri Dec 27, 2019 7:08 pm

I had render temp file off. if i turn it on, i get, .1227-103741-315.hip for render name and .1227-103741-315.hip.mantra1.xxxx.exr for the files because I am using the $HIPNAME variable. I think what is happening is afanasy is changing what Houdini expects to see as the $HIPNAME so the paths are incorrect when trying to render.

User avatar
timurhai
Site Admin
Posts: 581
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Houdini ocean geo cache render issues

Post by timurhai » Sun Dec 29, 2019 9:34 am

You can try to print somewhere $HIPNAME on different stages.
Also, to catch that bug is definitely with $HIPNAME, you can try to use it.
Timur Hairulin
CGRU 2.4.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests