Page 1 of 2
Moving files with materials and textures intact? [SOLVED]
Posted: Tue Apr 19, 2016 8:28 pm
by itsallgoode9
Can somebody help me with the best way to move scenes from one computer to another and keep all referenced textures and materials with it?
Re: Moving files with materials and textures intact? **URGENT**
Posted: Tue Apr 19, 2016 9:07 pm
by whersmy
export as orbx from standalone, and then copy the orbx to a new folder, and unpack there I think

Re: Moving files with materials and textures intact? **URGENT**
Posted: Tue Apr 19, 2016 9:10 pm
by itsallgoode9
thanks for the suggestion, but i'm specifically speaking about doing it to and from maya. sorry if I wasn't clear about that.
Re: Moving files with materials and textures intact? **URGENT**
Posted: Wed Apr 20, 2016 12:25 am
by k.a.schubert
itsallgoode9 wrote:thanks for the suggestion, but i'm specifically speaking about doing it to and from maya. sorry if I wasn't clear about that.
Hi itsallgoode9,
that should be a question for moving maya scenes in general from one PC to another.
Since I don't have so much experience with Maya, I would advise to ask in the Maya forums about that!
Best, Kai
Re: Moving files with materials and textures intact? **URGENT**
Posted: Wed Apr 20, 2016 2:57 am
by icelaglace
Move the project folder, that should be enough. As long as you kept everything tidy in the project.
Re: Moving files with materials and textures intact? **URGENT**
Posted: Wed Apr 20, 2016 3:30 am
by calus
itsallgoode9 wrote:Can somebody help me with the best way to move scenes from one computer to another and keep all referenced textures and materials with it?
The way to do this usually in Maya is to use "Archive scene" in the File menu. This exports all the dependencies with your scene in a zip file preserving folder hierarchy.
(Assuming you have dependencies outside your project and all over your computer )
But it doesn't work for Octane imageTexture nodes...
As a quick fix you can use this script before using the "Archive scene" fonction :
string $nodes[] = `ls -typ octaneImageTexture`;
for ($node in $nodes) {
$node = $node+".File";
string $path = `getAttr $node`;
string $file = `createNode file -n "temp"`;
$file = $file+".fileTextureName";
setAttr $file -type "string" $path;
};
The script create for each Octane imageTexture node a maya texture file node with the same file path, so maya can see the dependencies and create a correct archive.
Re: Moving files with materials and textures intact? **URGENT**
Posted: Wed Apr 20, 2016 2:18 pm
by itsallgoode9
calus wrote:itsallgoode9 wrote:Can somebody help me with the best way to move scenes from one computer to another and keep all referenced textures and materials with it?
The way to do this usually in Maya is to use "Archive scene" in the File menu. This exports all the dependencies with your scene in a zip file preserving folder hierarchy.
(Assuming you have dependencies outside your project and all over your computer )
But it doesn't work for Octane imageTexture nodes...
As a quick fix you can use this script before using the "Archive scene" fonction :
string $nodes[] = `ls -typ octaneImageTexture`;
for ($node in $nodes) {
$node = $node+".File";
string $path = `getAttr $node`;
string $file = `createNode file -n "temp"`;
$file = $file+".fileTextureName";
setAttr $file -type "string" $path;
};
The script create for each Octane imageTexture node a maya texture file node with the same file path, so maya can see the dependencies and create a correct archive.
Thanks, I'll give that a try. That was the problem I was running in to. I tried both archiving and export as FBX but it wasn't liking the octane nodes but hopefully this will work

Re: Moving files with materials and textures intact? **URGENT**
Posted: Wed Apr 20, 2016 3:55 pm
by itsallgoode9
Man, that actually works! Thanks so much for making that script. You made my life a hell of a lot easier. Hopefully they'll look at building some sort of scene packager that works with Octane as they update the plugin
Re: Moving files with materials and textures intact? **URGENT**
Posted: Wed Apr 20, 2016 5:22 pm
by calus
itsallgoode9 wrote:Man, that actually works! Thanks so much for making that script. You made my life a hell of a lot easier.

Re: Moving files with materials and textures intact? [SOLVED]
Posted: Mon Apr 25, 2016 10:42 pm
by k.a.schubert
Thanks from me as well calus!
Can't look at this right now, but added a ticket to my bugtracker.
