Jump to content

Houdini.env: $JOB, $HIP and $HOUDINIHOME


BenWall

Recommended Posts

Hi,

I'm sure this question has been asked many time, but I can't find a clear and concise answer, and SideFX tutorials either have dead url or do not respond to the question.

What I'm trying to achieve:

I want to set $JOB, $HIP and $HOUDINIHOME variables once and for all.

- Setting up $JOB and $HIP should allow me to save a lot of time every time I need to save something, as Houdini explorer will use those path as default.

- (I'm really not sure about this one) Setting up $HOUDINIHOME should allow me to have a secure place where all my preferences, hda etc are stored. I should be able to copy them easily between computers.

 

Where I'm stuck:

I read there are different solutions to setup those variable: changing the OS Environment Variables, with python... I just want to modify houdini.env, as it seems less intrusive.

On windows, houdini.env should be here:  C:\Users\*USERNAME*\Documents\houdini*VERSION*\houdini.env

I typed those variables:

Quote

HOUDINIHOME = "D:/Boulot/houdini"
JOB = "D:/Boulot/houdini/default"
HIP = "/scenes"
TEXTURES = "/sourceimages"

But while Houdini successfully changed $JOB, default $HIP is still the same.

 

Can anyone explain to me exactly how to setup those variables with houdini.env?

Link to comment
Share on other sites

  • 3 months later...

I am new to this though $HIP is your current scene path. So if you save a scene somewhere else it will change to that dir.

Dont think you can set it permanently. Its used by Houdini all over the place while working.

As far as TEXTURES goes, once you have set JOB="/dir", you can type

TEXTURES=$JOB/sourceimages

and that would make houdini aware of $TEXTURES variable. So to load a bitmap.jpg in a shader type in

$TEXTURES/bitmap.jpg

You should also add $TEXTURES to houdini browser for convenience.

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...