PDA

View Full Version : Remove unused textures from scene


erilaz
04-24-2007, 07:27 AM
This shouldn't be too hard to make, but I'm sure i've seen a script for this before somewhere. Anybody know it?

Basically the script finds any bitmap textures that aren't used in the actual scene and removes all references to it. If no one knows it, i'll just go ahead and make one myself. :)

rdg
04-24-2007, 07:45 AM
Aren't those textures only existent in the material editor?
If not - where do they exist if they are not used in the actual scene?

I guess you can use the ref.dependents array.

Georg

pixel9
04-24-2007, 02:22 PM
This shouldn't be too hard to make, but I'm sure i've seen a script for this before somewhere. Anybody know it?

Basically the script finds any bitmap textures that aren't used in the actual scene and removes all references to it. If no one knows it, i'll just go ahead and make one myself. :)

I wrote a small script which is currently under further development dealing to this kind of problem...

Just visit http://www.scriptspot.com/blog/toby for this.

Maybe, it does what you need. :)

CGTalk Moderation
04-24-2007, 02:22 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.