Jump to content

(novice) $JOB vs $HIP


Recommended Posts

Most of the default pathing in houdini seems to make use of $HIP. But using a 'hip' subfolder to save your scenes when setting up your project IMHO keeps things better organized.

Then its simply a matter of replacing $HIP with $JOB whenever it comes up.

Is this simply subjective and a user preference or is there another reason why it makes sense to use $HIP?

 

Link to comment
Share on other sites

For simple scenes I just use $HIP.

If I know I am going to work on a larger project with shared assets between scenes I will take the time to make a File/New Project and then save into that project folder. Then you can use $JOB. If you add a new .hip file to the project you have to remember to File/Set Project to that folder. The setting of the project actually assigns the $JOB to that path.

I am sure different studios have different rules about that.

Edited by Atom
Link to comment
Share on other sites

  • 2 years later...

But that assumes that it's just in the first subfolder of "scenes". In larger projects there might be several subfolders and the way of dealing with it by going up one level won't lead to the correct directory.

I haven't fully understand how to set up the $JOB variable yet. People seem to set it up in their houdini.env file, which doesn't make any sense to me since this is global, right? I switch projects many times a day, so this needs to be setup somewhere in the scene itself. So, how and where is it done?

Cheers
Tom

Link to comment
Share on other sites

  • 4 weeks later...

I've recently started using the QLib environment_ql node, which simplifies setting the $JOB variable, among many other things.  And since the variable is being set in a node, you can copy this from scene to scene in a project, instead of having to remember to set the $JOB variable.  Also saves time from having to remember, what can sometimes be, pretty lengthy filepaths at some studios.

Once installed, drop down an environment_ql node in the OBJ context.  In the Variables tab, set the Value to point to your job filepath, and then hit the Override button side the Name: JOB variable to set.  You can use the Refresh Now button at the top of the parameter window to refresh the system variables, just to be safe that the variable has been set.  You can also use the interface to add new variables.

The whole QLib package is insanely helpful!  You can grab the files from their GitHub page: https://github.com/qLab/qLib

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...