Unique texture
-
hello.
Is possible in sketchup make all the used texture an unique texture?
like a texture atlas ?
Or i must do it in a plugin? -
You can write a script to export the plain texture [texturewriter with the material applied to a temporary empty group] and reuse it in a new material with the same_name_as_the_original+NN using the same RGB, alpha etc.
You'll then have a new unused textured with a similar name.
To check is a material has been used you need to iterate every entity in the model and inside every definition.entities ! Then .uniq! the list.
Also if a material has been UV-mapped on a face you can check for that [face.mesh, UVhelper et al] and then use that face with a texturewriter to save that distorted image and then use that to create another similar material...
SO it is possible - just convoluted...
Why do you want to do it ? -
Tgi3D amorph create-texture method uses the existing texture image in creating a unique texture. You could try the trial version for 30 days for free.
Ogan
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement