From: John C. <yot...@gm...> - 2015-11-26 02:27:38
|
Andreas, I integrated your cobweb loader with my X3D JSON loader and added an XML X3DOM loader that loads XML my X3D JSON loader now produces. You can enter either JSON or XML, or select from a pick list (apparently my filter doesn’t work on firefox). A demo with a few files is here: http://coderextreme.net/X3DJSONLD/ You should be able to paste X3D JSON and X3D XML in the text area and click on the text above the text area. Source code is here: https://github.com/coderextreme/X3DJSONLD <https://github.com/coderextreme/X3DJSONLD> Note that I’ve been able to load some X3DOM without Inline, using x3dom.reload(). YMMV. You can run in Chrome, but Cobweb won’t work. John > On Nov 24, 2015, at 4:00 PM, Andreas Plesch <and...@gm...> wrote: > > For quick testing of and tinkering with x3d scenes I added side by side viewing of x3dom and cobweb > to my live x3d viewer here: > > http://andreasplesch.github.io/Library/Viewer/x3dweb.html <http://andreasplesch.github.io/Library/Viewer/x3dweb.html> > > The hardest part was to figure out how to deal with both of them claiming/registering the x3d element on a web page for themselves. x3dom on the main page and cobweb in an iframe finally worked. > > http://andreasplesch.github.io/Library/Viewer/x3dom.html <http://andreasplesch.github.io/Library/Viewer/x3dom.html> > > has just x3dom and > > http://andreasplesch.github.io/Library/Viewer/index.html <http://andreasplesch.github.io/Library/Viewer/index.html> > > has just cobweb. > > Enjoy, > > -Andreas > > -- > Andreas Plesch > 39 Barbara Rd. > Waltham, MA 02453 > _______________________________________________ > x3d-public mailing list > x3d...@we... > http://web3d.org/mailman/listinfo/x3d-public_web3d.org |