[x3d-public] X3D Object Model development, Java SAI implementation efforts, and consistency with HTML5

Roy Walmsley roy.walmsley at ntlworld.com
Mon Aug 29 09:50:54 PDT 2016


Hi Don,

Well spotted. I agree with your deductions. Another stripe for auto generation fault finding!

I'll leave my schema as is, and pick  up the change when you commit to SourceForge.

Roy

-----Original Message-----
From: Don Brutzman [mailto:brutzman at nps.edu] 
Sent: 29 August 2016 16:22
To: Roy Walmsley <roy.walmsley at ntlworld.com>
Cc: X3D Graphics public mailing list <x3d-public at web3d.org>
Subject: Re: X3D Object Model development, Java SAI implementation efforts, and consistency with HTML5

On 8/28/2016 11:16 PM, Don Brutzman wrote:
> Summary: lots of constructive progress on subject topics.
> [...]
> ====================
>
> 6.   Am now working on concrete objects.  Good progress generating and compiling code.  This weekend's work is all checked in.
>
> Found an apparent anomaly in X3D Object Model that prevents proper code generation:
>
>       <AbstractNodeType name="X3DRigidJointNode"> has
>             <AdditionalInheritance baseType="X3DBoundedObject"/>
>
> but does not have corresponding definitions for
>
>             <field type="SFVec3f" accessType="initializeOnly" name="bboxCenter" default="0 0 0"/>
>             <field type="SFVec3f" accessType="initializeOnly" 
> name="bboxSize" default="-1 -1 -1"/>
>
> Hmmm, any ideas why those might have gone missing?

Found the problem... actually it was the other way around.  Rather than missing those 2 field definitions, the X3DRigidJointNode interface incorrectly included X3DBoundedObject in the X3D XML Schema.

http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#X3DRigidJointNode
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#InterfaceHierarchy

Removed X3DBoundedObject from X3DRigidJointNode in the schema, and now the X3D Object Model and generated code look OK.

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