Moving files with materials and textures intact? [SOLVED]

Forums: Moving files with materials and textures intact? [SOLVED]
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Moving files with materials and textures intact? [SOLVED]

Postby itsallgoode9 » Tue Apr 19, 2016 8:28 pm

itsallgoode9 Tue Apr 19, 2016 8:28 pm
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
itsallgoode9
Licensed Customer
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Re: Moving files with materials and textures intact? **URGENT**

Postby whersmy » Tue Apr 19, 2016 9:07 pm

whersmy Tue Apr 19, 2016 9:07 pm
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
mac pro g5| pentium g2030 iGPU| maximus extreme V| 2x gtx590 - 8gb - SSD - win7-x64- 1500W Silverstone|
x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments
User avatar
whersmy
Licensed Customer
Licensed Customer
 
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

Re: Moving files with materials and textures intact? **URGENT**

Postby itsallgoode9 » Tue Apr 19, 2016 9:10 pm

itsallgoode9 Tue Apr 19, 2016 9:10 pm
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
itsallgoode9
Licensed Customer
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Re: Moving files with materials and textures intact? **URGENT**

Postby k.a.schubert » Wed Apr 20, 2016 12:25 am

k.a.schubert Wed Apr 20, 2016 12:25 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
k.a.schubert
OctaneRender Team
OctaneRender Team
 
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am

Re: Moving files with materials and textures intact? **URGENT**

Postby icelaglace » Wed Apr 20, 2016 2:57 am

icelaglace Wed Apr 20, 2016 2:57 am
Move the project folder, that should be enough. As long as you kept everything tidy in the project.
http://icelaglace.com
User avatar
icelaglace
OctaneRender Team
OctaneRender Team
 
Posts: 168
Joined: Thu Jul 05, 2012 11:59 am

Re: Moving files with materials and textures intact? **URGENT**

Postby calus » Wed Apr 20, 2016 3:30 am

calus Wed Apr 20, 2016 3:30 am
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
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Moving files with materials and textures intact? **URGENT**

Postby itsallgoode9 » Wed Apr 20, 2016 2:18 pm

itsallgoode9 Wed Apr 20, 2016 2:18 pm
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
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Re: Moving files with materials and textures intact? **URGENT**

Postby itsallgoode9 » Wed Apr 20, 2016 3:55 pm

itsallgoode9 Wed Apr 20, 2016 3:55 pm
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
itsallgoode9
Licensed Customer
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Re: Moving files with materials and textures intact? **URGENT**

Postby calus » Wed Apr 20, 2016 5:22 pm

calus Wed Apr 20, 2016 5:22 pm
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
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Moving files with materials and textures intact? [SOLVED]

Postby k.a.schubert » Mon Apr 25, 2016 10:42 pm

k.a.schubert Mon Apr 25, 2016 10:42 pm
Thanks from me as well calus! :)

Can't look at this right now, but added a ticket to my bugtracker. ;)
k.a.schubert
OctaneRender Team
OctaneRender Team
 
Posts: 137
Joined: Mon Feb 22, 2016 2:52 am
Next

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 9 guests

Sat Apr 20, 2024 4:21 am [ UTC ]