Idris Miles

Idris Miles

About Me

EXPERTISE
Developer
INDUSTRY
Film/TV

Connect

LOCATION
United Kingdom
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

using optix denoiser in batch mode March 26, 2019, 11:52 a.m.

Hey,

Is it possible to use the optix denoiser through mantra on the command line to batch denoise an image sequence?

Ideally I would like to be able to render the scene with mantra on a CPU farm.
Then run the optix denoise as a second task on a GPU farm taking the output of the mantra render as input.

Has anyone had any luck doing this? Trying to avoid having to compile my own standalone optix app..

Thanks in advance!

Abort save if beforescenesave.py fails Oct. 12, 2017, 8:06 a.m.

Ah that's a shame.

For anyone that may have had the same issue my work around is to override Houdini's default Save with a custom Save.

- Remove save using
<removeItem id="h.save"/>
in MainMenuCommon.xml
- Add custom save in MainMenuCommon.xml
<scriptItem id="h.custom_save"> ...
- override the Ctrl+S hotkey in the HotkeyOverrides file
h.custom_save   Save    "Validate and save current file"    Ctrl+S

Now I can validate and save my scene if validation passes in the script I pass to the custom save menu item.

Abort save if beforescenesave.py fails Oct. 3, 2017, 10:13 a.m.

Is there a way to abort Houdini saving the scene if something in my beforescenesave.py script fails?

At the moment any errors I raise don't abort the actual save, I see them being raised in the output to the terminal. I would like to perform some validation on the scene before it's saved and if it is successful go ahead with the save, otherwise abort.

I'm trying the following in my beforescenesave.py:

from myModule import validate_scene

if not validate_scene(kwargs['file']):
    kwargs['success'] = False
    raise RuntimeError('Failed validation')

Thanks in advanced.