[ First Section | Previous Chapter | Next Chapter | Main Index ]

Chapter 7

3D Graphics with WebGL


The previous chapter covered WebGL, but only in the context of two-dimensional graphics. As we move into 3D, we will have to work with more complex transformations. For that, we will rely mainly on an open-source JavaScript library for vector and matrix math. We will also need to implement lighting and material, which we will do directly in GLSL.

We begin the chapter by duplicating most of the capabilities of OpenGL 1.1 that were covered in Chapter 3 and Chapter 4. But we will soon move beyond that by adding features such as spotlights, Phong shading, and environment mapping.


Contents of Chapter 7:


[ First Section | Previous Chapter | Next Chapter | Main Index ]