Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SmartRig Bipedを使ってみよう / Introduction to SmartRi...
Search
sotanmochi
March 27, 2019
Technology
0
3.1k
SmartRig Bipedを使ってみよう / Introduction to SmartRig Biped
sotanmochi
March 27, 2019
Tweet
Share
More Decks by sotanmochi
See All by sotanmochi
URP/HDRPを使ったVRM対応アプリの開発方法 / VRM Importer Extension
sotanmochi
0
1.6k
画像処理から始めるコンピュートシェーダ / Introduction to Image Processing using Compute Shader
sotanmochi
2
2.4k
Diminished Reality 入門 / Introduction to Diminished Reality
sotanmochi
2
8.8k
Unityでテクスチャにお絵描きするための線分描画アルゴリズムの話 / Line drawing algorithm using fragment shader
sotanmochi
2
3.6k
MagicOnionでマルチプレイゲームを作ってみる / Introduction to developing multiplayer games using MagicOnion
sotanmochi
1
2.2k
VRMを使ったAR/MR撮影ツールを試作開発してみた話 / Prototype of Mobile Mixed Capture
sotanmochi
0
1.6k
リアルとバーチャルの融合によって越えられない壁を壊す / TechCafe vol.8 LT
sotanmochi
0
250
ユニティちゃんと鬼ごっこができるMRゲームと戦術位置解析システム / Mixed reality game and tactical position analysis
sotanmochi
0
610
Research modeで取得した深度(Depth)データを可視化する / Depth data visualization for Hololens RS4 Research mode
sotanmochi
0
160
Other Decks in Technology
See All in Technology
使えるデータ基盤を作る技術選定の秘訣 / selecting-the-right-data-technology
pei0804
10
1.6k
Docker Compose で手軽に手元環境を実現する / Simplifying Local Environments with Docker Compose #CinemaDeLT
nabeo
0
240
テストコードにはテストの意図を込めよう(2025年版) #retechtalk / Put the intent of the test 2025
nihonbuson
PRO
10
1.9k
Google Cloud Next 2025 Recap アプリケーション開発を加速する機能アップデート / Application development-related features of Google Cloud
ryokotmng
0
310
SONiCにて使用されているSAIの実際
sonic
0
160
PythonツールであるpygnmiをSONiCのgNMIに対して使ってみた
sonic
0
150
AWSを利用する上で知っておきたい名前解決の話
nagisa53
6
850
MagicPodが描くAIエージェント戦略とソフトウェアテストの未来
magicpod
0
280
最近のRedmineの開発動向と次期バージョン6.1.0
vividtone
0
110
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
560
The PyArrow revolution in Pandas
reuven
0
120
TanStack Start 技術選定の裏側 / Findy-Lunch-LT-TanStack-Start
iktakahiro
1
170
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
GitHub's CSS Performance
jonrohan
1031
460k
RailsConf 2023
tenderlove
30
1.1k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Designing Experiences People Love
moore
142
24k
Designing for humans not robots
tammielis
253
25k
Producing Creativity
orderedlist
PRO
344
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
800
YesSQL, Process and Tooling at Scale
rocio
172
14k
Transcript
SmartRig Bipedを使ってみよう 2019/03/27 sotan (@sotanmochi)
自己紹介 • sotan (@sotanmochi) • TIS株式会社・戦略技術センター • xR(VR/AR/MR)技術に関する応用研究・プロトタイプ開発 2 VRMを使ったAR/MR撮影ツールを試作開発してみた話
https://speakerdeck.com/sotanmochi/prototype-of-mobile-mixed-capture 2019/03/27 Gotanda.unity #11 色々なデバイスを組み合わせて AR/MRで遊ぶことが趣味です
話の流れ • SmartRig Bipedを使ってみた • パラメータ調整について • まとめ 3 2019/03/27
Gotanda.unity #11
SmartRig Bipedを使ってみた
SmartRig Bipedについて • キャラクターの歩行アニメーションをプロシージャルに生成するアセット • モーションキャプチャデータやキーフレームアニメーションは使わない 5 【Unite Tokyo 2018】キャプチャデータはもういらない!プロシージャル・キャラクターアニメーションガイド
https://learning.unity3d.jp/749/ SmartRig Biped https://assetstore.unity.com/packages/tools/animation/smartrig-biped-134814 2019/03/27 Gotanda.unity #11
SmartRig Bipedを使ってみた • デモ動画 https://youtu.be/LlzCTsNxVdc 6 2019/03/27 Gotanda.unity #11 サンプルプロジェクト
https://github.com/sotanmochi/SmartRigBipedSample
SmartRig Bipedを使ってみた • VRMモデル+HoloLensで使ってみた https://youtu.be/-AbUgUYLTQU 7 2019/03/27 Gotanda.unity #11 サンプルプロジェクト
https://github.com/sotanmochi/SmartRigBipedSampleForHoloLens
SmartRig Bipedの使い方 • SmartRig公式のチュートリアル動画 • Tutorial1 https://youtu.be/MW4jkYSa5Nk • Tutorial2 https://youtu.be/SPMRLJZMoU8
8 2019/03/27 Gotanda.unity #11
パラメータ調整について
パラメータ値の設定例 • スクリプトで修正していないパラメータはデフォルト値のまま 10 2019/03/27 Gotanda.unity #11
パラメータ調整 - 基本設定 • ユニティちゃんにSmartRig Bipedのコンポーネントを追加した • パラメータがデフォルト値のままだと以下のような状態になる 11 2019/03/27
Gotanda.unity #11
パラメータ調整 - 基本設定 • Hip_hi:軽く膝が曲がる程度に腰の位置を調整する • Foot_up:足が地面にめり込まないように足の高さを調整する 12 2019/03/27 Gotanda.unity
#11
パラメータ調整 - 脚の動き • Bias: アニメーションを増加させるパラメータ(?)(0.0f~1.0f) • Bias = 1.0f:膝を上げて脚を振るような動きになる
• Bias = 0.0f:すり足のような動きになる 13 2019/03/27 Gotanda.unity #11 Bias = 0.0f Bias = 1.0f
パラメータ調整 - 脚の動き • Foot_wide:両足の間隔を調整する 14 2019/03/27 Gotanda.unity #11 Foot_wide
= 0.03 Foot_wide = 0.1
パラメータ調整 - 腕の動き • Arm_rot_fix:腕の角度を調整する 15 2019/03/27 Gotanda.unity #11 Arm_rot_fix.z
= 0.0f Arm_rot_fix.z = 15.0f Arm_rot_fix.z = 45.0f
パラメータ調整 - 腕の動き • Arm_rotate: 歩く時の腕の振りを調整する(-180.0f~180.0f) • Arm_rotate > 0:踏み出す足と逆側の腕を前に振る
• Arm_rotate < 0:踏み出す足と同じ側の腕を前に振る 16 2019/03/27 Gotanda.unity #11 Arm_rotate = 60.0f Arm_rotate = -60.0f Arm_rotate = 60.0f Arm_rotate = -60.0f
パラメータ調整 - 上半身の動き • Spine_rot:歩く時の上半身をひねる動きを調整 • Spine_rot.y > 0:踏み出す足と逆側の肩が前に出る •
Spine_rot.y < 0:踏み出す足と同じ側の肩が前に出る 17 2019/03/27 Gotanda.unity #11 Spine_rot.y = 60.0f Spine_rot.y = -60.0f
パラメータ調整 - 上半身の動き • Spine_rot:歩く時の上半身をひねる動きを調整 • Spine_rot.z < 0:踏み出す足と逆側の肩が上がる •
Spine_rot.z > 0:踏み出す足と同じ側の肩が上がる 18 2019/03/27 Gotanda.unity #11 Spine_rot.z = -20.0f Spine_rot.z = 20.0f
パラメータ調整 - 頭の動き • Head_rot:歩く時の頭が揺れる動きを調整 • 上半身をひねるように動かす時、 頭を揺らしたくない場合はSpine_rotと近い値に設定しておく (参考) •
Head_rot.y > 0:踏み出す足と逆の方向を見る(右足を踏み出す時に頭は左を向く) • Head_rot.z < 0:前に出した足と逆の方向に頭が下がる(右足を踏み出す時に頭が左に下がる) 19 2019/03/27 Gotanda.unity #11
まとめ
まとめ • SmartRig Bipedは歩行アニメーションをプロシージャルに生成するアセット • ユニティちゃんを歩かせるサンプルを作ってみた • 代表的なパラメータ値の調整について紹介した 21 2019/03/27
Gotanda.unity #11 SmartRig Bipedを使ってみよう!
ありがとうございました