Reload all textures in a Material?

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

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

Is there a way we can reload all textures in a material/mix material at once? It's pretty cumbersome and error prone to have to manually reload each texture in a material when you update textures/masks. For example, right now I have a mix material which has like 10 textures in it and every time I adjust the textures/masks, I have to find all 10 textures in the hypershade and manually reload. 7/8th of my time is spent finding/selecting textures and hitting reload. SERIOUS waste of time.

If not possible right now, is there a way to add that option somehow? I don't know MEL or Python very well, but that should be able to be done pretty easily that way, correct? Even though that's somewhat of a Band-Aid it if someone has a script like that, it would be helpful.
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
blackshore
Licensed Customer
Posts: 117
Joined: Wed Jul 31, 2013 6:22 pm

What do you mean by reload?
Is your texture path changed or did you update the files and the shader does not update?
If the path haven't been changed you can restart maya. It should then reload all textures.
If the path have changed then you'll need to script or a plugin that does that.
itsallgoode9
Licensed Customer
Posts: 893
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City
Contact:

I just mean refresh the texture loaded into a material once I make an adjustment in photoshop. If I don't manually reload the texture (right click on texture->reload or press the "reload" button in the texture node) it doesn't update in the render.
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
blackshore
Licensed Customer
Posts: 117
Joined: Wed Jul 31, 2013 6:22 pm

http://www.creativecrash.com/maya/scrip ... e-reloader
You might need to edit the mel somewhat
Post Reply

Return to “Autodesk Maya”