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
Dive into 0.016 seconds of WebGL
Search
yomotsu
September 16, 2014
Programming
0
970
Dive into 0.016 seconds of WebGL
yomotsu
September 16, 2014
Tweet
Share
More Decks by yomotsu
See All by yomotsu
three.jsとRapierでレースゲームが3日でできた話
yomotsu
0
470
PBR in three.js
yomotsu
1
860
dialog要素でつくるモーダルダイアログ
yomotsu
0
980
IE to Edge
yomotsu
1
330
A Camera Control Library for three.js
yomotsu
1
1.2k
Let’s try AR on mobile Web with <model-viewer>
yomotsu
0
540
WebXR: Beyond WebGL
yomotsu
2
1.7k
Non-DOM components with WebGL in Vue.js
yomotsu
5
12k
WebGL Libs for WebApp Frameworks
yomotsu
4
7.8k
Other Decks in Programming
See All in Programming
PRレビューのお供にDanger
stoticdev
1
240
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
760
Go 1.24でジェネリックになった型エイリアスの紹介
syumai
2
310
Domain-Driven Design (Tutorial)
hschwentner
13
22k
若手バックエンドエンジニアが Elasticsearch を使ってみた話
hott0mott0
1
100
技術を改善し続ける
gumioji
0
180
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.9k
「個人開発マネタイズ大全」が教えてくれたこと
bani24884
1
300
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
130
AWS Step Functions は CDK で書こう!
konokenj
5
920
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
320
オレを救った Cline を紹介する
codehex
15
14k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
11
540
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Facilitating Awesome Meetings
lara
53
6.3k
Side Projects
sachag
452
42k
Bash Introduction
62gerente
611
210k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
A better future with KSS
kneath
238
17k
Git: the NoSQL Database
bkeepers
PRO
429
65k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
BBQ
matthewcrist
87
9.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
134
33k
Transcript
1 Dive into 0.016 seconds of WebGL Presented by Akihiro
Oyamada (@yomotsu) Frontend Engineer at PixelGrid, Inc. Sep 16, 2014
2 Hello! Frontend Engineer at PixelGrid, Inc. @yomotsu
• Beautiful! • Cool Technology! • very hot!! 3 Impressions
of WebGL
4 100°C! (212°F)
5 WebGL makes your Mac Book Very Hot
6 https://yomotsu.github.io/walkthrough I’m making a game in three.js for fun
It was working with 60 FPS 7
• FPS stands for Frames Per Second • The number
of rendering per one second 8
9 http://yomotsu.github.io/FPS_Comparison/ 20 FPS vs 60 FPS
10
11
Why 60 FPS? 12
• Most computer screens have a refresh rate of 60
Hertz • Most console games work with 60 FPS too 13
Dive into a Frame 14 0 . 0 1 6
s e c o n d s
Realtime 3D works with Forward Rendering 15 or Deferred
rendering
16 16
17
18 Lets take a look ! demo
19
Drawcalls increase CPU load and the temperature 20
Take care of CPU, GPU and RAM! 21 I’ll have
a talk about optimization sometime soon! perhaps at CodeGrid https://app.codegrid.net/
22 gl.finish(); @yomotsu