This commit is contained in:
joe
2023-08-07 06:33:28 +09:00
parent 57a5469f37
commit 3c22ea7958
26 changed files with 592 additions and 19 deletions

View File

@@ -0,0 +1,48 @@
{
"grief": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": -0.484,
"iris_rotation_y_index": -0.01100000000000001,
"head_x_index": -1.0,
"head_y_index": 0.0,
"neck_z_index": 0.0,
"body_y_index": 0.0,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/grief.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

48
live2d/emotions/joy.json Normal file
View File

@@ -0,0 +1,48 @@
{
"joy": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 1.0,
"eyebrow_happy_right_index": 1.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 1.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.1160000000000001,
"iris_rotation_y_index": -0.01100000000000001,
"head_x_index": -0.263,
"head_y_index": -0.02100000000000002,
"neck_z_index": -0.02100000000000002,
"body_y_index": 0.0,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/joy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

48
live2d/emotions/love.json Normal file
View File

@@ -0,0 +1,48 @@
{
"love": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.4,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.0,
"iris_rotation_y_index": 0.0,
"head_x_index": 0.0,
"head_y_index": 0.0,
"neck_z_index": -0.389,
"body_y_index": 0.0,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/love.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,48 @@
{
"nervousness": {
"eyebrow_troubled_left_index": 1.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.4,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.0,
"iris_rotation_y_index": 0.0,
"head_x_index": 0.0,
"head_y_index": 0.0,
"neck_z_index": -0.389,
"body_y_index": 0.0,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -0,0 +1,48 @@
{
"neutral": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.0,
"iris_rotation_y_index": 0.0,
"head_x_index": 0.0,
"head_y_index": 0.0,
"neck_z_index": 0.0,
"body_y_index": 0.0,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/neutral.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -0,0 +1,48 @@
{
"optimism": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.216,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.0,
"iris_rotation_y_index": 0.0,
"head_x_index": 0.0,
"head_y_index": 0.0,
"neck_z_index": 0.0,
"body_y_index": 0.0,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -0,0 +1,48 @@
{
"pride": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.2945,
"eye_wink_right_index": 0.3,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.5735,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.0,
"iris_rotation_y_index": 0.0,
"head_x_index": 0.0,
"head_y_index": 0.0,
"neck_z_index": 0.0,
"body_y_index": 0.010999999999999899,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/pride.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,48 @@
{
"realization": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 0.9,
"eyebrow_raised_right_index": 0.9,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.2945,
"eye_surprised_right_index": 0.3,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.5735,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": -0.23199999999999998,
"iris_rotation_y_index": -0.15800000000000003,
"head_x_index": 0.31600000000000006,
"head_y_index": 0.821,
"neck_z_index": -0.516,
"body_y_index": 0.010999999999999899,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View File

@@ -0,0 +1,48 @@
{
"relief": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.9,
"eyebrow_lowered_right_index": 0.9,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.0,
"iris_small_right_index": 0.0,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.121,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 0.0,
"mouth_lowered_corner_right_index": 0.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": -0.23199999999999998,
"iris_rotation_y_index": -0.15800000000000003,
"head_x_index": -0.347,
"head_y_index": 0.020999999999999908,
"neck_z_index": 0.020999999999999908,
"body_y_index": 0.010999999999999899,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/relief.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,48 @@
{
"remorse": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.9,
"eyebrow_lowered_right_index": 0.9,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.284,
"iris_small_right_index": 0.3105,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 1.0,
"mouth_lowered_corner_right_index": 1.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": 0.04200000000000004,
"iris_rotation_y_index": 0.020999999999999908,
"head_x_index": -0.347,
"head_y_index": 0.020999999999999908,
"neck_z_index": 0.020999999999999908,
"body_y_index": 0.010999999999999899,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/remorse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,48 @@
{
"sadness": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.9,
"eyebrow_lowered_right_index": 0.9,
"eyebrow_raised_left_index": 0.0,
"eyebrow_raised_right_index": 0.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 0.0,
"eye_surprised_right_index": 0.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.6265,
"iris_small_right_index": 0.563,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 1.0,
"mouth_lowered_corner_right_index": 1.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": -0.558,
"iris_rotation_y_index": 0.579,
"head_x_index": -1.0,
"head_y_index": 0.020999999999999908,
"neck_z_index": 0.020999999999999908,
"body_y_index": 0.010999999999999899,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

BIN
live2d/emotions/sadness.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -0,0 +1,48 @@
{
"surprise": {
"eyebrow_troubled_left_index": 0.0,
"eyebrow_troubled_right_index": 0.0,
"eyebrow_angry_left_index": 0.0,
"eyebrow_angry_right_index": 0.0,
"eyebrow_lowered_left_index": 0.0,
"eyebrow_lowered_right_index": 0.0,
"eyebrow_raised_left_index": 1.0,
"eyebrow_raised_right_index": 1.0,
"eyebrow_happy_left_index": 0.0,
"eyebrow_happy_right_index": 0.0,
"eyebrow_serious_left_index": 0.0,
"eyebrow_serious_right_index": 0.0,
"eye_wink_left_index": 0.0,
"eye_wink_right_index": 0.0,
"eye_happy_wink_left_index": 0.0,
"eye_happy_wink_right_index": 0.0,
"eye_surprised_left_index": 1.0,
"eye_surprised_right_index": 1.0,
"eye_relaxed_left_index": 0.0,
"eye_relaxed_right_index": 0.0,
"eye_unimpressed": 0.0,
"eye_raised_lower_eyelid_left_index": 0.0,
"eye_raised_lower_eyelid_right_index": 0.0,
"iris_small_left_index": 0.6265,
"iris_small_right_index": 0.563,
"mouth_aaa_index": 0.0,
"mouth_iii_index": 0.0,
"mouth_uuu_index": 0.0,
"mouth_eee_index": 0.0,
"mouth_ooo_index": 0.0,
"mouth_delta": 0.0,
"mouth_lowered_corner_left_index": 1.0,
"mouth_lowered_corner_right_index": 1.0,
"mouth_raised_corner_left_index": 0.0,
"mouth_raised_corner_right_index": 0.0,
"mouth_smirk": 0.0,
"iris_rotation_x_index": -0.21099999999999997,
"iris_rotation_y_index": -0.02100000000000002,
"head_x_index": 1.0,
"head_y_index": 1.0,
"neck_z_index": 0.020999999999999908,
"body_y_index": 0.010999999999999899,
"body_z_index": 0.0,
"breathing_index": 0.0
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

View File

@@ -38,7 +38,7 @@ global_reload = None
is_talking_override = False
is_talking = False
global_timer_paused = False
emotion = "joy"
emotion = "neutral"
fps = 0
current_pose = None
storepath = os.path.join(os.getcwd(), "live2d", "emotions")
@@ -313,14 +313,13 @@ class MainFrame(wx.Frame):
def get_emotion_values(self, emotion): # Place to define emotion presets
global storepath
#print(emotion)
file_path = os.path.join(storepath, emotion + ".json")
#print("trying: ", file_path)
if not os.path.exists(file_path):
print("using backup")
file_path = os.path.join(storepath, "defaults.json")
file_path = os.path.join(storepath, "_defaults.json")
with open(file_path, 'r') as json_file:
@@ -774,33 +773,32 @@ class MainFrame(wx.Frame):
#current_posesaved = self.pose_converter.convert(ifacialmocap_pose)
#combined_posesaved = current_posesaved
#NEW METHOD
ifacialmocap_pose = self.animationMain() #CREATES THE DEFAULT POSE AND STORES OBJ IN STRING
#NEW METHOD
#CREATES THE DEFAULT POSE AND STORES OBJ IN STRING
ifacialmocap_pose = self.animationMain()
#GET EMOTION SETTING
emotion_pose = self.get_emotion_values(emotion)
#print("emotion_pose: ", emotion_pose)
#MERGE EMOTION SETTING WITH CURRENT OUTPUT
updated_pose = self.update_ifacualmocap_pose(ifacialmocap_pose, emotion_pose)
#print("updated_pose: ", updated_pose)
#CONVERT RESULT TO FORMAT NN CAN USE
current_pose = self.pose_converter.convert(updated_pose)
#print("current_pose: ", current_pose)
#SEND THROUGH CONVERT
current_pose = self.pose_converter.convert(ifacialmocap_pose)
#ADD LABELS/NAMES TO THE POSE
names_current_pose = MainFrame.addNamestoConvert(current_pose)
adjusted_pose = self.get_emotion_values(emotion) # APPLY EMOTION VALUES
#GET THE EMOTION VALUES
adjusted_pose = self.get_emotion_values(emotion)
#APPLY VALUES TO THE POSE
tranisitiondPose = self.animateToEmotion(names_current_pose, adjusted_pose)
#reformate the data correctly
parsed_data = []
for item in tranisitiondPose:
key, value_str = item.split(': ')
@@ -808,14 +806,13 @@ class MainFrame(wx.Frame):
parsed_data.append((key, value))
tranisitiondPosenew = [value for _, value in parsed_data]
#Set the pose for future updates
ifacialmocap_pose = tranisitiondPosenew
combined_pose = tranisitiondPosenew
#print("current_pose", current_pose[12])
#print("tranisitiondPosenew ", tranisitiondPosenew[12])
if self.torch_source_image is None:
dc = wx.MemoryDC()
dc.SelectObject(self.result_image_bitmap)
@@ -823,7 +820,7 @@ class MainFrame(wx.Frame):
del dc
return
pose = torch.tensor(combined_pose, device=self.device, dtype=self.poser.get_dtype())
pose = torch.tensor(tranisitiondPosenew, device=self.device, dtype=self.poser.get_dtype())
with torch.no_grad():
output_image = self.poser.pose(self.torch_source_image, pose)[0].float()