Copyright (c) 2021
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008
Textures issue (continued)
Hi Charlie - (posting convo here now - thanks)
Thanks for your prompt reply.
Unfortunately Mesh>Separate separates all the leaves giving me 10,000 different objects.
What I want is the original 5 objects again, where the leaves are one object etc.
Hi Tom. Try to use the tool from the polygons module.
Mesh > Separate
to get each object on his own. Do not delete history and it should work. Then assign the shaders to each resulting object. Thanks for the feedback. Cheers
Thanks for this great script. I am encountering a problem with textures though I wonder if you might be able to help.
I am importing a series of grouped objs into maya 2016 on a mac. Essentially it's a tree created in Onyx which is moving in the wind. The group consists of 5 different Obj's. trunk, 3 different levels of branches and leaves. So each group of 5 comes in for each single frame.
So when I run your script for 75 frames the thing works brilliantly. I see the tree there moving in the wind. However, I can no longer select separate parts of the tree, in order to add their respective shaders.
Of course I can click on a face, for the trunk for example, expand the selection until the whole trunk is covered, detach it from the tree obj and separate. As long as I don't delete history the obj animation still works, but with the branches this will be very time consuming.
Would you know a better way to get the shaders assigned?
Animation Manager for Maya 1.0.6 (maya script)
Quadruped Path Animation System for Maya 1.1.4 (maya script)
Animation Data Recovery 1.1.0 for Maya (maya script)
BitCake Exporter - a Game Animation plugin 1.1.0 for Maya (maya script)
JPose and Animation Tool for Maya 1.2.2 (maya script)
SearchNPick Animation Picker 1.3.0 for Maya (maya script)