mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +02:00
Merge pull request #16445 from hyperlogic/bug-fix/remove-last-legacy-blendshapes
Remove LipsUpperOpen and LipsLowerOpen, the last of the legacy blendshapes
This commit is contained in:
commit
668061e154
10 changed files with 5 additions and 18 deletions
|
@ -201,8 +201,6 @@
|
||||||
{ "from": "Standard.LipsStretch_R", "to": "Actions.LipsStretch_R" },
|
{ "from": "Standard.LipsStretch_R", "to": "Actions.LipsStretch_R" },
|
||||||
{ "from": "Standard.LipsUpperClose", "to": "Actions.LipsUpperClose" },
|
{ "from": "Standard.LipsUpperClose", "to": "Actions.LipsUpperClose" },
|
||||||
{ "from": "Standard.LipsLowerClose", "to": "Actions.LipsLowerClose" },
|
{ "from": "Standard.LipsLowerClose", "to": "Actions.LipsLowerClose" },
|
||||||
{ "from": "Standard.LipsUpperOpen", "to": "Actions.LipsUpperOpen" },
|
|
||||||
{ "from": "Standard.LipsLowerOpen", "to": "Actions.LipsLowerOpen" },
|
|
||||||
{ "from": "Standard.LipsFunnel", "to": "Actions.LipsFunnel" },
|
{ "from": "Standard.LipsFunnel", "to": "Actions.LipsFunnel" },
|
||||||
{ "from": "Standard.LipsPucker", "to": "Actions.LipsPucker" },
|
{ "from": "Standard.LipsPucker", "to": "Actions.LipsPucker" },
|
||||||
{ "from": "Standard.Puff", "to": "Actions.Puff" },
|
{ "from": "Standard.Puff", "to": "Actions.Puff" },
|
||||||
|
|
|
@ -96,8 +96,6 @@
|
||||||
{ "from": "Standard.LipsStretch_R", "to": "Actions.LipsStretch_R" },
|
{ "from": "Standard.LipsStretch_R", "to": "Actions.LipsStretch_R" },
|
||||||
{ "from": "Standard.LipsUpperClose", "to": "Actions.LipsUpperClose" },
|
{ "from": "Standard.LipsUpperClose", "to": "Actions.LipsUpperClose" },
|
||||||
{ "from": "Standard.LipsLowerClose", "to": "Actions.LipsLowerClose" },
|
{ "from": "Standard.LipsLowerClose", "to": "Actions.LipsLowerClose" },
|
||||||
{ "from": "Standard.LipsUpperOpen", "to": "Actions.LipsUpperOpen" },
|
|
||||||
{ "from": "Standard.LipsLowerOpen", "to": "Actions.LipsLowerOpen" },
|
|
||||||
{ "from": "Standard.LipsFunnel", "to": "Actions.LipsFunnel" },
|
{ "from": "Standard.LipsFunnel", "to": "Actions.LipsFunnel" },
|
||||||
{ "from": "Standard.LipsPucker", "to": "Actions.LipsPucker" },
|
{ "from": "Standard.LipsPucker", "to": "Actions.LipsPucker" },
|
||||||
{ "from": "Standard.Puff", "to": "Actions.Puff" },
|
{ "from": "Standard.Puff", "to": "Actions.Puff" },
|
||||||
|
|
|
@ -57,8 +57,6 @@ static controller::Action blendshapeActions[] = {
|
||||||
controller::Action::LIPSSTRETCH_R,
|
controller::Action::LIPSSTRETCH_R,
|
||||||
controller::Action::LIPSUPPERCLOSE,
|
controller::Action::LIPSUPPERCLOSE,
|
||||||
controller::Action::LIPSLOWERCLOSE,
|
controller::Action::LIPSLOWERCLOSE,
|
||||||
controller::Action::LIPSUPPEROPEN,
|
|
||||||
controller::Action::LIPSLOWEROPEN,
|
|
||||||
controller::Action::LIPSFUNNEL,
|
controller::Action::LIPSFUNNEL,
|
||||||
controller::Action::LIPSPUCKER,
|
controller::Action::LIPSPUCKER,
|
||||||
controller::Action::PUFF,
|
controller::Action::PUFF,
|
||||||
|
|
|
@ -386,8 +386,6 @@ namespace controller {
|
||||||
makeAxisPair(Action::LIPSSTRETCH_R, "LipsStretch_R"),
|
makeAxisPair(Action::LIPSSTRETCH_R, "LipsStretch_R"),
|
||||||
makeAxisPair(Action::LIPSUPPERCLOSE, "LipsUpperClose"),
|
makeAxisPair(Action::LIPSUPPERCLOSE, "LipsUpperClose"),
|
||||||
makeAxisPair(Action::LIPSLOWERCLOSE, "LipsLowerClose"),
|
makeAxisPair(Action::LIPSLOWERCLOSE, "LipsLowerClose"),
|
||||||
makeAxisPair(Action::LIPSUPPEROPEN, "LipsUpperOpen"),
|
|
||||||
makeAxisPair(Action::LIPSLOWEROPEN, "LipsLowerOpen"),
|
|
||||||
makeAxisPair(Action::LIPSFUNNEL, "LipsFunnel"),
|
makeAxisPair(Action::LIPSFUNNEL, "LipsFunnel"),
|
||||||
makeAxisPair(Action::LIPSPUCKER, "LipsPucker"),
|
makeAxisPair(Action::LIPSPUCKER, "LipsPucker"),
|
||||||
makeAxisPair(Action::PUFF, "Puff"),
|
makeAxisPair(Action::PUFF, "Puff"),
|
||||||
|
|
|
@ -220,8 +220,6 @@ enum class Action {
|
||||||
LIPSSTRETCH_R,
|
LIPSSTRETCH_R,
|
||||||
LIPSUPPERCLOSE,
|
LIPSUPPERCLOSE,
|
||||||
LIPSLOWERCLOSE,
|
LIPSLOWERCLOSE,
|
||||||
LIPSUPPEROPEN,
|
|
||||||
LIPSLOWEROPEN,
|
|
||||||
LIPSFUNNEL,
|
LIPSFUNNEL,
|
||||||
LIPSPUCKER,
|
LIPSPUCKER,
|
||||||
PUFF,
|
PUFF,
|
||||||
|
|
|
@ -392,8 +392,6 @@ Input::NamedVector StandardController::getAvailableInputs() const {
|
||||||
makePair(LIPSSTRETCH_R, "LipsStretch_R"),
|
makePair(LIPSSTRETCH_R, "LipsStretch_R"),
|
||||||
makePair(LIPSUPPERCLOSE, "LipsUpperClose"),
|
makePair(LIPSUPPERCLOSE, "LipsUpperClose"),
|
||||||
makePair(LIPSLOWERCLOSE, "LipsLowerClose"),
|
makePair(LIPSLOWERCLOSE, "LipsLowerClose"),
|
||||||
makePair(LIPSUPPEROPEN, "LipsUpperOpen"),
|
|
||||||
makePair(LIPSLOWEROPEN, "LipsLowerOpen"),
|
|
||||||
makePair(LIPSFUNNEL, "LipsFunnel"),
|
makePair(LIPSFUNNEL, "LipsFunnel"),
|
||||||
makePair(LIPSPUCKER, "LipsPucker"),
|
makePair(LIPSPUCKER, "LipsPucker"),
|
||||||
makePair(PUFF, "Puff"),
|
makePair(PUFF, "Puff"),
|
||||||
|
|
|
@ -127,8 +127,6 @@ namespace controller {
|
||||||
LIPSSTRETCH_R,
|
LIPSSTRETCH_R,
|
||||||
LIPSUPPERCLOSE,
|
LIPSUPPERCLOSE,
|
||||||
LIPSLOWERCLOSE,
|
LIPSLOWERCLOSE,
|
||||||
LIPSUPPEROPEN,
|
|
||||||
LIPSLOWEROPEN,
|
|
||||||
LIPSFUNNEL,
|
LIPSFUNNEL,
|
||||||
LIPSPUCKER,
|
LIPSPUCKER,
|
||||||
PUFF,
|
PUFF,
|
||||||
|
|
|
@ -82,6 +82,8 @@ static void fixUpLegacyBlendshapes(QVariantHash& properties) {
|
||||||
removeBlendshape(bs, "JawChew");
|
removeBlendshape(bs, "JawChew");
|
||||||
removeBlendshape(bs, "ChinLowerRaise");
|
removeBlendshape(bs, "ChinLowerRaise");
|
||||||
removeBlendshape(bs, "ChinUpperRaise");
|
removeBlendshape(bs, "ChinUpperRaise");
|
||||||
|
removeBlendshape(bs, "LipsUpperOpen");
|
||||||
|
removeBlendshape(bs, "LipsLowerOpen");
|
||||||
|
|
||||||
// These blendshapes are split in ARKit, we replace them with their left and right sides with a weight of 1/2.
|
// These blendshapes are split in ARKit, we replace them with their left and right sides with a weight of 1/2.
|
||||||
splitBlendshapes(bs, "LipsUpperUp", "MouthUpperUp_L", "MouthUpperUp_R");
|
splitBlendshapes(bs, "LipsUpperUp", "MouthUpperUp_L", "MouthUpperUp_R");
|
||||||
|
|
|
@ -47,8 +47,6 @@ const char* FACESHIFT_BLENDSHAPES[] = {
|
||||||
"LipsStretch_R",
|
"LipsStretch_R",
|
||||||
"LipsUpperClose",
|
"LipsUpperClose",
|
||||||
"LipsLowerClose",
|
"LipsLowerClose",
|
||||||
"LipsUpperOpen",
|
|
||||||
"LipsLowerOpen",
|
|
||||||
"LipsFunnel",
|
"LipsFunnel",
|
||||||
"LipsPucker",
|
"LipsPucker",
|
||||||
"Puff",
|
"Puff",
|
||||||
|
|
|
@ -51,8 +51,6 @@ enum class Blendshapes : int {
|
||||||
LipsStretch_R,
|
LipsStretch_R,
|
||||||
LipsUpperClose,
|
LipsUpperClose,
|
||||||
LipsLowerClose,
|
LipsLowerClose,
|
||||||
LipsUpperOpen,
|
|
||||||
LipsLowerOpen,
|
|
||||||
LipsFunnel,
|
LipsFunnel,
|
||||||
LipsPucker,
|
LipsPucker,
|
||||||
Puff,
|
Puff,
|
||||||
|
@ -114,5 +112,8 @@ enum class LegacyBlendshpaes : int {
|
||||||
// * Sneer (split in ARKit)
|
// * Sneer (split in ARKit)
|
||||||
// * ChinLowerRaise (not in ARKit)
|
// * ChinLowerRaise (not in ARKit)
|
||||||
// * ChinUpperRaise (not in ARKit)
|
// * ChinUpperRaise (not in ARKit)
|
||||||
|
// * LipsUpperOpen (not in ARKit)
|
||||||
|
// * LipsLowerOpen (not in ARKit)
|
||||||
|
|
||||||
|
|
||||||
#endif // hifi_BlendshapeConstants_h
|
#endif // hifi_BlendshapeConstants_h
|
||||||
|
|
Loading…
Reference in a new issue