[req] unique texture
-
That's what I'm curious about. There is no existing "make unique" method. So you can't single out a face, find its material and tell it to be unique.
But you absolutely can find a face, find its material, find the path to that material. Then make a new material and assign the image to the new material. Perhaps the actual image would need to be copied as a separate file though. I just don't know. I think Thom might be out of town right now too. Mqabe someone else has some time to test this stuff out.
Chris
-
well if someone does crack the case it would be nice to be able to do the same (multiple faces) with projected texture as well
-
If I get this right you want a new method
material.make_unique
?
If so I have something...material-make_unique.rb adds a new Method to Sketchup's Material Class -
material.make_unique
It makes a clone of the material from the original and gives it a
new name, incrementing the 'name' with #n at the end.
Returns a unique new material.
material-make_unique.rbExample of use...
make material of selected faces unique
type
makefacesmaterialsunique
in the Ruby ConsoleNo UV mapping yet...
-
The native make unique function doesn't simply makes a new material based on the one applied to a face but also
- crops the image on the face boundaries
- if it is a "tiling" image (more instances applied on a face obviously), it will "unite" those images into the unique image
-
@gaieus said:
The native make unique function doesn't simply makes a new material based on the one applied to a face but also
- crops the image on the face boundaries
- if it is a "tiling" image (more instances applied on a face obviously), it will "unite" those images into the unique image
I know... This was just a quick first attempt... The UV and size/merged images need work...
-
great progress! keep going
are you going to throw the projected option in there too?? -
@tig said:
I know... This was just a quick first attempt... The UV and size/merged images need work...
OK-OK, I wasn't going to "lesson" you (I was sure you know ) just mentioned to make it obvious for all.
Anyway, I think that the improved texturing tools in SU 7 are still undervalued by many.
-
any progress?
-
Sorry... it's at the end of a long list If anyone else wants to chip in pleased do...
-
TIG, thanks for considering it and best luck with all your other projects.
Advertisement