Chapter 9. Hierarchical Objects

This chapter is the final one that describes the core features and how to program with WebGL. Once you’ve read it, you will have mastered the basics of WebGL and will have enough knowledge to create realistic and interactive 3D scenes. This chapter focuses on hierarchical objects, which are important because they allow you to progress beyond single objects like cubes or blocks to more complex objects that you can use for game characters, robots, and even humans.

The following key points are discussed in this chapter:

• Modeling complex connected structures such as a robot arm using a hierarchical structure.

• Drawing and manipulating hierarchical objects made up of multiple simpler objects.

• Combining model and ...

Get WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.