Materials Browser in Ruby?
-
I'd like to give the user access to set the current material to a material not yet in the model. Something like:
mats.current = 'Wood_Cherry_Original'Is this possible? It fails with a "Could not find..." message except for materials already in the model.
-
You can't [yet] import skm files.
If you could thenmaterial.import(pathname)would be there...
You can make a new material based on the name of an image file and even colorize it from that etc...
However, it'd means splitting out the parts of the material's 'skm' file [which is really a 'zip' file] and taking the image file part, then making that as your new material's texture [with appropriate scaling] etc etc...
Nothing is easy
-
@tig said:
splitting out the parts of the material's 'skm' file [which is really a 'zip' file] and taking the image file part, then making that as your new material's texture [with appropriate scaling] etc etc...
Thanks. I was afraid of that.
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