Idris Miles

Idris Miles

About Me

専門知識
Developer
業界:
Film/TV

Connect

LOCATION
United Kingdom
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

using optix denoiser in batch mode 2019年3月26日11:52

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 2017年10月12日8:06

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 2017年10月3日10:13

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.