Problem
In V0.7.4, a Lights node cannot be transformed independently of
it's illuminated subnodes because it is within the same subgraph as
those nodes.
In the example below, the translation cannot be used to move the
light around because it will also move the content that it
illuminates:
var a = new SceneJS.Node(
new SceneJS.Translate({ ... },
new SceneJS.Lighting({ ... },
new SceneJS.Geometry({ ... })
)
)
);
Solution
In V0.7.5, Lights nodes now have a global effect, where once
they are defined they then illuminate all other nodes subsequently
rendered during the graph's left-right traversal. This allows them
to be within their own transform hierarchies:
var a = new SceneJS.Node(
new SceneJS.Translate({ ... },
new SceneJS.Lighting({ ... })
),
new SceneJS.Geometry({ ... })
);
The left-to-right traversal semantic was introduced in V0.7.5 by
the SceneJS.Symbol and SceneJS.Instance nodes.