O'Reilly logo

OpenGL ES 3.0 Cookbook by Parminder Singh

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

Adding parent-child support in the scene graph

This recipe is a very important milestone in the architecture of scene graphs; needless to say, a scene graph is all about the hierarchical connectivity. In the current concept, we maintain the parent-child relationship among similar types of objects. This recipe contains two subrecipes:

  1. Building a simple parent-child relationship among renderable objects
  2. Understanding the concept of a dummy parent

    Note

    The parent-child relationship is applicable to all renderable objects (derived from the Model class) and logical engine entities, such as scenes, renderer, and so on. In the present scene graph architecture, this relationship is achieved through the Object class. This class allows you to add/remove children ...

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