O'Reilly logo

MPEG-4 Book, The by Touradj Ebrahimi, Fernando Pereira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14.4. Scene Graph

The previous section mentioned the MediaObject class as the programming entity that manages the scene graph. The implementation details of this class are tricky and worth further elaboration.

A simplified structure of the scene graph implementation is illustrated in Figure 14.4. MediaObject is the base class for scene nodes of every type. Each node type has a corresponding class that extends MediaObject. Each node in the scene graph is represented by an instance of the appropriate class.

Figure 14.4. Scene graph structure and objects.

Scene graph nodes contain fields. The node fields in MediaObject-derived objects are represented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required