Make unique texture for some faces at the same time
-
Is there a way to make unique textures for many selected faces at a time? Many textured faces are renderer wrong and after making them unique, it works. But if there are a lot of "wrong" faces, what is the easiest way to make them all unique?
Thanks for your answers!
Cotty -
What do you mean by "wrong" faces? Can you post an example? Maybe you just have some reversed faces...
-
Here is an example: the left picture shows the windows before and the right after "make unique texture" for the faces of the window and the wall. (rendered with Indigo Renderer)
Cotty
-
@unknownuser said:
What do you mean by "wrong" faces? ...
Using photos for texturing often involves "skewing" them (also PhotoMatch skews the images onto the faces). Most rendering applications cannot tolerate this and they distort the image "back" - which is of course bad looking. Making the texture unique helps with this issue since it will make a new, rectangular texture whose corners are correctly positioned without skewing. Making lots of textures unique on lots of faces can however be laborious.
Cotty: sorry but I know no plugin that would do this although I can imagine that one could be written.
-
Try choosing the new texture and then, when applying it to a face, hold Ctrl. That will replace the existing material with the new one on all surfaces in the context in which you are working.
-
@dave r said:
That will replace the existing material with the new one on all surfaces in the context in which you are working.
I think this will not help with this problem because every face has its own material and I have to make them unique one after another. Or do someone know a plugin which do this for every face in the model?
I have attached a render of the edited model, the original one can be found in the 3D warehouse here:
http://sketchup.google.com/3dwarehouse/details?mid=ec48731154d046f6ec9203a885ed4d24
-
I think you misunderstood, Dave. That would be repainting - which he doesn't want to do.
-
I did misunderstand. Sorry. I guess as Gai says, you'll have to do it for each material image.
-
There is unfortunately no special API method for making textures unique (otherwise it would be a one-liner), but with some workarounds, it's possible.
I've been working on a plugin with similar things like Make Unique (but requires other software). So it is a funny coincidence and I thought I just put together a simple stand-alone version that does exactly what you need.The work-around can only make distorted textures unique that have a "projective" distortion (that is not necessarily identical with SketchUp's "projected" feature, but most times). This is what some exporters have problems with, so this script should help.
-
Great, thanks!
Will you however post it "properly" under the Plugins forum, Aerilius, please?
You know that it will soon sink to oblivion here... -
@aerilius said:
... API method for making textures unique ...
That was my first thought and because I never tried to program my own ruby scripts, I decided to take this example as a start...
After one evening watching ruby-tutorials I searched in the documentation for a method,... to make unique textures and ... gave up.
So my ruby entry have to wait and I will try your script. Thank you for sharing! -
I have not tried yet, but the plugin http://forums.sketchucation.com/viewtopic.php?t=41441 (by Aerilius) seems to solve this problem?!
Cotty
Advertisement