Chapter 10. Advanced Techniques
This chapter includes a “grab-bag” of interesting techniques that you should find useful for creating your WebGL applications. The techniques are mostly stand-alone, so you can select and read any section that interests you. Where there are dependencies, they are clearly identified. The explanations in this chapter are terse in order to include as many techniques as possible. However, the sample programs on the website include comprehensive comments, so please refer to them as well.
Rotate an Object with the Mouse
When creating WebGL applications, sometimes you want users to be able to control 3D objects with the mouse. In this section, you construct a sample program
RotateObject, which allows users to rotate ...