llSetKeyframedMotion
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
llSetKeyframedMotion
I didn't know this worked in OpenSim as it's not listed as available in the Kokua editor. I believe the implementation differs from SL but I'm still impressed by the smooth movement so far. I think it could be very useful but does anyone know whether it has significant lag issues?
Last edited by Graham Mills on Tue Jan 07, 2014 6:18 pm, edited 1 time in total.
- Dundridge Dreadlow
- Posts: 616
- Joined: Mon May 06, 2013 2:23 pm
- Location: England
- Has thanked: 590 times
- Been thanked: 339 times
Re: llSetKeyframedAnimation
theoretically there should be few lag issues..
keyframed animations are generally downloaded and played back client side.
But I haven't played with it here![Smile :)](./images/smilies/icon_e_smile.gif)
keyframed animations are generally downloaded and played back client side.
But I haven't played with it here
![Smile :)](./images/smilies/icon_e_smile.gif)
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
Re: llSetKeyframedAnimation
Heh, I should point out that I discovered this BEFORE it got blogged by Kitely. Coincidence or morphic resonance, the choice is yours. ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- These users thanked the author Graham Mills for the post:
- Dundridge Dreadlow
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
Re: llSetKeyframedAnimation
I am finding a problem with objects animated in this way, namely that they tend to disappear between restarts! It's not entirely reproducible; waiting 5 min doesn't seem to cause the problem but waiting, say, 12 h does. I have seen it on two restarts now, once with one animated object (a tray with flasks in a shaking incubator) and once with two similarly animated objects. There wasn't any special code to stop/restart animations. Anyone else seen this?
- These users thanked the author Graham Mills for the post:
- Dundridge Dreadlow
- Dundridge Dreadlow
- Posts: 616
- Joined: Mon May 06, 2013 2:23 pm
- Location: England
- Has thanked: 590 times
- Been thanked: 339 times
Re: llSetKeyframedAnimation
I'm gonna need to play with this aren't I...
Is the object: Underground nearby(ish), in the sky above, at 0,0,0, linked, on a megaregion... Suggest scanning for (scripted) objects from the region tools. I've had objects vanish without trace before (not recently) when I was doing a physics boat a couple months back. I never did find it to finish it...
You could add code to return the object to the right position on region restart.
Is the object: Underground nearby(ish), in the sky above, at 0,0,0, linked, on a megaregion... Suggest scanning for (scripted) objects from the region tools. I've had objects vanish without trace before (not recently) when I was doing a physics boat a couple months back. I never did find it to finish it...
You could add code to return the object to the right position on region restart.
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
Re: llSetKeyframedMotion
They are on a megaregion though none of the other issues seem to apply. I've now put a couple of animated objects on a fresh single region world to make it easier to hunt them down though my guess would be that relocation is not the issue. I can now say that they persist on the megaregion for at least 10 min but disappear beyond an hour (based on a single observation admittedly). It doesn't seem especially likely but I can't rule out a viewer side-effect as I've only tried Kokua so far. (update: also in Lumiya which does incidentally play these animations).
On reflection I suppose relocation is the most likely explanation -- otherwise you're looking at improbably strange things going on in the cloud or viewer. Of course, that could be a function of the Kitely post-update "temporary hack"?
NB changed title to correct function name.
Time course 1 (single region)
30 min in the new region: all well (and motion persisting across restarts consistent with it being a property of the object)
70 min still OK (beginning to look like it's megaregion-related)
Time course 2 (megaregion)
7 min: animated objects lost from NE and NW regions; same object persists in SE and SW -- no evidence of missing objects in region search
13 min: now missing from SE as well; only SW copy remains
It's possible, of course, that there is something weird about this particular world. It does happen...
On reflection I suppose relocation is the most likely explanation -- otherwise you're looking at improbably strange things going on in the cloud or viewer. Of course, that could be a function of the Kitely post-update "temporary hack"?
NB changed title to correct function name.
Time course 1 (single region)
30 min in the new region: all well (and motion persisting across restarts consistent with it being a property of the object)
70 min still OK (beginning to look like it's megaregion-related)
Time course 2 (megaregion)
7 min: animated objects lost from NE and NW regions; same object persists in SE and SW -- no evidence of missing objects in region search
13 min: now missing from SE as well; only SW copy remains
It's possible, of course, that there is something weird about this particular world. It does happen...
Dundridge Dreadlow wrote:I'm gonna need to play with this aren't I...
Is the object: Underground nearby(ish), in the sky above, at 0,0,0, linked, on a megaregion... Suggest scanning for (scripted) objects from the region tools. I've had objects vanish without trace before (not recently) when I was doing a physics boat a couple months back. I never did find it to finish it...
You could add code to return the object to the right position on region restart.
-
- Posts: 1314
- Joined: Sun Dec 23, 2012 2:26 pm
- Has thanked: 1134 times
- Been thanked: 1142 times
Re: llSetKeyframedMotion
OK, so my best guess is that loss of animated content is mostly an issue, i.e. quite rapid, in the northern regions of a 4x4 and to a lesser extent the SE region although ultimately it happens there too. The SW region looks to be by far the safest (probably 100%). As far as I can tell, single regions are OK and with megaregions the loss only occurs if the animation is in effect. Where the objects go to (if anywhere) is unknown as they don't show up in area search. Exporting single regions with animations seems to work with animations persisting during export and import. Generally animation persistence doesn't seem to be 100% reliable although this might sometimes come down to its being slow to restart. YMMV ![Wink ;)](./images/smilies/icon_e_wink.gif)
Of course, hopefully this will be a temporary glitch with what promises to be a really useful feature.
![Wink ;)](./images/smilies/icon_e_wink.gif)
Of course, hopefully this will be a temporary glitch with what promises to be a really useful feature.
- Oren Hurvitz
- Posts: 361
- Joined: Sun Dec 23, 2012 8:42 am
- Has thanked: 19 times
- Been thanked: 499 times
- Contact:
Re: llSetKeyframedAnimation
Hi Graham,
My guess is that the most likely explanation is that the movement algorithm has a bug and the object is moved somewhere it can't be seen.
In order to test this, I'd like you to reproduce the problem. Then please let me know the world where this happened; the name of the object; and the rough location where it was originally situated (at least the region). I will check in the database to see if the object still exists, and its location.
Thanks,
Oren
My guess is that the most likely explanation is that the movement algorithm has a bug and the object is moved somewhere it can't be seen.
In order to test this, I'd like you to reproduce the problem. Then please let me know the world where this happened; the name of the object; and the rough location where it was originally situated (at least the region). I will check in the database to see if the object still exists, and its location.
Thanks,
Oren
- These users thanked the author Oren Hurvitz for the post:
- Dundridge Dreadlow
- Oren Hurvitz
- Posts: 361
- Joined: Sun Dec 23, 2012 8:42 am
- Has thanked: 19 times
- Been thanked: 499 times
- Contact:
Re: llSetKeyframedAnimation
Never mind, I was able to reproduce the problem. We'll have a solution for the next update.
- These users thanked the author Oren Hurvitz for the post (total 5):
- Dot Matrix • Constance Peregrine • Dundridge Dreadlow • Graham Mills • Butterfly Kisses
- Oren Hurvitz
- Posts: 361
- Joined: Sun Dec 23, 2012 8:42 am
- Has thanked: 19 times
- Been thanked: 499 times
- Contact:
Re: llSetKeyframedAnimation
This bug was fixed in today's update.
- These users thanked the author Oren Hurvitz for the post (total 3):
- Constance Peregrine • Graham Mills • Dundridge Dreadlow