Hello...
Is there away to remove texture clusters from a mesh or multiple meshes? At the moment, I must go into each mesh and delete unwanted clusters holding texture information. Those clusters are annoying because it over rides new materials I want to use instead of the ones already on the mesh. you know what i mean?
Thanks as always
removing clusters
Re: removing clusters
A script would be the quickest way - jscript version here:
DeleteObj("model.object.polymsh.cls.P*");
Obviously you need to replace the model and object to reference the object you want to get rid of polygon clusters from - though you could use the * wildcard to delete clusters from all objects under a model, or all objects under all models in a scene. ie:
DeleteObj("*.*.polymsh.cls.P*");
The reason it is P* is that it is usually only Polygon clusters which hold material information, and you would end up getting rid of other clusters that you might need such as texture coordinates etc.
DeleteObj("model.object.polymsh.cls.P*");
Obviously you need to replace the model and object to reference the object you want to get rid of polygon clusters from - though you could use the * wildcard to delete clusters from all objects under a model, or all objects under all models in a scene. ie:
DeleteObj("*.*.polymsh.cls.P*");
The reason it is P* is that it is usually only Polygon clusters which hold material information, and you would end up getting rid of other clusters that you might need such as texture coordinates etc.
Re: removing clusters
Yes, that's the way to go.
For importing models coming out of other apps, like 3dsmax etc, I wrote some very basic scripts like this.
Some basic scripts to remove clusters, normals etc., cleaning clean up imported stuff in one go.
Just keep the script editor open and look what is logged, then replace the script line where needed with wild cards.
You can quickly create some buttons on a shelf for each imported file format, so you have them available all the time.
rob
For importing models coming out of other apps, like 3dsmax etc, I wrote some very basic scripts like this.
Some basic scripts to remove clusters, normals etc., cleaning clean up imported stuff in one go.
Just keep the script editor open and look what is logged, then replace the script line where needed with wild cards.
You can quickly create some buttons on a shelf for each imported file format, so you have them available all the time.
rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!
So long, and thanks for all the Fish!!
Re: removing clusters
I use Myara's mCleaner which is great for cleaning up meshes, finding topological problems etc.
http://skymill.co.jp/tools/Softimage/mC ... nerEN.html
http://skymill.co.jp/tools/Softimage/mC ... nerEN.html
Re: removing clusters
You can delete all your clusters using the subcomponent slot on the right (just under the name of selected object) :
Select all your meshes, and type "polymsh.cls*" on it and press enter --> all your clusters are selected --> press delete
Select all your meshes, and type "polymsh.cls*" on it and press enter --> all your clusters are selected --> press delete
Who is online
Users browsing this forum: No registered users and 30 guests