[x3d-public] Missing Text, Sensors on X3D resources HAnim figure, X3DOM

Don Brutzman brutzman at nps.edu
Thu Jul 14 08:23:20 PDT 2016


[cc: H-Anim]

Summary:  HAnimHumanoid cannot directly contain Viewpoint nodes in the /viewpoints/ field, rather it should contain HAnimSite.


Thanks for the diagnosis.  Apologies for not tracking this earlier.

My fault for assuming that the viewpoints field containing Viewpoint nodes!  :(

Perhaps we should rename this field as viewpointSites in the future X3D v4 specification?

I will fix example scenes, tooltips, XML DTD/Schema, Schematron and report back when complete.

Roy and I will look at X3D Object Model when X3D XML Schema is modified, then he can confirm that JSON Schema is OK.

We just looked at X3D XML Schema - it is OK.  Added a warning comment (excerpt follows) and an H-Anim link comment for next release.

=========================================
	<xs:element name="HAnimHumanoid">
		<xs:annotation>
			<xs:appinfo>
				<xs:element name="joints" type="MFNode" fixed="inputOutputField" default="HAnimJoint"/>
				<xs:element name="segments" type="MFNode" fixed="inputOutputField" default="HAnimSegment"/>
				<xs:element name="sites" type="MFNode" fixed="inputOutputField" default="HAnimSite"/>
				<xs:element name="skeleton" type="MFNode" fixed="inputOutputField" default="HAnimJoint|HAnimSite"/>
				<xs:element name="skin" type="MFNode" fixed="inputOutputField" default="X3DChildNode"/>
				<xs:element name="skinCoord" type="SFNode" fixed="inputOutputField" default="X3DCoordinateNode"/>
				<xs:element name="skinNormal" type="SFNode" fixed="inputOutputField" default="X3DNormalNode"/>
				<xs:element name="viewpoints" type="MFNode" fixed="inputOutputField" default="HAnimSite"/><!-- not Viewpoint -->
				<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/>
				<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="H-Anim"/>
				<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
			</xs:appinfo>
			<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/hanim.html#HAnimHumanoid"/>
			<!-- H-Anim specification http://www.web3d.org/documents/specifications/19774/V1.0/HAnim/ObjectInterfaces.html#Humanoid -->
		</xs:annotation>
=========================================

Good lesson learned:  thank you JSON Schema for uncovering another inconsistency.  Having lots of QA tools with varying expressive power all helps.

	http://www.web3d.org/x3d/content/examples/X3dResources.html#QualityAssurance


On 7/14/2016 12:39 AM, Roy Walmsley wrote:
> John,
>
>
>
> I reported the failure to pass JSON schema back on 20^th February 2016. This problem occurs in a number of files. The files in question do not meet the current X3D specification, as Viewpoints are not permitted as child nodes of the HAnimHumanoid node /viewpoints/ field. It remains an outstanding issue.
>
>
>
> Reference: http://web3d.org/mailman/private/x3d_web3d.org/2016-February/004367.html
>
> Reference: http://web3d.org/mailman/private/h-anim_web3d.org/2016-February/000843.html
>
>
>
> Roy
>
>
>
> *From:*x3d-public [mailto:x3d-public-bounces at web3d.org] *On Behalf Of *John Carlson
> *Sent:* 14 July 2016 04:42
> *To:* Don Brutzman; x3dom-users at lists.sourceforge.net; X3D Graphics public mailing list
> *Subject:* [x3d-public] Missing Text, Sensors on X3D resources HAnim figure, X3DOM
>
>
>
> Can someone look and see why the text and sensors don’t show up in the rendering of this file? Unimplemented sensors?
>
>
>
> http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyNativeTags.xhtml
>
>
>
> Also,
>
>
>
> http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyNativeTags.json
>
>
>
> does not pass JSON schema validation.
>
>
>
> They show up in BSContact.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
>
>


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



More information about the x3d-public mailing list