Moving files with materials and textures intact? [SOLVED]

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

itsallgoode9
Licensed Customer
Posts: 893
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City
Contact:

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?
Last edited by itsallgoode9 on Wed Apr 20, 2016 5:25 pm, edited 1 time in total.
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

export as orbx from standalone, and then copy the orbx to a new folder, and unpack there I think :)
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
itsallgoode9
Licensed Customer
Posts: 893
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City
Contact:

thanks for the suggestion, but i'm specifically speaking about doing it to and from maya. sorry if I wasn't clear about that.
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
k.a.schubert
OctaneRender Team
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

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
User avatar
icelaglace
OctaneRender Team
Posts: 168
Joined: Thu Jul 05, 2012 11:59 am
Contact:

Move the project folder, that should be enough. As long as you kept everything tidy in the project.
http://icelaglace.com
calus
Licensed Customer
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

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.
Pascal ANDRE
itsallgoode9
Licensed Customer
Posts: 893
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City
Contact:

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 :)
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
itsallgoode9
Licensed Customer
Posts: 893
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City
Contact:

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
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
calus
Licensed Customer
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

itsallgoode9 wrote:Man, that actually works! Thanks so much for making that script. You made my life a hell of a lot easier.
;)
Pascal ANDRE
k.a.schubert
OctaneRender Team
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

Thanks from me as well calus! :)

Can't look at this right now, but added a ticket to my bugtracker. ;)
Post Reply

Return to “Autodesk Maya”