Académique Documents
Professionnel Documents
Culture Documents
Its go time.
Where We are
1977-84
1985-90
1991-94
1995-2000
Where we are
Q1 2010
Q4 2010
Q2 2011
Q4 2011
I was wrong.
Q1 2010
Q4 2010
Q2 2011
By the end of Q2
All major supported browsers should have WebGL
turned on by default.
What is WebGL?
WebGL is a royalty-free, cross-platform API that
brings OpenGL ES 2.0 to the web as a 3D drawing
context within HTML, exposed as low-level
Document Object Model interfaces. It uses the
OpenGL shading language, GLSL ES, and can be
cleanly combined with other web content that is
layered on top or underneath the 3D content. It is
ideally suited for dynamic 3D web applications in the
JavaScript programming language, and will be fully
integrated in leading web browsers.
http://www.khronos.org/
WebGL is:
WebGL is:
A 1.0 Standard (as of 3/8/11) released by
the Khronos Group
WebGL is:
A 1.0 Standard (as of 3/8/11) released by
the Khronos Group
WebGL is:
A 1.0 Standard (as of 3/8/11) released by
the Khronos Group
WebGL is:
A 1.0 Standard (as of 3/8/11) released by
the Khronos Group
WebGL is:
A 1.0 Standard (as of 3/8/11) released by
the Khronos Group
OpenGL ES 2.0
OpenGL ES 2.0
OpenGL for Embedded Systems
OpenGL ES 2.0
OpenGL for Embedded Systems
Well-defined subsets of desktop OpenGL
OpenGL ES 2.0
OpenGL for Embedded Systems
Well-defined subsets of desktop OpenGL
What youre using playing 3D games on
OpenGL ES 2.0
OpenGL for Embedded Systems
Well-defined subsets of desktop OpenGL
What youre using playing 3D games on
WebGL PipeLine
Vertex Operation
Rasterization
Fragment Operation
FrameBuffer
Simple(st) Shaders
Vertex Shader
attribute vec3 aVertexPosition;
void main(void) {
gl_Position = vec4(aVertexPosition, 1.0);
}
Fragment Shader
void main(void) {
gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);
}
More Tutorials at
LearningWebGl.com
Based on the famous NeHe Open GL
Tutorials
Textures: http://learningwebgl.com/
lessons/lesson05/index.html
http://learningwebgl.com/blog/?
page_id=1217
Abstraction Please...
PhiloGL
Relatively new framework from Sencha Labs
http://senchalabs.github.com/philogl/
PhiloGL
PhiloGL code is highly abbreviated
compared to WebGL.
http://senchalabs.github.com/philogl/
PhiloGL/examples/lessons/1/
http://senchalabs.github.com/philogl/
PhiloGL/examples/lessons/5/
Three.js
Three.js
Nice, standard OO Abstractions for 3D
programming.
Copperlicht
Bills itself as Commercial grade WebGL
3D engine with editor
http://www.ambiera.com/copperlicht/
Quake 3 Level http://bit.ly/fGKoOh
More Frameworks /
Engines
From the Chronos WebGL Wiki:
http://www.khronos.org/webgl/wiki/
glQuery
Thanks!
Pascal Rettig
@cykod on Twitter