Jump to content

REMOVE/PURGE missing bitmaps not used in scene


3dwannab
 Share

Recommended Posts

How do you like in autoCAD purge the model of any unwanted bitmaps etc. every time I open the file it warms me there missing, and as attached there shown in the asset tracker.

 

I've created a material for the http://www.vray-materials.de/ website and want it to be as clean as possible since i'll be zipping it and putting it on the website.

 

So the missing files I want removed all-together

Link to comment
Share on other sites

If they are assigned to a piece of geometry, then you need to replace the material, or locate the bitmap. If they are not attached to a piece of geometry, then I can think of 2 possible solutions off hand... 1) Clean your material editor. The missing maps may be occupying a spot in the material editor, therefore still showing up in asset trracking. 2) Delete Scene States. The missing maps may be assigned to a material when called by a saved Scene State. If so, deleting those should fix the problem.

Link to comment
Share on other sites

what im saying is there's no purge function. Course i'll blame them for that. :D

There kind of is a purge function, accessed through the listener, where you type "(gc)" (if I remember correctly -I don't need this myself) and it flushes unused bitmaps, etc, but only if you've already done what the previous posters have suggested. I assign a hotkey (ctrl-m) to reset the mat editor slots to make sure I don't have any lurking in the far corners. Your issue sounds a bit unusual, as Max doesn't keep al ot of crap that Autocad does, like block refs, etc.

Link to comment
Share on other sites

There kind of is a purge function, accessed through the listener, where you type "(gc)" (if I remember correctly -I don't need this myself) and it flushes unused bitmaps, etc, but only if you've already done what the previous posters have suggested. I assign a hotkey (ctrl-m) to reset the mat editor slots to make sure I don't have any lurking in the far corners. Your issue sounds a bit unusual, as Max doesn't keep al ot of crap that Autocad does, like block refs, etc.

gc() yeah tried that, cleared the mat editor, give then materials a generic material but no avail. Its a hassle to say the least saving selected etc. to cure a what I thought was a minor issue!!

 

Thanks very much, its a BIG jump from AutoCAD to max but i'm getting there, I just have to get it outta my THICK head im using a different software. :)

Link to comment
Share on other sites

what im saying is there's no purge function. Course i'll blame them for that. :D

 

There's no purge function because max automatically dumps maps that are no longer applied in your scene. If you have missing map errors in your scene it is because you have applied it to some random place in your scene. This isn't a fault on Autodesk's part, a purge function would do you no good here because max thinks it needs the maps.

 

Also check the environment and background slots, and textures applied to lights..... maps can be other places than just materials.

 

Try opening the material editor, sort by scene and turn off "root only" then look down through the list of all the maps and look for these "missing" maps to see what they are assigned to, then you'll be able to remove them from your scene.

Edited by BrianKitts
Link to comment
Share on other sites

Travis Schmiesing has sorted me out, it was embedded within a vray displace modifier, I haven't created the scene from scratch as its from the vray-materials-de website. I have yet to ask him how he found it, as even in the summary info i could not locate it

 

If you want, archive your file, and email it to me, and I will look at it.
Thanks for this Travis, would you mind telling me how you found that BOGGY material

 

Thanks to everyone

Link to comment
Share on other sites

How do you like in autoCAD purge the model of any unwanted bitmaps etc. every time I open the file it warms me there missing, and as attached there shown in the asset tracker.

 

I've created a material for the http://www.vray-materials.de/ website and want it to be as clean as possible since i'll be zipping it and putting it on the website.

 

So the missing files I want removed all-together

 

there are a lots of scripts for relinking, finding or deleting missing bitmaps:

 

- in max / utilities/ more / bitmap_photometric paths

- http://www.scriptspot.com/3ds-max/relink-assets

- http://www.scriptspot.com/3ds-max/renamemap

- http://www.scriptspot.com/3ds-max/tertium-organum-collectorex

- http://www.colinsenner.com/scripts/relink-bitmaps

Link to comment
Share on other sites

Thanks for this Travis, would you mind telling me how you found that BOGGY material

 

Not a problem. I have had problems before with random bits sticking around in different parts after I removed them, or though I removed them. It usually happens to the light shadow setting when I am trying to clear Vray from a scene. I just took the same concept to look for your hidden map in places that plugins may need them.

Link to comment
Share on other sites

there are a lots of scripts for relinking, finding or deleting missing bitmaps:

 

- in max / utilities/ more / bitmap_photometric paths

- http://www.scriptspot.com/3ds-max/relink-assets

- http://www.scriptspot.com/3ds-max/renamemap

- http://www.scriptspot.com/3ds-max/tertium-organum-collectorex

- http://www.colinsenner.com/scripts/relink-bitmaps

 

[shameless plug]

And let's not forget MatManager....:rolleyes:

http://www.scriptspot.com/3ds-max/matmanager

[/shameless plug]

Link to comment
Share on other sites

[shameless plug]

And let's not forget MatManager....:rolleyes:

http://www.scriptspot.com/3ds-max/matmanager

[/shameless plug]

 

 

How much is it by the way? I'm being brought to a dreamtemplate website when it says you pay through paypal, ive clicked on the link in the help file of mat manager. Can you post a link that looks respectable as this looks kinda dodgy..

Edited by 3dwannab
Link to comment
Share on other sites

Darned websites and they case-sensitiviness. The proper address should be:

http://matmanager.110mb.com/Buy.html

 

In the help file I typed "buy" all lowercase, and apparently the host redirects to some crappy advertisement or something. Sorry about that, working on getting some decent hosting...

 

before I buy will there be the ability to drag a mat file in a future release into the window which leaves it quick and easy. EVEN drag a selection over into it would be wicked.

 

thanks

Link to comment
Share on other sites

I'd love to answer any questions regarding the script, however I wouldn't want to steal the thread away, since this is not what it's about. I'll respond to that question by email, I hope you understand.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...