[x3d-public] 0001239: NavigationInfo avatarSize type should be SFVec3f rather than MFFloat - Web3D MantisBT
Michalis Kamburelis
michalis.kambi at gmail.com
Wed Dec 16 00:45:02 PST 2020
As far as I recall, we actually wondered about changing it to 3
independent SFFloat fields. This would make the intention and
modification obvious.
So a change like
MFFloat [in,out] avatarSize [0.25 1.6 0.75] [0,?)
->
SFFloat [in,out] avatarCollisionRadius 0.25 # [0,?)
SFFloat [in,out] avatarHeight 1.6 # [0,?)
SFFloat [in,out] avatarClimbAllowed 0.75 # [0,?)
The fact that these 3 values are now "packed' in a one field is
probably more confusing than helpful. Also, the above change could be
implemented in browsers in a backward-compatible manner (i.e. browsers
may decide to still support "MFFloat avatarSize" and internally
convert it to 3 new independent fields, when encountered.)
Regards,
Michalis
śr., 16 gru 2020 o 08:32 Don Brutzman <brutzman at nps.edu> napisał(a):
>
> During Mantis review rediscovered this overlooked issue, which I had thought was already taken care of. Schema and X3DUOM remain MFFloat rather than SFVec3f.
>
> Recommend we change. Any objections or observations out there?
>
> =========================================================
> https://www.web3d.org/member-only/mantis/view.php?id=1239
>
> Summary 0001239: NavigationInfo avatarSize type should be SFVec3f rather than MFFloat
>
> Description 23.4.4 NavigationInfo avatarSize always contains 3 values. Thus type should be SFVec3f rather than MFFloat for proper assignment.
>
> Additional Information Posted by John Carlson 13 May 2018
> http://web3d.org/pipermail/x3d-public_web3d.org/2018-May/008743.html
>
> http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/navigation.html
> 23.4.4 NavigationInfo
>
> NavigationInfo : X3DBindableNode {
> MFFloat [in,out] avatarSize [0.25 1.6 0.75] [0,?)
>
> Should this be SFVec3f instead of MFFloat? Strict typing is always preferred since it detects errors.
> =========================================================
>
> 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
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
More information about the x3d-public
mailing list