• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Remove all facial expressions animations

henshin

Active member
Joined
Dec 29, 2023
Messages
184
Reactions
83
I'm creating a plugin to design facial expression animations easier (you can see it here https://hub.virtamate.com/resources/facialkeyframer.56974/ but I'm working on many updates, will be available soon)

And I want to add an option to remove/disable all the current facial expression, so we can replace them with the new ones.

Maybe some experienced developers can help me with this?

I can think in multiple custom solutions (I can try coding all of them but maybe there is a more generic workaround)
Timeline: search the facial morphs there and remove them
Randomizers (and plugins like VAMMoan etc): search if they are randomizing facial morphs and disable them

Generic idea (not sure if it's possible):
1 )Set to default all facial morphs on every Update() (this will disable all plugins trying to modify them?)
2) Create new facial morphs copy of the original ones used in the new animation (this new morphs won't be disabled in step 1)

Is it possible to do this? (I can try one but I don't know how to make 2)
 
Hej hej,

Funny that you mentioned this. I created a small plugin just for this the other day for myself, as I was getting tired of going into the menu for defult zero button to reset facial expressions. I created it so that it find all the morpfs with keywords that include eyes brows mouth tounge etc, all the keywords from ashauryn pack like sad angry joy contempt etc. because if you use auto expressions or some other plugin that has face randomizer and if you reset only the morphs from the timeline those from other plugin still stay. That is one way. What wlse could be done if you fetch all the morph when you import the person and if it has a resting face that could be defult state that you can reset too. But what if it is not?


So i decided to check it real time when you reset the face. But you know what is the real problem? That if you have duplicate morphs with the same name for example eyebrows high, if it is the same name just from the different pack, Vittamates API that is fetching that is only fetching first morph, not the second. So if you make the animation with the morph that virtamates api does not fetch, you wont be able to reset it, and that is the limitation of the engine, and you cant code that. That is why i disnt release it, but maybe i can share the code with you if it helps you.
 
Hej hej,

Funny that you mentioned this. I created a small plugin just for this the other day for myself, as I was getting tired of going into the menu for defult zero button to reset facial expressions. I created it so that it find all the morpfs with keywords that include eyes brows mouth tounge etc, all the keywords from ashauryn pack like sad angry joy contempt etc. because if you use auto expressions or some other plugin that has face randomizer and if you reset only the morphs from the timeline those from other plugin still stay. That is one way. What wlse could be done if you fetch all the morph when you import the person and if it has a resting face that could be defult state that you can reset too. But what if it is not?


So i decided to check it real time when you reset the face. But you know what is the real problem? That if you have duplicate morphs with the same name for example eyebrows high, if it is the same name just from the different pack, Vittamates API that is fetching that is only fetching first morph, not the second. So if you make the animation with the morph that virtamates api does not fetch, you wont be able to reset it, and that is the limitation of the engine, and you cant code that. That is why i disnt release it, but maybe i can share the code with you if it helps you.

Yes please, would be nice to see what you have tried.
Are you setting to "deault" value on every frame all the facial morphs?
 
Yes please, would be nice to see what you have tried.
Are you setting to "deault" value on every frame all the facial morphs?a
shit sorry will try to upload tommorow. Actually it looks based where they are in the frame when i oress reset and then it takes it ti default valuw be it 0.0 or 1 or in between some morphs are not default 0, so it tokk that into consideration. I hope i remember to send it to you
 
shit sorry will try to upload tommorow. Actually it looks based where they are in the frame when i oress reset and then it takes it ti default valuw be it 0.0 or 1 or in between some morphs are not default 0, so it tokk that into consideration. I hope i remember to send it to you

But is a manual for every frame?
I'm searching for a generic and easy solution to remove all facial expressions from any scene/animation automatically
No matter if it's timeline, some randomizer, or native animations
Just press one button and all facial expressions are gone
 
Yes, it can reset the expressions no matter the timeline, randomizer, auto expressions, it does not matter. Link is in your inbox
 
Back
Top Bottom