Page 1 of 1

Help needed with multiple layers and greyed smart bone actions

Posted: Fri Dec 03, 2021 11:28 am
by tonchie
Hi everyone. Long time on-and-off user of Moho, recently registered to the forum so I hope I'm posting this in the proper forum section.

First time doing an advanced character rig, working on a big project I've decided to try and make a universal rig for a music band animation. I've run into an issue with a ballooning file size which I'm assuming is causing significant performance issue that puts the entire project in jeopardy pretty much. I've worked on this rig on and off for a couple of months only to in the end have an unusable rig for animating, so hopefully someone here can help me.

The rig in question does have a lot of layers within it, and from what I've noticed while creating all the smart bone actions is that Moho itself adds greyed out "references" in the actions panel to all vector and group layers contained within the master bone layer group.

I'm adding screenshots below hopefully to be more clear to what's happening. As an example I've selected the bottom left arm layer in the layers panel, and in white listed on the actions window are the actions that are in use, and everything else, for that specific layer, listed in grey is I'm assuming unnecessary for that layer.

Image

I have a lot of layers contained within this bone layer character, probably in the hundreds as I have worked on creating this character rig for a while, and after working on it for so long the file size has spiked too.

My question is why does this happen?
And most importantly, is there a way to batch-delete these unwanted greyed out action names on totally unrelated layers?
Does a script for this layer cleaning from greyed-references-to-unwanted-actions exist?

Manually doesn't work because they reappear after any additional edits,

I've tried searching for a solution but no luck, because I'm not sure what the terminology for these unwanted greyed out action names is, so I hope someone here can help guide me.

What I did find while troubleshooting the project is that when I manually delete them, it does reduce the file size, and I'm hoping that it will fix performance issues when animating, specific issue being that the whole timeline window stops responding for about 10-15 seconds whenever I copy-paste keyframes. I've searched and found one solution of using the delete negative keyframes script but that didn't help with the program not responding, as it found no negative keyframes.

The file size of this character has risen to over 7mb which is probably a lot for a vector-based character rig, and my best guess is that it is because of these unwanted greyed out references to actions on all of these contained layers since manually deleting them did reduce the file size, but manually deleting them layer by layer is a questionable timewaste because when I edit any of the smartbones ever again afterwards, those edited actions reappear as these grey lists on unrelated layers, ballooning up the filesize again, which I'd also like to prevent in the future.

Performance issues are unfortunately putting this music video project in jeopardy, a lot of time has already been spent on this character rig so I really hope someone here can help or guide me to a solution.

Re: Help needed with multiple layers and greyed smart bone actions

Posted: Fri Dec 03, 2021 12:44 pm
by Daxel
tonchie wrote: Fri Dec 03, 2021 11:28 am Performance issues are unfortunately putting this music video project in jeopardy, a lot of time has already been spent on this character rig so I really hope someone here can help or guide me to a solution.
Welcome to the forum! I'm sure we will find a solution.

At first glance, I have the feeling that you may have corrupted reference layers. I think so because those cause big file sizes and slow Moho down. I'm not sure how they get corrupted but I think it may be related to breaking changes on the referenced (original) layer and maybe related to both being linked to smart actions. The solution is simply deleting the references and creating them again. Do that and see if the file size changes and the performance improves.

The greyed out actions on the panel are normal. When you create an action, the layer you have selected is relevant. Moho will create that action for the selected layer and also for all of its children, grandchildren, etc. It works like a big unified action when you use it via smartbones or via instert copy of normal action, because they share the same name. But each layer holds its actions, and empty actions are greyed out just to let you know that there are no keyframes in them for the selected layer. It shouldn't noticeably affect performance, maybe only in the case some other thing is wrong (like maybe a corrupted reference linked to those actions).

Re: Help needed with multiple layers and greyed smart bone actions

Posted: Fri Dec 03, 2021 5:32 pm
by synthsin75
Use this script to check for errant keyframes in the negative timeline: https://www.lostmarble.com/forum/viewtopic.php?t=32714

Re: Help needed with multiple layers and greyed smart bone actions

Posted: Thu Dec 09, 2021 10:46 am
by Daxel
tonchie wrote: Fri Dec 03, 2021 11:28 am Hi everyone. Long time on-and-off user of Moho, recently registered to the forum so I hope I'm posting this in the proper forum section.
Did you solve your problem?

Re: Help needed with multiple layers and greyed smart bone actions

Posted: Thu Dec 09, 2021 3:05 pm
by MrMiracle77
Master rigs are always going to be big. Especially big in this case because it looks like this one rig is used to handle several instrument options; I can see drums, sax, and guitar in your instrument group already.

When you do start animating with this rig, you could save copies of it and pare down the layers that are needed for just the individual band members.

And while I don't have a convenient way to pare down the greyed-out actions (those are used to indicate which actions are actually utilized by a selected layer), you can restrict how many you see by using the 'Regular' and 'Smartbone' tabs in your action panel. One of the options I miss from 13.0 is that you could group smart actions into folders in the action panel, I wouldn't mind seeing that return eventually.

Re: Help needed with multiple layers and greyed smart bone actions

Posted: Sun Dec 19, 2021 12:01 pm
by tonchie
Hey guys, thanks for the tips. I will give it a try to clean up the layers per individual character and make copies. I did give a try to break up referenced layers (there was a questionable torso layer that was duplicated as a reference and used for hair masking), and tried to find any negative keyframes (there were none), and I'm still having issues however when animating using copy-paste. I guess I've found a performance limit in Moho, at least on my PC, I gave it a go on a friend's M1 mac mini and it seemed to work a bit somewhat better.

I will do some further troubleshooting in the coming days..