[x3d-public] x3d resources basic web3doutreach example. Spaces in filename, ExternProtoDeclare URI not allowed.
John Carlson
yottzumm at gmail.com
Sun May 20 16:14:01 PDT 2018
http://www.web3d.org/x3d/content/examples/X3dExampleArchivesJsonScenes.zip has not been updated, AFAICT, FYI.
$ jar -tf ~/Downloads/X3dExampleArchivesJsonScenes.zip|grep Cube.logo
www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/Cube logo prototype.json
$ jar -tf ~/Downloads/X3dExampleArchivesJsonScenes.zip|grep -i cubelogo
Will have to convert myself and svn update.
John
Sent from Mail for Windows 10
From: Don Brutzman
Sent: Sunday, May 20, 2018 4:47 PM
To: John Carlson
Cc: X3D Graphics public mailing list
Subject: Re: x3d resources basic web3doutreach example. Spaces in filename,ExternProtoDeclare URI not allowed.
Thanks for reporting this problem.
On 5/13/2018 11:57 AM, John Carlson wrote:
> File: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VRH logo1.json
>
> keyword: format
>
> dataPath: X3D > Scene > -children > 0 > ExternProtoDeclare > @url > 0
>
> value: "Cube logo prototype.x3d"
>
> message: should match format "uri-reference"
>
> params: {"format":"uri-reference"}
>
> file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VRH logo1.json
>
> version: 3.3
The issue is that a space character appears in the url value. That is a good diagnostic of a bad practice.
Avoiding such spaces is listed in
X3D Scene Authoring Hints
http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions
The fix was to properly rename, checkin and cleanup multiple models for the Virtual Reality Hackathon (VRH) logo.
This is great content that is now a bit more consistent and reusable.
Updated and uploaded at
http://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/
http://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VirtualRealityHackathonLogoIndex.html
http://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/CubeLogoPrototypeIndex.html
http://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/LogoLetterPrototypesIndex.html
http://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VirtualRealityHackathonLogoLetterPrototypesIndex.html
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 --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180520/c4422487/attachment-0001.html>
More information about the x3d-public
mailing list