[x3d-public] [x3d] Spec Comment by on 19775-1: Abstract X3D Definitions - V3.3 [Mantis 1184]

Roy Walmsley roy.walmsley at ntlworld.com
Wed Sep 27 06:48:21 PDT 2017


Hi Doug,

Thank you once again for another great specification comment. I have raised
Mantis issue 1184 to cover this. This issue is available to Web3D members at
http://www.web3d.org/member-only/mantis/view.php?id=1184.

All the best,

Roy

-----Original Message-----
From: x3d [mailto:x3d-bounces at web3d.org] On Behalf Of Spec Feedback
Sent: 26 September 2017 15:59
To: x3d at web3d.org
Subject: [x3d] Spec Comment by on 19775-1: Abstract X3D Definitions - V3.3

-- Submitter indicates that this comment may be public: *Yes* --

Comment on 19775-1: Abstract X3D Definitions - V3.3

http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components
/core.html#UNITStatement

-----------------
Situation 1: a reliable way to apply authoring units is during file parsing,
since unit statements cover the scope of a scene file. Converting to SI
during parsing means routing will be in SI units.
Problem: Scene authors may want to script in their authoring units, but will
be receiving routing events in SI units.
Proposed Solution: 2 web3d standard unit converter nodes that default to 1:1
if no unit statements:
ConvertToAuthoringFromSI : X3DNode
set_angle
angle_changed
set_length
length_changed
.. and all permutations of MFVec3f etc-- set_geo geo_changed geoSystem
//same geosystem for in/out set_mass mass_changed

ConvertFromAuthoringToSI : X3DNode
ditto.

Situation 2:
A similar /analogous / additional situation occurs for geo nodes with their
geoSystem. Lets say the same techique of converting from authoring units to
SI units is done at parse time.
Problem: routing between geo nodes assumes they were all authored with the
same geoSystem (geoSystem field is initializeOnly, so can't be routed). And
if geoCoords are converted to SI base units at parse time, that means any
scripts will need to work in SI units.
Proposed Solution: a converter node to convert between geoSystems:
ConvertGeo : Node
inGeoSystem
outGeoSystem
set_sfgeo
sfgeo_changed
set_mfgeo
mfgeo_changed



-----------------

Submitted on Tuesday, 2017,  September 26 - 7:59am by  (Doug Sanden )
IP: 104.205.111.195

See: http://www.web3d.org/node/1694/submission/1479


_______________________________________________
x3d mailing list
x3d at web3d.org
http://web3d.org/mailman/listinfo/x3d_web3d.org




More information about the x3d-public mailing list