forked from hakimel/reveal.js
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvr-light.html
executable file
·391 lines (335 loc) · 11.8 KB
/
vr-light.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Web Dev Flavored reveal.js - The HTML Presentation Framework</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="plugin/fontawesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/theme/wes-light.css" id="theme">
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section data-background="assets/vr/lolvr.jpg" style="color: #fff;">
<p class="small" style="position: relative; top: -6em;"><strong>Pro-tip:</strong> Press <span style="display: inline-block; padding: .2em .6em; border: 1px solid #777; border-radius: .3em; background: #fff; box-shadow: 0 1px 0 #555, 0 2px 0 #555, 0 3px 0 #555, 0 4px 0 #555; position: relative; top: -.1em; color: #000;">space bar</span> to progress and it won't skip any slides</p>
<h1 class="lolvr" style="position: relative; color: #fff; font-weight: 900; font-size: 5em; color: rgba(255, 255, 255, 0);">
<span class="lolvr-text">Web VR</span><span class="lolvr-3dness"></span>
</h1>
<p style="font-weight: 700; font-size: 2em">What, why and how</p>
<style>
.lolvr-text {
position: relative;
z-index: 10;
color: #fff;
}
.lolvr .lolvr-3dness:before,
.lolvr .lolvr-3dness:after {
content: 'Web VR';
position: absolute;
top: 0;
left: 0;
width: 100%;
display: block;
text-align: center;
color: rgba(255, 255, 255, 0);
opacity: 0.7;
text-shadow:
1px 1px 0 rgb(18, 128, 131),
2px 2px 0 rgb(18, 128, 131),
3px 3px 0 rgb(18, 128, 131),
4px 4px 0 rgb(18, 128, 131),
5px 5px 0 rgb(18, 128, 131),
6px 6px 0 rgb(18, 128, 131),
7px 7px 0 rgb(18, 128, 131),
8px 8px 0 rgb(18, 128, 131),
9px 9px 0 rgb(18, 128, 131)
;
}
.lolvr .lolvr-3dness:after {
text-shadow:
-1px -1px 0 rgb(178, 18, 128),
-2px -2px 0 rgb(178, 18, 128),
-3px -3px 0 rgb(178, 18, 128),
-4px -4px 0 rgb(178, 18, 128),
-5px -5px 0 rgb(178, 18, 128),
-6px -6px 0 rgb(178, 18, 128),
-7px -7px 0 rgb(178, 18, 128),
-8px -8px 0 rgb(178, 18, 128),
-9px -9px 0 rgb(178, 18, 128);
}
</style>
</section>
<section style="text-align: left;">
<h2 id="who-am-i" style="font-weight: 200">About Us</h2>
<div class="column-wrapper">
<div style="width: 50%">
<h3 id="wes-ruvalcaba" style="padding: 0 1em 0 0; font-size: 1.4em;">Wes Ruvalcaba</h3>
<ul>
<li>Front End Dev at Lullabot</li>
<li>BFA in Illustration</li>
</ul>
</div>
<div style="width: 50%">
<h3 id="dave-burns" style="font-size: 1.4em;">Dave Burns</h3>
<ul>
<li>Senior Developer at Lullabot</li>
<li>Man with the VR Plans</li>
</ul>
</div>
</section>
<section data-background-color="#fff">
<img src="assets/d8/lullabot-slide.jpg" alt="Lullabot" />
</section>
<section>
<h2 id="well-go-over">We'll go over</h2>
<ul>
<li>The VR Landscape</li>
<ul>
<li>Terminology</li>
<li>User Experiences</li>
<li>Hardware</li>
<li>Applications of VR</li>
</ul>
<li>Web VR</li>
<li>Basics of A-Frame</li>
<li>Demo time!</li>
</ul>
</section>
<section class="center">
<h2 id="terminology">Terminology</h2>
</section>
<section>
<section>
<h3 id="virtual-reality">Virtual Reality</h3>
<p style="margin-bottom: 1.5em;">A created environment or simulation that tries to encompass a user as much as possible</p>
</section>
<section>
<h3>Virtual Reality</h3>
<img src="assets/vr/steamvrtrailer-500x375.png" alt="Girl in VR petting a robot dog" />
</section>
<section>
<h4>Virtual Reality</h4>
<img src="assets/vr/promo-image-3.jpg" alt="A man in vr defending a castle with a bow and arrow from minions" />
</section>
</section>
<section>
<section>
<h3>Augmented Reality</h3>
<p>An environment or elements that attempt to blend into the real world</p>
</section>
<section>
<h3>Augmented Reality</h3>
<img src="assets/vr/pgo.png" alt="Pokemon Go" />
</section>
<section>
<h4>Augmented Reality</h4>
<img src="assets/vr/ar-car-repair.jpg" alt="Pokemon Go" />
</section>
</section>
<section>
<section>
<h2 id="experiences">User Experience & <br>Interaction Types</h2>
</section>
<section>
<h3>Controls & Inputs</h3>
</section>
<section>
<h4>Gaze or Look & Press</h4>
<img src="assets/vr/gaze-demo.jpg" alt="A VR headset looking a a point in the image" />
</section>
<section>
<h4>Traditional Controllers</h4>
<img src="assets/vr/noun_10269_cc.png" style="width: 80px; padding-right: 2em" alt="Media controller" />
<img src="assets/vr/noun_195043_cc.png" style="width: 300px; padding-right: 2em" alt="Video game controller" />
<img src="assets/vr/joystick.png" style="width: 250px;" alt="Video game controller" />
<p>Hands or Controllers do not appear in virtual reality.</p>
</section>
<section>
<h4>VR Controllers</h4>
<img src="assets/vr/oculus-rift-htc-vive-motion-controllers2.jpg" alt="Vive and Oculus Rift VR Controllers" style="width: 75%" />
<p style="font-size: 0.5em">Image from <a href="http://www.roadtovr.com/including-controllers-htc-vive-and-oculus-rift-could-be-evenly-matched-on-price-touch/">Road to VR</a></p>
</section>
<!--<section>
<h4>Gestures</h4>
<img src="assets/vr/leap-motion.gif" style="width: 100%" alt="User doing a pinch gesture with hands to create cubes and stacking and throwing the cubes" />
</section>-->
</section>
<section>
<section>
<h3>Body Interaction</h3>
</section>
<section>
<h4>Sitting / Standing</h4>
<img style="width:85%" src="assets/vr/state-of-game-virtual-reality-15.jpg" alt="A man on his couch with a VR headset turning his head while holding a controller" />
<p><small><a href="http://www.roadtovr.com/oculus-plans-to-have-rift-demo-stations-in-retail-stores-for-consumer-launch/">Source RoadToVR.com</a></small></p>
</section>
<section>
<h4>Room Scale</h4>
<img src="assets/vr/htc-vive-room-scale.jpg" alt="A man on his couch with a VR headset turning his head while holding a controller" />
</section>
</section>
<section>
<section>
<h3>The Hardware</h3>
</section>
<section>
<h2 id="#consumer-products">Low-End Headsets</h2>
<div class="column-wrapper">
<div style="width: 50%">
<ul>
<li>Sitting/Standing only</li>
<li>$20 to $100</li>
<li>Limited by Phone Hardware</li>
</ul>
</div>
<div style="width: 50%">
<img src="assets/vr/cardboard.jpg" alt="Google Cardboard" style="width: 50%; margin: 0; float: left;"/>
<img src="assets/vr/ap_resize.jpg" alt="" style="width: 50%; margin: 0; float: left;"/>
</div>
</div>
<div style="float: right; width: 70%;">
<img src="assets/vr/google-daydream-view-580x358.jpeg" alt="" style="width: 47%; margin: 0 6% 0 0; float: left;" />
<img src="assets/vr/GearVR_Hero_Gold.png" alt="" style="width: 47%; margin: 0; float: left;" />
</div>
</section>
<section>
<h2>Higher End Headsets</h2>
<div class="column-wrapper">
<div style="width: 50%">
<ul>
<li>Room Scale and Standing/Sitting</li>
<li>VR Controllers</li>
<li>$500 to $800</li>
<li>Requires powerful computer</li>
</ul>
</div>
<div style="width: 50%">
<img src="assets/vr/oculus.jpg" alt="" />
<img src="assets/vr/htc-vive-set.0.jpg" alt="" />
</div>
</div>
</section>
</section>
<section>
<h2>Applications for VR</h2>
<ul>
<li>Gaming, Photos, Video</li>
<li>Demonstrate macro/micro scale</li>
<li>Tour Museums, Distant Locations, Event Re-enactment</li>
<li>Therapy for PTSD, Phobias and Brain Injuries</li>
<li>Training simulation</li>
</ul>
</section>
<section>
<section>
<h2 id="webvr" style="font-size: 4em">Web VR</h2>
</section>
<section data-background="assets/vr/mozvr.png">
<aside class="notes">
<p><a href="https://mozvr.com/">Moz VR</a></p>
<ul>
<li>Goal: bring VR to web browsers natively</li>
<li>Working on a WebVR API W3C specification</li>
<li>Working on frameworks/libraries that can be used today</li>
</ul>
</aside>
</section>
<section>
<h4><a href="https://github.com/borismus/webvr-boilerplate">WebVR Boilerplate <i class="fa fa-github"></i></a></h4>
<ul>
<li>Starter kit for custom WebVR/3D experience in modern browsers</li>
<li>Very JS Heavy</li>
<li>Developer centric</li>
</ul>
</section>
<section data-background="assets/vr/aframe.png">
<h4><a href="https://aframe.io" style="color: #fff">A-Frame</a></h4>
<ul>
<li>Built on WebVR Boilerplate</li>
<li>Easy to learn markup language</li>
<li>Can further be modified with JS</li>
<li>Project goal is to enable more creators</li>
</ul>
</section>
</section>
<section>
<section>
<h3 style="font-size: 2.25em">A-Frame Tutorial</h3>
<p style="font-size: 3em">🤓 😆</p>
</section>
<section>
<h4>Good news</h4>
<ul>
<li>A-Frame docs are fantastic</li>
<li>It's a single JS file</li>
<li>No compiling necessary!</li>
</section>
<section>
<h4>Getting Started with A-frame</h4>
<pre class="language-markup" data-line="6-7"><code class="language-markup"><html>
<head>
<script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
</a-scene>
<body>
</html></code></pre>
<p><small><a href="https://aframe.io/docs/0.5.0/guides/#starting-with-html">A-Frame Docs</a></small></p>
</section>
<section>
<h4><a href="vr-demo-drupalcon.html">Demo time!</a></h4>
</section>
<section>
<h2 id="well-go-over">Let's Review</h2>
<ul>
<li>The VR Landscape</li>
<ul>
<li>Terminology</li>
<li>User Experiences</li>
<li>Hardware</li>
<li>Applications of VR</li>
</ul>
<li>Web VR</li>
<li>Basics of A-Frame</li>
</ul>
</section>
<section>
<h4 style="font-size: 2.25em">Resources</h4>
<a style="font-size: 2.25em" href="https://aframe.io/community/">aframe.io/community</a>
</section>
</section>
<section style="font-size: 0.75em">
<h2>Sources</h2>
<p><a href="https://thenounproject.com/term/xbox-controller/195043/">XBOX Controller by Mark Davis from the Noun Project</a></p>
<p><a href="https://thenounproject.com/search/?q=remote+control&i=10269">Remote Control by Lemon Liu from the Noun Project</a></p>
<p>Most other icons sourced from <a href="http://fontawesome.io/">Font Awesome</a></p>
</section>
</div>
</div>
<script src="plugin/prism/prism.js"></script>
<script src="dist/reveal.js"></script>
<script src="plugin/zoom/zoom.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/search/search.js"></script>
<script>
// Also available as an ES module, see:
// https://revealjs.com/initialization/
Reveal.initialize({
controls: true,
progress: true,
center: true,
hash: true,
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealZoom, RevealNotes, RevealSearch ]
});
</script>
</body>
</html>