<div dir="ltr"><div>The SAI defines a browser importDocument service:<br><br><a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#importDocument">http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#importDocument</a><br><br></div>and<br><div><br><a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-FunctionsBrowserObject">http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-FunctionsBrowserObject</a><br><div><br></div><div>Is there somewhere a code example of how exactly this service is used ?<br><br></div><div>The abstract SAI language reads like this js code pattern should be used:<br><br>...<br></div><div>var newScene = browser.importDocument(dom);<br></div><div>browser.replaceWorld(newScene);<br><br></div><div>The js SAI spec. does not elaborate.<br><br></div><div>cobweb had a slightly different interpretation but now changed to the interpretation above and I would like to confirm that this pattern is the intended use. <br><br></div><div>Thanks, Andreas<br></div><div><br>-- <br><div class="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div></div></div>