Slide 1

Slide 1 text

1 WebGL on Internet Explorer Tokyo WebGL Meetup | june 13, 2014

Slide 2

Slide 2 text

2 Hello! Frontend Engineer at PixelGrid, Inc. @yomotsu recent private works • http://yomotsu.net/blog/assets/2014-02-26-facial-animation/ • http://yomotsu.net/blog/assets/2014-02-13-chocolate4u/ • http://yomotsu.github.io/CharacterController/game.html

Slide 3

Slide 3 text

//build/ 2013 San Francisco | June 26, 2013 3

Slide 4

Slide 4 text

4

Slide 5

Slide 5 text

5

Slide 6

Slide 6 text

IE11 supports WebGL! 6

Slide 7

Slide 7 text

leading up to that 7

Slide 8

Slide 8 text

8 IE10 did not support WebGL
 due to security concerns

Slide 9

Slide 9 text

9 http://blogs.technet.com/b/srd/archive/2011/06/16/webgl-considered-harmful.aspx

Slide 10

Slide 10 text

10 http://blogs.technet.com/b/srd/archive/2011/06/16/webgl-considered-harmful.aspx • Exposed hardware functionality • Heavily security servicing responsibility • Against DoS vulnerability

Slide 11

Slide 11 text

11 http://msdn.microsoft.com/en-us/library/ie/hh869304(v=vs.85).aspx

Slide 12

Slide 12 text

12

Slide 13

Slide 13 text

13 Although TypedArray is available

Slide 14

Slide 14 text

14 https://vine.co/v/b9QqeAIPgua

Slide 15

Slide 15 text

IE11 15 Hachamovitch stated • WebGL on IE runs on top of DirectX • There is "time-out detection
 and recovery" • If possible to overwhelm the GPU,
 TDR will reset it TDR: http://msdn.microsoft.com/en-us/Library/Windows/Hardware/ff570088(v=vs.85).aspx

Slide 16

Slide 16 text

16 WebGL Canvas Context GLSL Graphics API HLSL Compiler DirectX 11 Runtime GPU Driver Software rendering

Slide 17

Slide 17 text

17 http://yomotsu.github.io/inori/

Slide 18

Slide 18 text

DEMO 18

Slide 19

Slide 19 text

19 WebGL also works on Windows Phone

Slide 20

Slide 20 text

20 http://www.rethinkie.com/ MS has released many WebGL contents

Slide 21

Slide 21 text

21 http://www.rethinkie.com/

Slide 22

Slide 22 text

22 http://photosynth.net/

Slide 23

Slide 23 text

23 http://msdn.microsoft.com/en-us/library/ie/bg182648(v=vs.85).aspx Also documentations

Slide 24

Slide 24 text

24 http://msdn.microsoft.com/en-us/library/ie/bg182648(v=vs.85).aspx Also documentations

Slide 25

Slide 25 text

25 http://msdn.microsoft.com/ja-jp/library/ie/bg182648(v=vs.85).aspx they recommend to
 use

Slide 26

Slide 26 text

26 http://msdn.microsoft.com/ja-jp/library/ie/bg182648(v=vs.85).aspx they recommend to
 use three.js

Slide 27

Slide 27 text

27 http://threejs.org/ the most popular JS liberally for WebGL

Slide 28

Slide 28 text

28 http://www.babylonjs.com/ Microsoft has also released JS liberally

Slide 29

Slide 29 text

apparently IE team is
 thinking seriously
 about WebGL 29

Slide 30

Slide 30 text

30

Slide 31

Slide 31 text

31 What is the deference between 
 0.92 and 1.0?

Slide 32

Slide 32 text

32 http://www.khronos.org/registry/webgl/conformance-suites/1.0.1/webgl-conformance-tests.html

Slide 33

Slide 33 text

33

Slide 34

Slide 34 text

34

Slide 35

Slide 35 text

35 https://connect.microsoft.com/IE/feedback/details/795172/ie11-fails-more-than-half-tests-in-official-webgl-conformance-test-suite

Slide 36

Slide 36 text

36 •#line •struct •gl_FrontFacing •gl_PointSize •GLSL extensions •Internal Linker Error •clearStencil •lineWidth •enable :
 SAMPLE_ALPHA_TO_COVERAGE •enable :
 SAMPLE_COVERAGE •getParameter : SAMPLES •getParameter : SUBPIXEL_BITS Features not supported under the 0.92

Slide 37

Slide 37 text

37 • anti-aliasing • particle system (VTF) • THREE.DoubleSide for material.side • linewidth for THREE.LineBasicMaterial and some other features do not work three.js in IE11

Slide 38

Slide 38 text

Anyway! as you saw major features will work! 38

Slide 39

Slide 39 text

39 http://msdn.microsoft.com/en-us/library/ie/dn641599(v=vs.85).aspx

Slide 40

Slide 40 text

IE11 will be updated to WebGL 0.93 will have, GLSL structs, inout, pointsize, compressed textures, stencil buffers, standard derivatives extension, Instancing extension, 16 bit textures, and more! 40

Slide 41

Slide 41 text

When you encountered errors… 41

Slide 42

Slide 42 text

42 • WebGL for Internet Explorer
 http://msdn.microsoft.com/en-us/library/ie/dn302469(v=vs.85).aspx • GLSL errors
 http://msdn.microsoft.com/en-us/library/ie/dn611835(v=vs.85).aspx • WebGL context errors in Internet Explorer 11 Preview
 http://msdn.microsoft.com/en-us/library/ie/dn358557(v=vs.85).aspx • GLSL errors in Internet Explorer 11 Preview
 http://msdn.microsoft.com/en-us/library/ie/dn621084(v=vs.85).aspx MSDN may be helpful

Slide 43

Slide 43 text

43 IE11 on VM may not work expected

Slide 44

Slide 44 text

44 • Send feedback with Connect • Tweet with #AskIE Let IE team know

Slide 45

Slide 45 text

45 https://connect.microsoft.com/IE/Feedback

Slide 46

Slide 46 text

46 https://twitter.com/hashtag/askie

Slide 47

Slide 47 text

conclusion 47

Slide 48

Slide 48 text

• WebGL has been supported WebGL by IE11 • It is partially but most features are available • Make 3D stuff with WebGL! 48

Slide 49

Slide 49 text

49 Thank you! @yomotsu