[x3d-public] browser importDocument SAI service

Andreas Plesch andreasplesch at gmail.com
Thu Oct 13 11:30:35 PDT 2016


No examples for browser.importDocument(dom) anywhere ?

On Fri, Oct 7, 2016 at 1:22 PM, Andreas Plesch <andreasplesch at gmail.com>
wrote:

> The SAI defines a browser importDocument service:
>
> http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.
> html#importDocument
>
> and
>
> http://www.web3d.org/documents/specifications/
> 19777-1/V3.3/Part1/functions.html#t-FunctionsBrowserObject
>
> Is there somewhere a code example of how this service is used in detail ?
>
> The abstract SAI language reads like this js code pattern should be used:
>
> ...
> var newScene = browser.importDocument(dom);
> browser.replaceWorld(newScene);
>
> The js SAI spec. does not elaborate.
>
> 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.
>
> Thanks, Andreas
>
> --
> Andreas Plesch
> 39 Barbara Rd.
> Waltham, MA 02453
>



--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20161013/f31238d2/attachment.html>


More information about the x3d-public mailing list