Not Anonther Bitmap Path Checker
You know when you leave an animation test rendering at night so that you can see what the camera work looks like, and then the next morning you find that the scene had a bitmap with a bad path and nothing happened?
Rise your hand if that has ever happened to you!! How many times have you wished there was a way to avoid this?? WELL NOW THERE IS!!!
END OF SALES PITCH
Anyways, with this script, MAX will check the objects in the scene whenever you hit render. Any object with a "bad" material (that is a material with a bitmap that has an invalid path) will have the material stripped and replaced with a new standard material (the kind that the Material Editor has by default).
The render will then continue normally and no errors will pop up.
Once the render is done the script will return all the "bad" materials to their corresponding object and a list will pop up displaying the names of the objects that had bad materials. Double clicking a name on the list will select that object so you can fix the material if so desired. If there was no "bad" material then nothing will happen.
The script is NOT a macroscript so you can either run it manually on each session or put it in the scripts folder to be run by max on start-up each time. It might be a good idea to make into a render effect or something like that... I will look into it later.
Also: this script is to be considered BETA since it has not yet been sufficiently tested. Feel free to report any error or suggest changes.
USE AT YOUR OWN RISK
Original idea by Paul Jones.
|Not Another Bitmap Path Checker BETA3.ms||1.62 KB|