[x3d-public] vrml to x3d field name changes

Michalis Kamburelis michalis.kambi at gmail.com
Thu Apr 26 13:07:09 PDT 2018


2018-04-26 16:48 GMT+02:00 Andreas Plesch <andreasplesch at gmail.com>:
> So my question is if there may be other nodes with fields which were
> affected by renaming from vrml to x3d in such a way ?

We have a mechanism "AddAlternativeName" for such cases in Castle Game
Engine (when a field/event name changed, but the type and usage are
100% the same).

Grepping the code, it was used for these fields/events:

- Collision.collide as an alternative name (in VRML 2) for X3D
Collision.enabled. In VRML 2.0, Collision node didn't descent from
X3DSensorName and had special field "collide". In X3D, "enabled" is
used for the exact same purpose.

- LOD.level as an alternative name (in VRML 2) for X3D LOD.children

- LOD.levelIndex_changed as an alternative name (in VRML 2) for X3D
LOD.level_changed

- HAnimHumanoid.humanoidBody as an alternative name (in HAnim 1.1) for
HAnim 2 skeleton

- Switch.choice as an alternative name (in VRML 2) for X3D Switch.children

- Polyline2D.point as an alternative name (in VRML 2) for X3D lineSegments

Regards,
Michalis



More information about the x3d-public mailing list