Bitmap Collector

4 votes
Version: 
1.00
Date Updated: 
08/08/2012

This script was created in order to help artists with collecting and re-pathing bitmaps (textures) that are coming into the scene files from all over the places.

This tool will let you automatically re-name the bitmaps based on dynamic names as well as your defined static names. It will then copy all the bitmaps to a single directory of your choosing and automatically re-path the bitmaps in your scene, so that you don't have to manually do a thing.

Here's a quick video demonstrating how it works

Additional Info: 

Installation:

Copy the duberBitmapCollector.mcr to the UserMacros folder.
Additionally copy the duberBitmapCollector.ini to the plugcfg folder, or, modify lines 23 and 24 of the script to point to your preferred path. This way your defaults will be saved for each session.

Version Requirement: 
3ds Max 2011

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
loocas's picture

Hey, bobmorane, this is

Hey, bobmorane, this is weird. It seems that you have an old installation of .NET, because the dnPath is a .NET class and its method.

Try updating your .NET via the windows update, that should help.

bobmorane888's picture

Error ?

Hello,
really nice script ! Thank you for sharing :)

I got an error on the script launch but it still works and begin to collect files and do his stuff ; then the same error appears again and stop the script :

Copy of the listener :
>> MAXScript Rollout Handler Exception:
-- Runtime error: No method found which matched argument list << (this is the error message)

So it stops on the line 73 :

(line73) local curFileExt = dnPath.GetExtension(curBmp)

Any idea ?

Config :
XP64
MaxDesign2012 SP2

Maybe some plugins can cause errors ?

Anyway thank you !

loocas's picture

Error

Ah! Of course, my apologies, gentlemen. :) The bitmapHDR is a finalRender specific thing, I forgot about that.

Here's an update.

AttachmentSize
duberbitmapcollector.mcr 7.48 KB
n0name's picture

max 2012 error in line

max 2012

error in line 128:
join allBitmaps (for o in getClassInstances bitmapHDR processChildren:True collect o.fileName)

message: --Type error getClassInstances requires Maxclass, got: undefined

fajar's picture

cant run it on max 2012

cant run it on max 2012

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.