Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRM1.0の読み込みサポート #856

Merged
merged 44 commits into from Nov 28, 2022
Merged

VRM1.0の読み込みサポート #856

merged 44 commits into from Nov 28, 2022

Conversation

malaybaku
Copy link
Owner

@malaybaku malaybaku commented Nov 28, 2022

PR category

PR type:

  • Add new feature

What the PR does

fixed #833
VRM 1.0の読み込みサポートです。

How to confirm

  • VRM 0.x系のモデルが読みこめる
  • VRoidモデルがベースのTwist sampleでWord to Motionを使ったとき、腕が変にねじれずに動く
  • 設定ファイル上ではVRM 0.xのブレンドシェイプ名でデータが保存される
  • Word to Motion機能でSurprised、Happy、Angryを指定してプレビュー・実行できる
  • オフセットクリップ機能でHappyとAngryが使える
  • 体型調整クリップ機能でHappyとAngryが使える
  • Face Switch機能でHappyとAngryが使える
  • (公開コードではないが)VRoid SDKのロード部分だけVRM 1.0用のロード処理に変更することで、VRM 1.0がロードされた状態にできること

Note

本当はこのPRに紐付けられるdocの更新があるんですが、一緒にしてもかえってごちゃごちゃするため、別のPRでdocを更新します。

# Conflicts:
#	VMagicMirror/Assets/Baku/VMagicMirror/Scripts/AvatarControl/FaceContol/NeutralClipSettings.cs
@malaybaku malaybaku merged commit 7293745 into develop Nov 28, 2022
@malaybaku malaybaku deleted the feature/support_vrm10 branch November 28, 2022 15:30
@malaybaku malaybaku mentioned this pull request Nov 28, 2022
Comment on lines +73 to +78
fbbik.solver.SetLimbOrientations(new BipedLimbOrientations(
new BipedLimbOrientations.LimbOrientation(Vector3.forward, Vector3.forward, Vector3.left),
new BipedLimbOrientations.LimbOrientation(Vector3.forward, Vector3.forward, Vector3.left),
new BipedLimbOrientations.LimbOrientation(Vector3.forward, Vector3.forward, Vector3.left),
new BipedLimbOrientations.LimbOrientation(Vector3.forward, Vector3.forward, Vector3.left)
));
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to : vrm-c/UniVRM#1923

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant