Making files portable
Posted 14 June 2012 - 01:58 PM
For instance my work computer only has a C Drive, at home it is my S drive I use; so if I have several pointers in nodes to the C drive and I take it home i have to change the ALL. And that's a lot.
Is there a way to pack a hip and all its contents into a portable package that can be put on another computer without having to change every pointer under the sun? Any help would be appreciated.
Posted 14 June 2012 - 02:12 PM
In Edit->Aliases and Variables->Variables Tab you can set JOB variable to point to some directory. Than in your project you just use this as a folder in which your project searches for files. And if you need make change you just have to go to this menu again and change one letter and project will update.
You can add your own variables too.
BTW: Houdini can read system environment variables too. So you can set your own variable on your home computer to point to some directory, and have the same variable on your work computer point to different directory. And if you use this variable in your project instead of direct path you don't have to touch anything even in menu I mentioned.
Edited by mantragora, 14 June 2012 - 02:40 PM.
Posted 14 June 2012 - 03:39 PM
Posted 15 June 2012 - 07:46 PM
Just wondering in case that trillion dollar a year job comes around.
Posted 16 June 2012 - 03:13 AM
You have a project folder with all sorts of stuff in it
So you have your houdini file in the hips folder, your maps in maps, caches in geo etc...
In your file in nodes (or whatever) have something like ("$HIP/../geo/myCache.$F.bgeo"), that way you can just copy the project folder over to your hard drive and everything should work. If you're relying on external OTLs, you can stick them in the project as well (I think you can also "bake" them into the scene...).
That would make your project portable and should work on any machine running the same version of Houdini...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users