Setting the Scene

  • Brian Danchilla


In this chapter we will go through all the steps of creating a scene rendered with WebGL. We will show you how to
  • obtain a WebGL context

  • create different primitive types in WebGL

  • understand and create vertex buffer objects (VBOs) and attributes

  • do static two-dimensional rendering

  • create a program and shaders

  • set up the view matrices

  • add animation and movement

  • render a three-dimensional model


Application Programming Interface Virtual Camera Primitive Type Document Object Model Vertex Attribute 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Brian Danchilla 2012

Authors and Affiliations

  • Brian Danchilla

There are no affiliations available

Personalised recommendations