[x3d-public] my version of X3DJSAIL reports there are problems with the routes inthese files. What about yours?

John Carlson yottzumm at gmail.com
Mon May 15 16:47:38 PDT 2017


Okay, I think I’ve patched this.  Attached is ProtoInstanceObject.java code for looking up ProtoDeclare fields when they aren’t mentioned as fieldValues.  I am not sure what’s desired, but please patch X3DJSAIL, or fix examples below.  There’s a lot of debugging you’ll have to remove from the Java code.

I defined some methods too.  Good luck diffing!  Most of the changes are in getFieldType() and getAccessType(), plus the new methods.

https://github.com/coderextreme/JavaSceneAuthoringInterfaceLibrary/blob/master/src/main/java/org/web3d/x3d/jsail/Core/ProtoInstanceObject.java

https://github.com/coderextreme/JavaSceneAuthoringInterfaceLibrary/blob/master/src/main/java/org/web3d/x3d/jsail/Core/fieldValueObject.java

John

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, May 15, 2017 11:33 AM
To: Don Brutzman; X3D Graphics public mailing list; Roy Walmsley
Subject: my version of X3DJSAIL reports there are problems with the routes inthese files. What about yours?

I am not sure where the problem lies at this point.  More research is needed.  My version of X3DJSAIL is quite different with respect to ProtoInstance routes (my local files all run now 😊.  Included is my current X3DJSAIL files that are different.  Must a ProtoInstance pass field values if the ProtoBody is to participate in a route?

John

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/course/ExtrusionCrossSectionExampleShip
ExtrusionCrossSectionExampleShip execution self-validation test results: <meta name='hint' content='Utilize ExtrusionCrossSection ProtoInstance as a Shape node (with containerField="children") rather than an Extrusion node (with containerField="geometry").'/>
ROUTE details: FROM SmokeSpineInterpolator.value_changed (CoordinateInterpolator.MFVec3f.outputOnly) TO Smoke.set_spine (ProtoInstance.MFVec3f.initializeOnly)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/TestPrototypeInterpolators
TestPrototypeInterpolators execution self-validation test results:  ROUTE details: FROM Clock.fraction_changed (TimeSensor.SFFloat.outputOnly) TO InterpolatorTestInstance.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/AriesEspduPrototype
AriesEspduPrototype execution self-validation test results:  ROUTE details: FROM ArticulationParameterControl.portRpm (Script.SFFloat.outputOnly) TO AriesAUV.portRpm (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/EspduTransformExample
EspduTransformExample execution self-validation test results:  ROUTE details: FROM ET.articulationParameterValue0_changed (EspduTransform.SFFloat.outputOnly) TO AriesAUV.set_portRpm (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/StudentProjects/ProjectileInterpolatorArena
ProjectileInterpolatorArena execution self-validation test results:  ROUTE details: FROM SliderVelocity.currentValueFloat (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE) TO ProjectileInterpolator.set_Vi (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example16
Example16 execution self-validation test results:  ROUTE details: FROM RotorScript.startEngine (Script.SFTime.outputOnly) TO Top.startTime (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Chopper
Chopper execution self-validation test results:  ROUTE details: FROM RotorScript.startEngine (Script.SFTime.outputOnly) TO Top.startTime (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut
Cut execution self-validation test results:  ROUTE details: FROM Translator.fraction_changed (Script.SFFloat.outputOnly) TO Plane.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TexturePlane
TexturePlane execution self-validation test results:  ROUTE details: FROM Clock.fraction_changed (TimeSensor.SFFloat.outputOnly) TO Plane.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/BackgroundKelpForestMain
BackgroundKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/FogKelpForestMain
FogKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/TextureBackgroundKelpForestMain
TextureBackgroundKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/CollisionKelpForestMain
CollisionKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/LoadSensorKelpForestMain
LoadSensorKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/ProximitySensorKelpForestMain
ProximitySensorKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/VisibilitySensorKelpForestMain
VisibilitySensorKelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/HudKelpForest
HudKelpForest execution self-validation test results:  ROUTE details: FROM HeadsUpDisplayInstance.position_changed (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE) TO ConvertValueScript.sfVec3f (Script.SFVec3f.inputOnly)
ROUTE fromField (source) event can only have accessType='inputOutput' or accessType='outputOnly'. 

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain
KelpForestMain execution self-validation test results:  ROUTE details: FROM JEFFSCLOCK.fraction_changed (TimeSensor.SFFloat.outputOnly) TO NancyInterpolator.set_fraction (ProtoInstance.ERROR_UNKNOWN_FIELD_TYPE.ERROR_UNKNOWN_FIELD_ACCESSTYPE)
ROUTE toField (destination) event can only have accessType='inputOutput' or accessType='inputOnly'.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170515/44e2a4fd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProtoInstanceObject.java
Type: application/octet-stream
Size: 53217 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170515/44e2a4fd/attachment-0001.obj>


More information about the x3d-public mailing list