The Scene

The scene graph is composed of nodes, where each node can hold any number of sibling nodes.

Each node has its own world translation matrix, and certain nodes have a local translation matrix. When a node is translated or rotated, its local matrix is updated, then its world matrix is updated by doing a multiplication between its parents world matrix and its local matrix, and finally all its children have their world matrices updated.

The nodes that I have created so far.

  • Transformation Node
  • Animation Node
  • Camera Node
  • Player Node
  • Mesh Node
  • Advertisements