[x3d-public] Possible problem with X3D Resource examples build?
Don Brutzman
brutzman at nps.edu
Sat Jul 2 16:31:56 PDT 2016
On 7/2/2016 10:06 AM, John Carlson wrote:>
> JSON did not generate for X3D Resource examples zip:
>
> examples/X3dForWebAuthors/Chapter14-Prototypes/WhereAmIExample.json
>
> Or I could have deleted it. XML to JSON stylesheet works.
it isonline at
http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/WhereAmIExample.json
and also attached; diff is identical
... so i think we are OK on this one. Thanks for the close scrutiny.
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 --------------
{ "X3D": {
"encoding":"UTF-8",
"@profile":"Immersive",
"@version":"3.3",
"@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.3.xsd",
"JSON schema":"http://www.web3d.org/specifications/x3d-3.3-JSONSchema.json",
"head": {
"meta": [
{
"@name":"title",
"@content":"WhereAmIExample.x3d"
},
{
"@name":"description",
"@content":"Example use of prototype node for displaying current viewpoint location and orientation"
},
{
"@name":"creator",
"@content":"Don Brutzman"
},
{
"@name":"created",
"@content":"28 March 2016"
},
{
"@name":"modified",
"@content":"2 April 2016"
},
{
"@name":"reference",
"@content":"WhereAmIPrototype.x3d"
},
{
"@name":"reference",
"@content":"WhereAmIExample.console.txt"
},
{
"@name":"reference",
"@content":"https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationExample.x3d"
},
{
"@name":"reference",
"@content":"https://savage.nps.edu/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d"
},
{
"@name":"reference",
"@content":"http://X3dGraphics.com"
},
{
"@name":"reference",
"@content":"http://www.web3d.org/x3d/content/examples/X3dResources.html"
},
{
"@name":"subject",
"@content":"X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com"
},
{
"@name":"identifier",
"@content":"http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/WhereAmIExample.x3d"
},
{
"@name":"generator",
"@content":"X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
},
{
"@name":"license",
"@content":"../license.html"
},
{
"@name":"translated",
"@content":"01 July 2016"
},
{
"@name":"generator",
"@content":"X3dToJson.xslt, http://www.web3d.org/x3d/stylesheets/X3dToJson.html"
},
{
"@name":"warning",
"@content":"An experimental version of X3D JSON encoding is used for this scene. Status online at http://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
}
]
},
"Scene": {
"-children":[
{ "#comment":"===================="
},
{ "#comment":"Only one copy of a given ExternProtoDeclare is needed in a scene."
},
{ "ExternProtoDeclare":
{
"@name":"WhereAmI",
"@url":["../Chapter14-Prototypes/WhereAmIPrototype.x3d#WhereAmI","http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/WhereAmIPrototype.x3d#WhereAmI","../Chapter14-Prototypes/WhereAmIPrototype.wrl#WhereAmI","http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14-Prototypes/WhereAmI.wrl#WhereAmI"]
}
},
{ "ProtoInstance":
{
"@name":"WhereAmI"
}
},
{ "#comment":"===================="
},
{ "Viewpoint":
{
"@description":"WhereAmI prototype test"
}
},
{ "Viewpoint":
{
"@description":"Viewpoint 2",
"@orientation":[0,1,0,1.570796],
"@position":[10,0,0]
}
},
{ "Viewpoint":
{
"@description":"Viewpoint 3",
"@orientation":[0,1,0,-3.141593],
"@position":[0,0,-10]
}
},
{ "Viewpoint":
{
"@description":"Viewpoint 4",
"@orientation":[0,1,0,-1.570796],
"@position":[-10,0,0]
}
},
{ "Shape":
{
"-geometry":
{ "Text":
{
"@string":["Check X3D console","while navigating to see","current viewpoint values"],
"-fontStyle":
{ "FontStyle":
{
"@justify":["MIDDLE","MIDDLE"],
"@size":0.9,
"@spacing":0.9
}
}
}
},
"-appearance":
{ "Appearance":
{
"-material":
{ "Material":
{
"@ambientIntensity":0.23,
"@diffuseColor":[0.5,0.243312,0.127417],
"@emissiveColor":[0.015957,0.015957,0.015957],
"@shininess":0.03,
"@specularColor":[0.276596,0.055086,0.01524]
}
}
}
}
}
},
{ "Shape":
{
"-geometry":
{ "Box":
{
"@size":[8.5,3,0.5]
}
},
"-appearance":
{ "Appearance":
{
"-material":
{ "Material":
{
"@diffuseColor":[0.9,0.9,0.9],
"@transparency":0.8
}
}
}
}
}
}
]
}
}
}
More information about the x3d-public
mailing list