Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
WebGLとThree.jsで遊ぼう フロントエンド勉強会#09
Search
naoki ota
May 20, 2020
Programming
40
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebGLとThree.jsで遊ぼう フロントエンド勉強会#09
naoki ota
May 20, 2020
More Decks by naoki ota
See All by naoki ota
VRT フロントエンド勉強会#13
otaly
0
82
Blenderと友達になるには LT
otaly
0
35
Other Decks in Programming
See All in Programming
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.3k
Event is what happens
moro
2
850
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
970
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
140
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
270
ActionController meets Protocol Buffers
sorah
0
550
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
720
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
ジョジョの世界をXRで再現する
mofurune
0
170
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.3k
Become a Pro
speakerdeck
PRO
31
6.3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
290
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
How to Talk to Developers About Accessibility
jct
2
580
First, design no harm
axbom
PRO
2
1.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
Transcript
8FC(-ͱ5ISFFKTͰ༡΅͏ ϑϩϯτΤϯυ-5ձ
ΊͪΌͪ͘ΌΧοί͍͍αΠτɺ ͭ͘Γͨ͘ͳ͍ʁ
ϒϥβͰͷ άϥϑΟοΫදݱͳΒɺ 8FC(-
8FC(-ͱʁ
WebGLͱʁ 8FC(-ͱɺ 8FC(SBQIJDT-JCSBSZͷུɻ ϒϥβͰ%άϥϑΟοΫε%άϥϑΟοΫεΛϨϯμϦϯά ͢ΔͨΊͷ+BWB4DSJQU"1*ɻ
w DBOWBTཁૉʹඳը͢Δ w *&ؚΊɺҰൠతͳϞμϯϒϥβͰαϙʔτ͞Ε͍ͯΔ w %ϞσϧͷදࣔɺΠϯλϥΫςΟϒͳάϥϑΟοΫεͷඳըͳͲ w (16ΛͬͨߴͳϨϯμϦϯά͕Մೳ WebGLͱʁ ͏ͪΐͬͱઆ໌
const canvas = document.getElementById('myCanvas'); const gl = canvas.getContext('webgl');
ͦ͜Ͱɺ5ISFFKT ͨͩɺͪΐͬͱ͍͠ʝ ˠ࠲ඪม ࣍ݩ࠲ඪΛ࣍ݩ࠲ඪʹม ͢ΔΈΛɹ ɹ͍࣋ͬͯͳ͔ͬͨΓͱ͔ʝ WebGLͱʁ
5ISFFKTͱʁ
Three.jsͱʁ 5ISFFKTͱɺ 8FC(-Λ؆୯ʹ͑ΔΑ͏ʹͯ͘͠Εͯɺૉͷ8FC(-Λ৮ΔΑΓ ͔ͳΓָʹຊ֨తͳ%ඳըΛՄೳʹͯ͘͠ΕΔϥΠϒϥϦɻ
w ࣮ܰྔͳϥΠϒϥϦ ,# w ശܕٿɺυʔφπܕԁਲ਼ɺจࣈଟ֯ܗͳͲͷجຊతͳܗঢ়σϑΥϧ τͰଘࡏ͢Δ جຊతͳܗঢ়͚ͩͳΒࣗͰ%ϞσϦϯάͨ͠Γर͖ͬͯͨΓ͢Δඞཁ ͳ͍ w
ӳޠʹͳΔ͕ɺެࣜͷαϯϓϧɾυΩϡϝϯτ͕ॆ࣮ͯ͠Δײ͡ͳͷͰֶ श͍͢͠ w 8FC(-ΛͰ৮ΔͷͱൺΔͱָ͘͢͝ Three.jsͱʁ 5ISFFKTͷಛ
ൺֱత؆୯ʹ %Ϟσϧͱ͔ͬͯ Χοί͍͍ͷΛ࡞ΕΔɻ ཁ͢Δʹʝ
ͱΓ͋͑ͣಈ͔ͯ͠ΈΔ
͍ΖΜͳ࡞ྫΛݟͯΈΔ
5ISFFKTͷެ͚ࣜͩͰαϯϓϧ ΊͪΌͪ͘Ό͋Δɻ ͍ΖΜͳ࡞ྫΛݟͯΈΔ
αϯϓϧ͕ݟΒΕΔαΠτ w IUUQTUISFFKTPSHFYBNQMFT 5ISFFKTެࣜ w IUUQTBMUFSFERVBMJBDPN Իָͱ߹Θ͍ͤͯΔͷ͋ͬͨΓָ͍͠ w
IUUQTXXXBXXXBSETDPNBXXXBSETDPMMFDUJPOTXFCHM 8FC(-͕ΘΕ͍ͯΔ͍͍ײ͡ͷαΠτͷհ ͍ΖΜͳ࡞ྫΛݟͯΈΔ
࣮ࡍͲΜͳͱ͖ʹ͑Δͷ͔ʁ
w αΠτͷΩʔϏδϡΞϧ ‣ IUUQTIPNVODVMVTKQBCPVU ‣ IUUQTXXXXBOOBCFUPZT w ήʔϜ࡞ ‣ IUUQIFYHMCLDPSFDPNQMBZ
w Ξʔτ ‣ IUUQTQBWFMEPHSFBUHJUIVCJP8FC(-'MVJE4JNVMBUJPO w 73ʢ93ʣ ࣮ࡍͲΜͳͱ͖ʹ͑Δͷ͔ʁ
࠷ޙʹ
5ISFFKTษڧͯ͠Χοί͍͍ͷ ࡞Γ͍ͨʂ ݸਓతͳඪ
Έͳ͞ΜശΛ͘Δ͘Δͤͯ͞ ΈΔͱ͜Ζ͔Βʂ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ