[x3d-public] (My sincerest apologies!) debugging X3DJSONLD with latest X_ITE
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Sun Sep 22 15:57:11 PDT 2019
(First: original posts were extremely large... please use links for big things like that next time.)
John, here are several suggestions.
Have you tried X3D Validator on XML form of your model yet?
X3D Validator
https://savage.nps.edu/X3dValidator
X3D Tooltips have lots of information too.
X3D Tooltips: IndexedFaceSet
https://www.web3d.org/x3d/tooltips/X3dTooltips.html#IndexedFaceSet
X3DJSAIL can help with conversion if needed (though still needs .json import), also has internal validation complementing X3D Validator:
X3D Java Scene Access Interface Library (X3DJSAIL)
https://www.web3d.org/specifications/java/X3DJSAIL.html
IFS is perhaps the most common and long-running node so need for a specification change is quite unlikely.
"Divide and conquer" is a good way to debug issues. Suggest you work on individual pages before smashups. It is also popping up an error console, but the text is not copyable, so screenshot attached.
You can find a few thousand examples using X_ITE in the X3D Example Archives, if you think the conversion patterns can be improved then am happy to apply changes.
X3D Resources, Examples: Scene Archives for X3D
https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
https://www.web3d.org/x3d/content/examples/HelloWorldX_ITE.html
Echoing: good luck.
On 9/22/2019 11:33 AM, John Carlson wrote:
> I have recently added
>
> "component": [
>
> {
>
> "@name":"Scripting",
>
> "@level":1
>
> }
>
> ],
>
> To the head of my JSON files.
>
>
> I still get the following error.
>
> Please assist me if possible.
>
> I have had difficulty with PROFILE Full in the past with some browsers, so I am reluctant to add that.
>
> It should not throw an error with the correct component?
>
> I have left the initialization error in place. I’ve upgraded the files on coderextreme.net to have a Scripting component, but not fixed the initialize error as previously mentioned. Would you recommend not initializing the coordIndex component?
>
> Perhaps I should issue a standards change request?
>
> Thanks!
>
> John
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> *From: *Holger Seelig <mailto:holger.seelig at googlemail.com>
> *Sent: *Sunday, September 22, 2019 1:32 AM
> *To: *John Carlson <mailto:yottzumm at gmail.com>; X3D Graphics public mailing list <mailto:x3d-public at web3d.org>
> *Subject: *Re: My sincerest apologies!
>
> Hey John,
>
> If you get errors like this:
>
> x_ite.min.js:19 XML Parser Error: Unkown node type 'Script'.
>
> then you have insufficient component/profile statement.
>
> add 'COMPONENT Scripting:1'
>
> or for convenience
>
> add 'PROFILE Full'
>
> to your X3D file.
>
>
> _______________________________________________
> x3d-public mailing list
> 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: X3djsonld_X_ITE_error.png
Type: image/png
Size: 365798 bytes
Desc: X3djsonld_X_ITE_error.png
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190922/f7721ff9/attachment-0001.png>
More information about the x3d-public
mailing list