Skip to main content
Instancing. This example demonstrates a couple of different ways to do instancing. They both involve the re-using of Mesh object.
  • Create a node and add it to a parent node, then add the parent node to its parent, …
  • Create a node and add it to a parent node, then create another node and add it to the same parent node, …
The visibility selector in the first case will be multiple levels deep, and only a single level deep in the second case. In either case the matrix associated with each node must be different so that the nodes do not draw in the same location as an other node.