Books & Videos

Table of Contents

  1. Chapter 1 An Introduction to WebGL

    1. WebGL—A Technical Definition

    2. 3D Graphics—A Primer

    3. The WebGL API

    4. Chapter Summary

  2. Chapter 2 Your First WebGL Program

    1. Three.js—A JavaScript 3D Engine

    2. Setting Up Three.js

    3. A Simple Three.js Page

    4. A Real Example

    5. Chapter Summary

  3. Chapter 3 Graphics

    1. Sim.js—A Simple Simulation Framework for WebGL

    2. Creating Meshes

    3. Using Materials, Textures, and Lights

    4. Building a Transform Hierarchy

    5. Creating Custom Geometry

    6. Rendering Points and Lines

    7. Writing a Shader

    8. Chapter Summary

  4. Chapter 4 Animation

    1. Animation Basics

    2. Creating Tweens Using the Tween.js Library

    3. Animating an Articulated Model with Keyframes

    4. Animating Materials and Lights

    5. Animating Textures

    6. Animating Skinned Meshes and Morphs

    7. Chapter Summary

  5. Chapter 5 Interaction

    1. Hit Detection, Picking, and Projection

    2. Implementing Rollovers and Clicks

    3. Implementing Dragging

    4. Using Hit Point and Normal Information

    5. Camera-Based Interaction

    6. Chapter Summary

  6. Chapter 6 Integrating 2D and 3D

    1. Combining Dynamic HTML and WebGL

    2. Overlaying 3D Visuals on 2D Pages

    3. Creating Dynamic Textures with a Canvas 2D

    4. Using Video As a Texture

    5. Rendering Dynamically Generated 3D Text

    6. WebGL for Ultimate Mashups

    7. Chapter Summary

  7. Chapter 7 WebGL in Production

    1. Choosing a Runtime Framework

    2. Loading 3D Content

    3. Creating 3D Content

    4. Browser Realities

    5. Handling Context Lost Events

    6. WebGL and Security

    7. Chapter Summary

  8. Chapter 8 Your First WebGL Game

    1. Building the Pieces

    2. Putting It All Together

    3. Chapter Summary

  1. Afterword

  2. Appendix WebGL Resources

    1. The WebGL Specification

    2. Official Mailing Lists and Forums

    3. Tools and Toolkits

    4. Blogs and Demo Sites

    5. Community Sites

  3. Colophon