From 3046871a9ec8346d5b8b9e6dcbc6821ccdd4a1e4 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Wed, 21 Sep 2022 19:23:17 +0900 Subject: [PATCH 1/2] Add UV transform expression to seed-san --- .../ModelSetup_SeedSan/Expressions/angry.asset | 7 +++++-- .../ModelSetup_SeedSan/Expressions/happy.asset | 5 ++++- .../ModelSetup_SeedSan/Expressions/relaxed.asset | 5 ++++- .../VRM10_Samples/ModelSetup_SeedSan/Expressions/sad.asset | 5 ++++- .../ModelSetup_SeedSan/Expressions/surprised.asset | 5 ++++- 5 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/angry.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/angry.asset index fd2a22edbc..3837ba3751 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/angry.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/angry.asset @@ -19,8 +19,11 @@ MonoBehaviour: Index: 34 Weight: 1 MaterialColorBindings: [] - MaterialUVBindings: [] - IsBinary: 0 + MaterialUVBindings: + - MaterialName: robo_face + Scaling: {x: 1, y: 1} + Offset: {x: 0.5, y: 0} + IsBinary: 1 OverrideBlink: 0 OverrideLookAt: 0 OverrideMouth: 0 diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset index fbc1d99dd7..6925ed8fd7 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset @@ -19,7 +19,10 @@ MonoBehaviour: Index: 33 Weight: 1 MaterialColorBindings: [] - MaterialUVBindings: [] + MaterialUVBindings: + - MaterialName: robo_face + Scaling: {x: 1, y: 1} + Offset: {x: 0.25, y: 0} IsBinary: 0 OverrideBlink: 2 OverrideLookAt: 0 diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/relaxed.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/relaxed.asset index c1c0fbf516..a41e4fed7b 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/relaxed.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/relaxed.asset @@ -19,7 +19,10 @@ MonoBehaviour: Index: 36 Weight: 1 MaterialColorBindings: [] - MaterialUVBindings: [] + MaterialUVBindings: + - MaterialName: robo_face + Scaling: {x: 1, y: 1} + Offset: {x: 0.5, y: -0.25} IsBinary: 1 OverrideBlink: 1 OverrideLookAt: 1 diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/sad.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/sad.asset index e5ab52d154..4d7434bcc3 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/sad.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/sad.asset @@ -19,7 +19,10 @@ MonoBehaviour: Index: 35 Weight: 1 MaterialColorBindings: [] - MaterialUVBindings: [] + MaterialUVBindings: + - MaterialName: robo_face + Scaling: {x: 1, y: 1} + Offset: {x: 0.75, y: 0} IsBinary: 1 OverrideBlink: 0 OverrideLookAt: 0 diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset index e88d9eaff7..5d9d3f8072 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset @@ -19,7 +19,10 @@ MonoBehaviour: Index: 38 Weight: 1 MaterialColorBindings: [] - MaterialUVBindings: [] + MaterialUVBindings: + - MaterialName: robo_face + Scaling: {x: 1, y: 1} + Offset: {x: 0, y: -0.25} IsBinary: 0 OverrideBlink: 0 OverrideLookAt: 0 From f74fd1c9406cedc425831fbfbd517f8f857f02e5 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Wed, 21 Sep 2022 19:24:21 +0900 Subject: [PATCH 2/2] set expression isBinary --- Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset | 2 +- .../ModelSetup_SeedSan/Expressions/surprised.asset | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset index 6925ed8fd7..6e5261ef59 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/happy.asset @@ -23,7 +23,7 @@ MonoBehaviour: - MaterialName: robo_face Scaling: {x: 1, y: 1} Offset: {x: 0.25, y: 0} - IsBinary: 0 + IsBinary: 1 OverrideBlink: 2 OverrideLookAt: 0 OverrideMouth: 0 diff --git a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset index 5d9d3f8072..dbcba2f3be 100644 --- a/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset +++ b/Assets/VRM10_Samples/ModelSetup_SeedSan/Expressions/surprised.asset @@ -23,7 +23,7 @@ MonoBehaviour: - MaterialName: robo_face Scaling: {x: 1, y: 1} Offset: {x: 0, y: -0.25} - IsBinary: 0 + IsBinary: 1 OverrideBlink: 0 OverrideLookAt: 0 OverrideMouth: 0