Chapter 9. WebGL: 3D application development

 

Chapter 8 at a glance

Topic

Description, methods, and so on

Page

Engine creation Creating a WebGL engine from scratch  
 
  • Time-saving scripts
  • Basic engine pattern
  • Default entity class
  • Helper methods
274 277 279 280
Graphics cards Interacting with a graphics card  
 
  • OpenGL
  • Creating shaders
  • Attaching 3D data to entities
  • Outputting shapes
  • Matrices usage
282 284 283 288 288
WebGL app Putting everything together to create an app  
 
  • 2D triangle in 3D
  • 3D basics
  • Large complex polygons
  • Cubes
  • Particle generation
296 297 300 305 308

Look for this icon throughout the chapter to quickly locate the topics outlined in this table.

This chapter covers

  • Developing a WebGL engine
  • Communicating with a graphics card
  • Creating 3D shapes

9.1. Building a WebGL engine

9.2. Communicating with a graphics card

9.3. Putting it all together: creating Geometry Destroyer

9.4. Summary