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
暑さ寒さも彼岸まで、Blender Poly
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yuichi Sato
July 21, 2018
Programming
32
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
暑さ寒さも彼岸まで、Blender Poly
Yuichi Sato
July 21, 2018
More Decks by Yuichi Sato
See All by Yuichi Sato
深層学習学習中
satoyuichi
0
41
深層学習はじめました
satoyuichi
0
50
瞑想アプリ
satoyuichi
0
50
SDF を作りたかった
satoyuichi
0
530
初めての iPhone ネイティブアプリ
satoyuichi
0
64
キャンフェスにゲームを出そう -StruckOut 編-
satoyuichi
0
27
ミクちゃんが歌ったら 家に帰ろう
satoyuichi
0
20
体温記録送信アプリ
satoyuichi
0
26
コロナ横目にバージョンアップ
satoyuichi
0
77
Other Decks in Programming
See All in Programming
今さら聞けないCancellationToken
htkym
0
220
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
500
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
660
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
450
Lessons from Spec-Driven Development
simas
PRO
0
140
Oxcを導入して開発体験が向上した話
yug1224
4
290
CSC307 Lecture 17
javiergs
PRO
0
320
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
840
3Dシーンの圧縮
fadis
1
670
AIとRubyの静的型付け
ukin0k0
0
540
Swiftのレキシカルスコープ管理
kntkymt
0
210
Oxlintのカスタムルールの現況
syumai
6
1k
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Visualization
eitanlees
152
17k
Agile that works and the tools we love
rasmusluckow
331
21k
Designing Powerful Visuals for Engaging Learning
tmiket
1
400
WCS-LA-2024
lcolladotor
0
620
How STYLIGHT went responsive
nonsquared
100
6.2k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
190
Testing 201, or: Great Expectations
jmmastey
46
8.2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Transcript
暑さ寒さも彼岸まで、 Blender Poly 佐藤 雄一
自己紹介 名前:佐藤 雄一 好物:エレキギター、(初期)仏教、Smalltalk Blender歴:90年代後半から Twitter:@satoyuichi80
About me Name:Yuichi Sato I love:Electric guitar、Buddist、Smalltalk Blender using since:Late
’90 Twitter:@satoyuichi80
Google Poly https://poly.google.com/ Google が提供する 3D オブジェクト共有サイト。 Google プラットフォームでの XR
コンテンツ開発促進の ためのもの(のよう)。
通常の取り込み手順 作業 Web ブラウザ ダウンロード Blender 形式に応じたインポート 作業 めんどう!
通常の取り込み手順 作業 Web ブラウザ ダウンロード Blender 形式に応じたインポート 作業 アドオン (選ぶ、
ダウンロード、 インポート) Blender に引き こもれて幸せ
開発者用サイト https://developers.google.com/poly/develop/ 各種プラットフォーム用の SDK/API がある。 • Android / iOS(モバイル) •
Unreal / Unity(ゲームエンジン) • Web
インポートまでの流れ
Web API キーを取得
Addon を有効化し、API キーを入力する
Create タブにパネルが追加される(Object モード) 1. 各種オプションを選択する 2. ロードして、サムネイルや各種データを読み込む
インポートしたいモデルを選択する
オブジェクトをインポートする
設計
クラス図
データ読み込みシーケンス
インポートシーケンス
工夫した点
API ドキュメントにないカテゴリを追加 Poly 上のカテゴリ(一部) API で指定できるカテゴリ
URL からキーワードを推測 「スポーツ、フィットネス」を指定すると https://poly.google.com/category/sports-fitness という URL に飛ぶので、”sports_fitness” を渡してみた ところ、ダウンロード出来た!おなじ要領で他のカテゴリ も追加していった。
苦労した点
選択された項目を取得するところ
コールバックで思うようにいかなかったのが前回 オブジェクトをアトリビュートに出し入れして、良い感じにゴニョゴニョするしかないかと 覚悟を決めかけたところ… 保存したデータから動的に一覧を生成するオブジェクト
コールバックで思うようにいかなかったのが前回 オブジェクトをアトリビュートに出し入れして、良い感じにゴニョゴニョするしかないかと 覚悟を決めかけたところ… ひょっとして、素直にこれを参照すれば良いのでは…?
出来た!
デモ
今後の展望 • エラーメッセージを GUI 表示するようにしたい • 改ページを分かりやすくしたい ← 開発版では対応済み •
Web で探したモデルを読み込めるようにする ← 開発版では対応中 あまりモチベーション高くないもの • マテリアルも読み込めるように(した方が便利?…なのか?) • .obj 形式以外も読み込めるように(した方が便利?…なのか?)
Happy Blending! https://github.com/satoyuichi/BlenderPoly