<div dir="auto"><span style="font-size:12.8px">How else to use gltf and even x3d as library nodes?</span><br style="font-size:12.8px"><span style="font-size:12.8px">IDEA:</span><br style="font-size:12.8px"><span style="font-size:12.8px">When main scene refers to a built-in (non Proto) type node in a .x3dv / .x3d </span><span style="font-size:12.8px">/ .gltf scene file, the browser shall load the whole auxiliary scene file as a </span><span style="font-size:12.8px"> 'passive' scene (not traversed on rendering cycle), with nodes not i</span><span style="font-size:12.8px">nitialized, but parsed and ready to copy / replace / copy-over a stub node</span><br style="font-size:12.8px"><span style="font-size:12.8px">in the main scene. The browser would first load the main scene and render the s</span><span style="font-size:12.8px">tub nodes as empty nodes / default nodes, while compiling a list of library s</span><span style="font-size:12.8px">cenes to load, so that a library scene is loaded only once if several nodes a</span><span style="font-size:12.8px">re referred to (and a use count by main-scene context for knowing when li</span><span style="font-size:12.8px">brary use is reduced to zero and can be unloaded?). When traversing the m</span><span style="font-size:12.8px">ain scene graph after the library is parsed / loaded, the stub nodes detect li</span><span style="font-size:12.8px">brary loaded and copy in the node, similar to copying an ExternProto, en</span><span style="font-size:12.8px">suring any children/sub-nodes are also copied, and the nodes become live s</span><span style="font-size:12.8px">cenery.</span></div>