PDA

View Full Version : Search and replace bitmaps


Jed
09-16-2002, 01:01 PM
Does anyone know of a script that would do a search and replace operation on bitmaps assigned to a MAX scene ?
I modeled this character without paying much attention to how I named my texture files- arm.jpg , forearm.jpg , etc ... Now I want to merge it in a scene that contains textures with the same name. I can modify my characters bitmap names to say char_arm.jpg , etc ... but I would like to find a way to replace them in my MAX scene.
Does that make sense ? I have more than 50 bitmaps in my scene that make 150+ entries in the material editor, so I'd really appreciate if there was a way to avoid reassigning everything by hand :D
I looked up on scriptspot and TDP but could not find anything.

gaggle
09-17-2002, 08:54 AM
Your question got stuck in the back of my head, I pondered of a way to solve your problem all of yesterday :)

..and all I can come up with is "do it via MAXScript" :shrug:. The script-tutorials that comes with MAX (well at least MAX5) has some stuff on ways to rename a bunch of objects via a simple MAXScript command.

It seems to me that you could use the same technology to rename bitmap-paths...

Sorry I can't help you with specifics though, all I know of MAXScripting so far is to make things happen based on an "if/then" statement :o)

Jed
09-17-2002, 09:26 AM
Yeah I guess that's the way to do it. I was just checking if someone had already written this.
But thanks a lot anyway.

swami
09-17-2002, 11:21 PM
http://www.scriptspot.com/download.asp?ID=1105
http://www.blur.com/blurbeta/blurmaxscripts
"
ChangeBitmaps 1.12 3ds max 4.x 6/28/2002 Downloads: 369
Allows you to do search and replace in the names of bitmaps in your scene.
version 1.12: Can now perform script on the current Material Library.
Written by Blur Studio.
"

http://www.scriptspot.com/download.asp?ID=318
http://www.scriptspot.com/bobo
"
Replace MapPaths 1 MAX 2.5, 3.x 8/29/1999 Downloads: 97
ONLY Lets you replace substrings or whole paths of Bitmaps. Enter both Old and New string to replace only substring Enter only New string to replace the whole path with the new string Don't enter anything to remove all paths from all bitmaps. MAX will loo
Written by Borislav Petrov.
"

http://www.scriptspot.com/download.asp?ID=308
http://www.scriptspot.com/bobo
"
TextureReplacer 1 MAX 3.x 3/24/1999 Downloads: 177
MAX 2.x version available Lists all texture bitmaps in the scene. Lets you set a list of alternative bitmaps and replace existing bitmaps with new bitmaps from the list.
Written by Borislav Petrov.
"

Chris
09-18-2002, 12:23 AM
Hey Swami! Welcome to the board! :beer:

CGTalk Moderation
01-13-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.