[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[x3d-public] Using TimeSensor+PositionInterpolator with SAI



Hi all,
I m sending an example i am working on it. I got some problems+questions about it.

Here is what i am trying to do:
Example X3D contains a cube and this cube has moving animation.
with help of SAI i want to change route of the cube. Unfortunately some problems arise:
1)Cant i add more coordinates than i defined in the X3D file ? (for example this X3D has 3 route coordinates (PositionInterpolator:PosInt) and i want to increase this to 5 but for third and fourth coordinates throws ArrayIndexOutOfBoundsException)
2)Why this animation doesnt work on Xj3D?

I hope i could explain.

Best regards.


Notes:
>From Spec:
" The keyValue field shall contain exactly as many values as in the key field."
So i am trying to change key field too, but same exception occurs.

Note 2: Atachment contains a simple X3D and Java class



--
-------------------------------
Tahir Emre KALAYCI

Attachment: Example.zip
Description: Zip archive