[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[x3d-public] Using TimeSensor+PositionInterpolator with SAI
- To: "X3D PUBLIC" <x3d-public@web3d.org>
- Subject: [x3d-public] Using TimeSensor+PositionInterpolator with SAI
- From: "Tahir Emre KALAYCI" <tekrei@gmail.com>
- Date: Thu, 2 Mar 2006 15:33:01 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nLUoKw0H7C96gOcPowh/UjmeFE1S60jsk6wa+bTqVDs59+Qyj10AgDyzkHhosjH9NZhVeZpBzxuMryOyiSw1UP57PHhcwiULyo990YZjbPPC2ZCNHi0yoYAff25gmYFM4T7ia6labih4ZZiVjsNhReqSKayiwyuMOjBEPGmwsko=
- Sender: owner-x3d-public@web3d.org
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