Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / Autodesk 3ds Max / 3ds Max Design 2012 / How can I re-path a material library with Bitmap/Photometric paths editor?
  RSS 2.0 ATOM  

How can I re-path a material library with Bitmap/Photometric paths editor?
Rate this thread
 
63852
 
Permlink of this thread  
avatar
  • Boing
  • Posted: 24 January 2012 11:34 PM
  • Total Posts: 46
  • Joined: 30 November 2007 12:47 PM

I have a bunch of material libraries that need to be re-pathed as I have moved my textures, the Bitmap/Photometric paths editor has a tickbox that says “include material library” which leads me to believe that it will list, for re-pathing, all materials in my library.

However, it doesn’t seem to do anything for me even though the library i need to re-path is loaded into my Material/map browser. Am I missing something obvious here? I don’t really want to spend days doing each material by hand.



Replies: 1
/userdata/avatar/345m67gtb.png

What do you get when you open that utility with that option checked?
Remember, it only maters if those materials are used in the scene, otherwise why do you need them in that file...?

Author: Doughboy12

Replied: 25 January 2012 12:21 AM  
avatar
  • Boing
  • Posted: 25 January 2012 12:38 AM

If I open the bitmap path editor after ticking the “include material library” box, the editor opens but is empty.

The reason I’m doing this is that I’ve built up material libraries over time which won’t work as I’ve re-organised my textures files. I was looking at a way to re-path all my old mat libs to avoid any future problems during deadlines. It’s not just a specific job that I’m doing this for.



Replies: 1
/userdata/avatar/345m67gtb.png

It’s empty because there are NO materials in your scene.
The system doesn’t work like that...it doesn’t take but 10 seconds so shouldn’t cost you much time, unless you forget to do it on an old scene or when merging in assets.

Author: Doughboy12

Replied: 25 January 2012 12:43 AM  
avatar
  • Boing
  • Posted: 25 January 2012 12:56 AM

From the help file.

“Include Material Library
When on, the Bitmap Path Editor dialog shows materials in the current material library, as well as those assigned to objects in the scene. Default=off.”

Originally I saw the path editor as you say, to edit materials used in the scene but that sentence in bold seems to imply soemthing different. It seems to say that the editor will list materials used in the secene as well as those listed in the library.

I know it’s a quick thing to do during a job but I’d rather sort out the libraries once than have to do this to every job I ever work on for the next 10 years or so.



Replies: 1
/userdata/avatar/345m67gtb.png

The bold sentance say EXACTLY that...objects in the scene.
Add the new path to the default paths and you should never see a problem.
The program will find them for you.

Author: Doughboy12

Replied: 25 January 2012 01:02 AM  
avatar

Add the path here;



3ds Max 9 thru 2013
Windows 7 Enterprise 64-bit OS SP1
Dual Intel® Xeon® 6 core X5650 @ 2.67GHz CPU 36GB RAM
NVIDIA Quadro 4000
450GB HDD (x3) and 2TB HDD

3ds Max 2012 Certified Professional Models to Motion

Attachment Attachment
Replies: 0
avatar
  • Boing
  • Posted: 25 January 2012 01:07 AM

Yes, it says that the path editor should list the contents of the material library...........as well as those in the scene. That’s what I’m posting about, it will ONLY list what’s in the scene, it will not list what’s in the library. If the function doesn’t do what I need that’s fair enough but it looks and sounds like it should.



Replies: 1
/userdata/avatar/345m67gtb.png

Maybe you made the wrong text bold, and I was confused...anyway, if you strip the paths it will look in the paths that you have in the list.

The part before the bold says something about the “current” material lib…whatever that is.

It is also my guess that if it has a path, it starts looking in that path, if it doesn’t find it, then it looks in the directories from the list. That is a guess and how I would “expect” it to work but that is not always how the program works, meaning how I expect it to work.

Author: Doughboy12

Replied: 25 January 2012 03:43 AM  
avatar
  • Boing
  • Posted: 25 January 2012 01:15 AM

I’ve added the new locations Doughboy, thanks, just wasn’t sure if Max would grab the textures automatically no matter where thet were. If it does then I’ll just leave the Mt Libs.

Thanks for the feedback.



Replies: 0
avatar

Since material libraries are a subset of the 3ds max file format you may be able to script a solution using the Asset Metadata access to the scene assets. This would, in theory, allow you to alter the path through automation, without the need to open and edit every file.

Unfortunately, I don’t have time to attempt to create this script at this time. If I do find some free time I will see if I can help you and post back.

-Eric



Eric Craft
“The Evil Monkey hiding in your closet.”

Replies: 1
/img/forum/dark/default_avatar.png

Thanks monkey, i’ll look into that.

Author: Boing

Replied: 25 January 2012 11:41 PM