[x3d-public] New X3D JSON Loader

John Carlson yottzumm at gmail.com
Sat Mar 19 11:11:46 PDT 2016


One thing that may be missing is if you’re using require to include the js file.  I’ve done that in node.js but not in the browser.  Look at PPP.js and json2x3d.js

John

> On Mar 19, 2016, at 12:48 PM, Clement IGONET <clement at igonet.fr> wrote:
> 
> Sorry John, but the way to use your loader is still very unclear for me.
> 
> I'd like to use your X3DJSONLD, but even with your explanations given
> in private, I'm still missing some info.
> 
> Could you provide a very simple example as a starting point?
> I mean:
> - an html file,
> - json data (an objet or a file)
> - and a suited call to our main loadX3DJS function().
> 
>> function loadX3DJS(json, path, xml, NS)
> 
> I still don't understand the required parameters.
> If "path" is the path to a json file, what is "json" ?
> 
> Maybe you could provide several functions to split your main function
> in understandable ones...
> 
> Sorry, I really feel stupid, but trying to understand your work is
> very time consuming for me. I have a lot of this to do after that to
> exploit your nice loader. So, your help would be very appreciated.
> 
> Thank you,
> 
> Clement.




More information about the x3d-public mailing list