3D Graphics have come to the browser and this represents a new world of possibilities. WebGL has a reputation for a high entry barrier, but fortunately there are already some frameworks out there making things simpler. We’ll cover some of the WebGL basics and show you what to look for in a framework for 3D graphics in the browser. You’ll also meet PhiloGL, a WebGL framework focused on data visualization, creative coding and game development from Sencha Labs. Prepare to watch cool 3D demos!
7. What is WebGL ?
OpenGL
OpenGL ES
WebGL
Thursday, November 3, 2011
8. What is WebGL ?
JavaScript
WebGL JS API
GPU (Compiled Program)
Thursday, November 3, 2011
9. What is WebGL ?
JavaScript
WebGL JS API
GLSL API Vertex Shader
GLSL API Fragment Shader
Thursday, November 3, 2011
10. What is WebGL ?
JavaScript [x1, y1, z1, x2, y2, z2, ...]
WebGL JS API
attribute
GLSL API Vertex Shader
uniform
GLSL API Fragment Shader uniform varying
Thursday, November 3, 2011
11. What is WebGL ?
JavaScript [x1, y1, z1, x2, y2, z2, ...]
attribute
Triangle Assembly Vertex Shader
uniform
Rasterization Fragment Shader uniform varying
Thursday, November 3, 2011
12. What is WebGL ?
Vertex Shader
Triangle Assembly
Rasterization
Fragment Shader
Thursday, November 3, 2011
15. What can WebGL be used for ?
Interactive games
Data visualization
Creative coding
Physics simulations
Music videos
... very fast processing of any data.
Thursday, November 3, 2011
28. PhiloGL
A WebGL framework for data
visualization, creative coding and
game development.
Thursday, November 3, 2011
29. PhiloGL
A WebGL framework for data
visualization, creative coding and
game development.
http://senchalabs.github.com/philogl/
Thursday, November 3, 2011
30. PhiloGL
A WebGL framework for data
visualization, creative coding and
game development.
Thursday, November 3, 2011
31. PhiloGL
A WebGL framework for data
visualization, creative coding and
game development.
http://senchalabs.github.com/philogl/
Thursday, November 3, 2011