Notifications
Clear all

[Closed] texture issue?

hi all, How do you query all the texture name and texture path in my scene? and is it possible to change the texture path using Max Script(of course its possible). If anybody can give me the command that would be awesome.

Thanks All

2 Replies

Originally posted by Technofreak
[B]hi all, How do you query all the texture name and texture path in my scene? and is it possible to change the texture path using Max Script(of course its possible). If anybody can give me the command that would be awesome.

Thanks All [/B]

Here is an OLD script of mine (the original was written around 1998, this is the update for Max 3,4,5,6+)

http://www.scriptspot.com/bobo/mxs2/replacepath/replacepath_11.ms

Note that it appears in the Utility tab>MAXScript Utility
(as in old times since it was originally written for Max 2.x)

Take a look at the code, it collects all textures in the scene and lets you do some magic like full replace, substring replace (for example replace “.JPG” with “.TGA” etc.), force automatic path replacement (when a bitmap path is missing, max searches the specified map paths, so removing the path and leaving the file name only forces exactly this to happen. Leave both fields empty to do so…)

Cheers,

Bobo

thanks man…