Implementing the first scene using a scene graph
Let's start by looking at the block diagram of the existing engine (left) with the new expected scene graph (right) design. This design is segregated into many simpler reusable modules, where each module is self-explanatory in the image itself. The Object
module is a base class for most of the other modules. These modules exhibit the parent-child relationship. Similarly, modules that support the event handling process must be inherited from the Event
.

In the following image, you can see the hierarchical relationship among different modules in the scene graph. The Renderer
is a graphics engine that ...
Get OpenGL ES 3.0 Cookbook now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.