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
Unityとゲームプログラムの基本的な構造について / Unity and Game Programming Basic Patterns
sotanmochi
0
850
画像処理から始めるコンピュートシェーダ / Introduction to Image Processing using Compute Shader
sotanmochi
2
2.3k
Diminished Reality 入門 / Introduction to Diminished Reality
sotanmochi
2
8.7k
Unityでテクスチャにお絵描きするための線分描画アルゴリズムの話 / Line drawing algorithm using fragment shader
sotanmochi
2
3.5k
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
590
Other Decks in Technology
See All in Technology
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
4
580
ルートユーザーの活用と管理を徹底的に深掘る
yuobayashi
8
740
データベースで見る『家族アルバム みてね』の変遷 / The Evolution of Family Album Through the Lens of Databases
kohbis
4
1k
入社後SREチームのミッションや課題の整理をした話
morix1500
1
200
Amazon Q Developer 他⽣成AIと⽐較してみた
takano0131
1
140
Startups On Rails 2025 @ Tropical on Rails
irinanazarova
0
170
DevinはクラウドエンジニアAIになれるのか!? 実践的なガードレール設計/devin-can-become-a-cloud-engineer-ai-practical-guardrail-design
tomoki10
3
1.5k
大規模アジャイル開発のリアル!コミュニケーション×進捗管理×高品質
findy_eventslides
0
690
ウォンテッドリーにおける Platform Engineering
bgpat
0
170
Symfony in 2025: Scaling to 0
fabpot
2
270
SREが実現する開発者体験の革新
sansantech
PRO
0
110
滑らかなユーザー体験も目指す注文管理のマイクロサービス化〜注文情報CSVダウンロード機能の事例〜
demaecan
0
120
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Become a Pro
speakerdeck
PRO
27
5.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Designing for humans not robots
tammielis
251
25k
The Language of Interfaces
destraynor
157
24k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
We Have a Design System, Now What?
morganepeng
51
7.5k
Optimising Largest Contentful Paint
csswizardry
35
3.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
28
1.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
102
19k
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を使ってみよう!
ありがとうございました