$30 off During Our Annual Pro Sale. View Details »
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.2k
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.7k
画像処理から始めるコンピュートシェーダ / Introduction to Image Processing using Compute Shader
sotanmochi
2
2.6k
Diminished Reality 入門 / Introduction to Diminished Reality
sotanmochi
2
9.2k
Unityでテクスチャにお絵描きするための線分描画アルゴリズムの話 / Line drawing algorithm using fragment shader
sotanmochi
2
3.9k
MagicOnionでマルチプレイゲームを作ってみる / Introduction to developing multiplayer games using MagicOnion
sotanmochi
1
2.4k
VRMを使ったAR/MR撮影ツールを試作開発してみた話 / Prototype of Mobile Mixed Capture
sotanmochi
0
1.7k
リアルとバーチャルの融合によって越えられない壁を壊す / TechCafe vol.8 LT
sotanmochi
0
280
ユニティちゃんと鬼ごっこができるMRゲームと戦術位置解析システム / Mixed reality game and tactical position analysis
sotanmochi
0
680
Research modeで取得した深度(Depth)データを可視化する / Depth data visualization for Hololens RS4 Research mode
sotanmochi
0
190
Other Decks in Technology
See All in Technology
AIエージェント開発と活用を加速するワークフロー自動生成への挑戦
shibuiwilliam
4
590
SREには開発組織全体で向き合う
koh_naga
0
390
AWS運用を効率化する!AWS Organizationsを軸にした一元管理の実践/nikkei-tech-talk-202512
nikkei_engineer_recruiting
0
130
業務のトイルをバスターせよ 〜AI時代の生存戦略〜
staka121
PRO
2
230
特別捜査官等研修会
nomizone
0
200
たまに起きる外部サービスの障害に備えたり備えなかったりする話
egmc
0
330
Connection-based OAuthから学ぶOAuth for AI Agents
flatt_security
0
140
ウェルネス SaaS × AI、1,000万ユーザーを支える 業界特化 AI プロダクト開発への道のり
hacomono
PRO
0
270
JEDAI認定プログラム JEDAI Order 2026 エントリーのご案内 / JEDAI Order 2026 Entry
databricksjapan
0
150
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
260
Kiro を用いたペアプロのススメ
taikis
3
920
SQLだけでマイグレーションしたい!
makki_d
0
1.1k
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
2
200
Leadership Guide Workshop - DevTernity 2021
reverentgeek
0
160
The Mindset for Success: Future Career Progression
greggifford
PRO
0
180
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
34
Designing for Performance
lara
610
69k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
290
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
130
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The SEO Collaboration Effect
kristinabergwall1
0
300
How Software Deployment tools have changed in the past 20 years
geshan
0
29k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
57
37k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
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を使ってみよう!
ありがとうございました