ahfx

ahfx

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

define node types in python Oct. 29, 2019, 1:39 p.m.

I've noticed that definitions for pdg node types are written in python, they can be found in $HFS/houdini/pdg/types

Are there any plans to make this possible with other node types? I would like to define HDAs with python, to make things easier from an automation / maintenance perspective.

Expand and Collapse Hip files on windows Aug. 8, 2019, 4:04 p.m.

Hi I would like to expand, edit, and then collapse .hip files on windows.

I have made attempts to use hexpand, hcollapse, and hcpio.

hexpand gives me a segmentation fault, and what I've gathered from this thread is that it doesnt work on windows: https://www.sidefx.com/forum/topic/45502/?page=1#post-234497 [www.sidefx.com]

I can get my .hip expanded with hcpio… but I am having troubles collapsing it. Right now I am manually creating a contents file, but I am unsure of the format. If I just list the expanded files in the contents file and collapse it, I get a hip file, with my top level nodes, but no contents inside them and unrecognized parameters errors for all the parms.

localisation Aug. 8, 2019, 11:41 a.m.

This is a topic I have been thinking about. I know people would have to deal with this when rendering on the cloud. So I am curious to know what solutions are out there. I am not familiar with how nuke handles this.

For OTLS you can leverage scan paths.. ie get all of the OTLS in your scene and then place a copy of them into something like $HIP/otls

For all other external references you could use variables in paths. $REMOTE_OR_LOCAL_DRIVE/path/to/cache
Then update $REMOTE_OR_LOCAL_DRIVE as needed. You would have to ensure all paths are prefixed with that variable. It would be easy for someone to place a read node and point it to a cache without knowing about that variable.

The trick I am interested in is knowing what external references exist before loading the scene. Which I suppose you could handle by saving a ‘sidecar’ with your houdini scene every time you save, a text file containing all the external references in your scene. This is a little anoying because its another thing to manage and ensure is up to date/

Then on your farm or remote machine before you load houdini:
# check the sidecar
# copy the external files to the remote machine if they are out of date
# update REMOTE_OR_LOCAL_DRIVE to your remote drive root
# load your scene and render

Should work, thoughts?