[x3d-public] X3D JSON Loader and viewer + x3dom xml viewer+cobweb viewer

Don Brutzman brutzman at nps.edu
Sun Nov 29 11:09:57 PST 2015


John: complements on such an awesome integration!  Screenshot attached showing three live insets for X3DOM/Cobweb/X3DOM.   8)

The fact that you have so many models easily testable, and quickly found/fixed a concave-IFS mesh-rendering bug in X3DOM based on last Friday's teleconference, is another major step forward towards interoperability and quality assurance (QA) improvements for X3D.  Bravo.

Screenshot of file-chooser menu excerpt also attached.  Presumably you got these from the utility zip we created of the ~3400 X3D example scenes in JSON form.

> Special testing distribution. A comprehensive collection of all JSON example scenes
>is available at X3dExampleArchivesJsonScenes.zip (MD5 checksum) plus current output
>from the X3D JSON build process at build.json.out.

http://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
http://www.web3d.org/x3d/content/examples/X3dExampleArchivesJsonScenes.zip
http://www.web3d.org/x3d/content/examples/X3dExampleArchivesJsonScenes.zip.MD5
http://www.web3d.org/x3d/content/examples/build.json.out

Am looking forward to learning more about how you and Andreas got both X3DOM and Cobweb to coexist within a single page harmoniously.

I hope to adapt your design pattern, and experimental attributes for X3D element, in an upcoming edition of X3dToX3dom.xslt stylesheet.  Might need to rename it X3dToDom.xslt to reflect the broader generality that is emerging.

Having fun with JSON HTML DOM and X3D!


On 11/25/2015 6:27 PM, John Carlson wrote:
> 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
>
> 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 <andreasplesch at gmail.com <mailto:andreasplesch at gmail.com>> 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
>>
>> 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
>>
>> has just x3dom and
>>
>> 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-public at web3d.org <mailto:x3d-public at web3d.org>
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CoderExtremeX3dJsonLoaderX3domCobwebFlipper.png
Type: image/png
Size: 110742 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151129/b67f676d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CoderExtremeX3dJsonLoaderX3domCobwebFlipper-FileChooserMenu.png
Type: image/png
Size: 95206 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151129/b67f676d/attachment-0003.png>


More information about the x3d-public mailing list