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
3k
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
820
画像処理から始めるコンピュートシェーダ / Introduction to Image Processing using Compute Shader
sotanmochi
2
2.3k
Diminished Reality 入門 / Introduction to Diminished Reality
sotanmochi
2
8.6k
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.5k
リアルとバーチャルの融合によって越えられない壁を壊す / TechCafe vol.8 LT
sotanmochi
0
240
ユニティちゃんと鬼ごっこができるMRゲームと戦術位置解析システム / Mixed reality game and tactical position analysis
sotanmochi
0
560
Other Decks in Technology
See All in Technology
The Future of SEO: The Impact of AI on Search
badams
0
200
TAMとre:Capセキュリティ編 〜拡張脅威検出デモを添えて〜
fujiihda
2
250
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
200
2/18/25: Java meets AI: Build LLM-Powered Apps with LangChain4j
edeandrea
PRO
0
120
N=1から解き明かすAWS ソリューションアーキテクトの魅力
kiiwami
0
130
Raycast AI APIを使ってちょっと便利な拡張機能を作ってみた / created-a-handy-extension-using-the-raycast-ai-api
kawamataryo
0
100
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
370
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
2
1.5k
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
750
アジャイル開発とスクラム
araihara
0
170
プロセス改善による品質向上事例
tomasagi
2
2.6k
Building Products in the LLM Era
ymatsuwitter
10
5.5k
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
A designer walks into a library…
pauljervisheath
205
24k
Practical Orchestrator
shlominoach
186
10k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
51k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Why Our Code Smells
bkeepers
PRO
336
57k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
9
450
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
It's Worth the Effort
3n
184
28k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
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を使ってみよう!
ありがとうございました