We are working on visualizing data to our costumers via the web. We want to implement a few diagrams. I am working on the generator, building the scene (the diagramm as a whole) and the corresponding gltf-file.
My thought was that I can create layers with nodes. Something like:
- Layer 0 (largest distance to orthographic camera): contains the grid,
- Layer 1: contains objects represented as lines
- Layer 2 (smallest distance to orthographic camera): contains objects represented as points
The idea is following the layered structures in karthographic maps.
Now my problem: When I look at nodes in the glTF-spec, I think it might not work like I think it would.
Questions: Does every node need to have a camera or is it enough to define the camera for the root-node?
Can somebody please verify if my thought is correct, that I can use nodes for layers?
Thanks in advance