[x3d-public] bad interpolator list?

Michalis Kamburelis michalis.kambi at gmail.com
Mon Apr 29 19:49:27 PDT 2024


As for view3dscene response:

1. There was an error while formatting an error message. Fixed, thanks
for reporting!

2. Now the warnings are valid, from what I can see. (below removing
dups / unimportant network):

"""
HAnimHumanoid.joints list was empty, fixed to list all 146 joints
VRML/X3D: Error when reading field "keyValue" value: Error at line 1
column 71: Expected float number, got end of stream
....
Not enough key values for interpolator
"OrientationInterpolator(Jump_r_sternoclavicular_RotationInterpolator)"
Not enough key values for interpolator
"OrientationInterpolator(Kick1_l_metacarpophalangeal_1_RotationInterpolator)"
....
""""

The 2 warnings about OrientationInterpolators are definitely valid,
you indeed made a mistake in X3D, you have this:

   <OrientationInterpolator
DEF='Kick1_l_metacarpophalangeal_1_RotationInterpolator'
   key='0 0 1 0, 0 0 1 0, 0 1 0 0.55, 0 0 1 0, 0 0 1 0, 0 0 1 0'
   keyValue='1 0 0 0, 1 0 0 0.5, 1 0 0 1.1, 1 0 0 0.7, 1 0 0 0.2, 1 0 0 0'/>
   ....
   <OrientationInterpolator DEF='Jump_r_sternoclavicular_RotationInterpolator'
   key='0 0 1 0, 0 0 1 0, 0 0 1  0.05, 0 0 1 0, 0 0 1 0, 0 0 1 0'
   keyValue='0 0 1 0, 0 0 1 -0.2, 0 0 1 -0.22, 0 0 1 -0.2, 0 0 1 0, 0 0 1 0'/>

It seems you provided a number of 4D vectors as keys? The keys should
be just a list of floats. So in case of OrientationInterpolator, you
will usually see 4 times more numbers in "keyValue" vs "key". You have
other OrientationInterpolator in the same file that are valid.

I didn't hunt the cause of "Error when reading field "keyValue" value:
Error at line 1 column 71: Expected float number, got end of
stream....", but it seems consistent with FreeWRL error. You probably
have too few numbers in some field, and it ends in the middle of a
vector.

Regards,
Michalis

pt., 26 kwi 2024 o 18:05 Joe D Williams via x3d-public
<x3d-public at web3d.org> napisał(a):
>
> Hello Friday,
> I guess I'm a bit over my troubleshooting head with bad list for an interpolator(?).
>
> * x-ite playground runs without error,
>
> * FreeWrl version 6.4.0 gives me this:
> ERROR:Expected "]" before end of MF-Value at: ""
>
> * BSContact 8.300  runs with no error,
>
> and
>
> * view3dscene 4.3.0 stops with screen:
> An error occurred. Try to continue the application?
> Error details:
> Exception "EConvertError":
> Invalid argument index in format :Not enough key values for interpolator %d"
> $00000001000286B8
> $000000010002954B
> ...
> "Yes" tries then stays stopped
> "No" kills it showing small box
> Runtime error 0 at $00000001000286B8
> %00000001000286B8
>
> So,  I have apparently made a mistake and so far can't trace it down.
> Any help would be much appreciated.
> Thanks for All,
> Joe
> _______________________________________________
> 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