• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-3783
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Jacek Antonelli
Votes: 54
Watchers: 21
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

First frame of uploaded animations is triplicated

Created: 10/Dec/07 07:04 PM   Updated: 09/Sep/09 09:03 PM
Return to search
Component/s: Avatar/Character
Affects Version/s: 1.18.5.3, Snowglobe 1.0, 1.23
Fix Version/s: None

File Attachments: 1. File 2-frame-anim.animatn (0.1 kB)
2. File 2-frame-anim.bvh (4 kB)
3. File arm flap 17-frame 1fps.avm (12 kB)
4. File arm flap 17-frame 1fps.bvh (12 kB)
5. Text File female_poser_walk_8fps.bvh (8 kB)
6. File tick_tock.bvh (5 kB)

Image Attachments:

1. animation_loop.png
(20 kB)
Issue Links:
Duplicate
 
Relates
 

Linden Lab Issue ID: DEV-15185


 Description  « Hide
Repro to show the first frame is there 3 times:

-Upload the attached animation "2-frame-anim", not looped, with ease-in = 0, and ease-out = 0. The BVH is set at 1 frame per second.
-Play the animation.

Observe: The animation lasts 3 seconds. The first 2 seconds it is stuck in frame 1. The third second you see the actual movement from frame 1 to frame 2.
So it plays like this: 1 - 1 - 1 - 2

Expected: the animation should last 1 second, playing like this: 1 - 2

=======

Repro to show there is no interpolation between end- and start-frame when looping:

-Upload the same animation, but now looped, with In(%) = 0 and Out(%) = 100
-Play the animation.

Observe: After frame 2 is reached, the animation suddenly jumps back to frame 1, there is no smooth movement between frame 2 and frame 1.
The animation plays like this: 1 - 1 - 1 - 2/1 - 1 - 1 - 2/1 - 1 - 1 - 2/1 - ...

Most people would expect the animation to loop like this: 1 - 2 - 1 - 2 - 1 - ...

=======

Partial workaround to correct looped animations:

Suppose you want the above animation played like this: 1 - 2 - 1 - 2 - 1 ...

-In your animation program, copy the first frame, and paste it after the last frame.
-Upload the animation with In(%) = 200 / (n + 2)

Where n is the number of frames of your original animation (n = 2 in this example, that gives In(%) = 50%)
The start of a loop, or non-looped animations can't be fixed using this workaround.

=======

When uploading an animation, the first frame of animation is played for 2 frames. (When I say "first frame of animation", I'm referring to the second motion entry in the file; the first entry is usually considered to be a reference, against which the other frames are compared, and isn't supposed to be played.)

This bug has been around for a long time; it's visible to a keen eye in animations dating back over a year, perhaps even longer. But since animations are often a few hundred frames at 30 frames per second, this bug usually only manifests itself as a very brief pause as the animation loops.

In animations at low framerates, the effect is more noticeable. I've created a sample animation that's plays at 1 frame per second to help repro this issue. The animation has 4 frames of animation, not including the reference position. Frames 1 and 4 have the left arm in the down position. Frames 2 and 3 have the arm in the up position. So, played in a loop, the arm should spend an equal amount of time in either position. But with the bug, it spends one second longer in the down position. (I've attached an image to help make sense of this.)

Repro:
1. Upload the attached animation for uploading (tick_tock.bvh) with Priority 4, Looping, and 0 ease-in and ease-out. (If you don't want to spend the L$10, you can just watch it in the animation preview.)
2. Play the animation.
= Observed: The avatar's arm spends more time fully down than it spends fully up.

  • Expected The avatar's arm should spend the same amount of time in the down position as in the up position.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jacek Antonelli made changes - 20/Dec/07 04:03 PM
Field Original Value New Value
Assignee Jacek Antonelli [ Jacek Antonelli ]
Rob Linden made changes - 22/Dec/07 02:21 AM
Workflow jira [ 17698 ] jira-2007-12-21 [ 25280 ]
Rob Linden made changes - 22/Dec/07 02:32 AM
Workflow jira [ 25280 ] jira-2007-12-21 [ 25954 ]
Rob Linden made changes - 22/Dec/07 03:21 PM
Workflow jira-2007-12-21 [ 25954 ] jira-2007-12-22 [ 32182 ]
Rob Linden made changes - 22/Dec/07 03:43 PM
Workflow jira-2007-12-21 [ 32182 ] jira-2007-12-22 [ 34249 ]
Rob Linden made changes - 22/Dec/07 08:38 PM
Workflow jira-2007-12-22 [ 34249 ] jira-2007-12-22a [ 39379 ]
Rob Linden made changes - 22/Dec/07 09:54 PM
Workflow jira-2007-12-22 [ 39379 ] jira-2007-12-22a [ 43341 ]
Rob Linden made changes - 22/Dec/07 10:17 PM
Workflow jira-2007-12-22 [ 43341 ] jira-2007-12-22a [ 44698 ]
lindenrobot made changes - 13/May/08 09:40 AM
Linden Lab Issue ID DEV-15185
dave bellman made changes - 23/Jul/08 01:51 AM
Attachment female_poser_walk_8fps.bvh [ 17736 ]
Sue Linden made changes - 13/Nov/08 11:02 AM
Workflow jira-2007-12-22a [ 44698 ] jira-2008-11-14 [ 62587 ]
Sue Linden made changes - 13/Nov/08 11:19 AM
Workflow jira-2007-12-22a [ 62587 ] jira-2008-11-14 [ 68424 ]
Sue Linden made changes - 13/Nov/08 04:34 PM
Workflow jira-2008-11-14 [ 68424 ] jira-2008-11-14a [ 88387 ]
Sue Linden made changes - 13/Nov/08 04:51 PM
Workflow jira-2008-11-14 [ 88387 ] jira-2008-11-14a [ 93869 ]
Sue Linden made changes - 13/Nov/08 05:01 PM
Workflow jira-2008-11-14 [ 93869 ] jira-2008-11-14a [ 97483 ]
Sue Linden made changes - 13/Nov/08 05:12 PM
Workflow jira-2008-11-14 [ 97483 ] jira-2008-11-14a [ 101462 ]
Sue Linden made changes - 13/Nov/08 05:30 PM
Workflow jira-2008-11-14 [ 101462 ] jira-2008-11-14a [ 108675 ]
Sue Linden made changes - 13/Nov/08 05:51 PM
Workflow jira-2008-11-14 [ 108675 ] jira-2008-11-14a [ 115764 ]
Sue Linden made changes - 13/Nov/08 06:06 PM
Workflow jira-2008-11-14 [ 115764 ] jira-2008-11-14a [ 121283 ]
Sue Linden made changes - 13/Nov/08 06:28 PM
Workflow jira-2008-11-14 [ 121283 ] jira-2008-11-14a [ 129668 ]
Sue Linden made changes - 13/Nov/08 06:46 PM
Workflow jira-2008-11-14 [ 129668 ] jira-2008-11-14a [ 136138 ]
Katiri Hynes made changes - 06/Feb/09 12:05 PM
Link This issue is related to by MISC-2325 [ MISC-2325 ]
Ashrilyn Hayashida made changes - 11/Feb/09 01:35 AM
Attachment arm flap 17-frame 1fps.avm [ 22050 ]
Attachment arm flap 17-frame 1fps.bvh [ 22051 ]
Ellla McMahon made changes - 19/Apr/09 06:36 PM
Link This issue is original of duplicate VWR-12879 [ VWR-12879 ]
Moon Metty made changes - 29/May/09 10:57 AM
Attachment 2-frame-anim.bvh [ 24785 ]
Moon Metty made changes - 29/Jun/09 10:54 AM
Summary First frame of uploaded animations is duplicated First frame of uploaded animations is triplicated
Moon Metty made changes - 29/Jun/09 10:55 AM
Link This issue is related to by VWR-1909 [ VWR-1909 ]
Moon Metty made changes - 29/Jun/09 02:33 PM
Description When uploading an animation, the first frame of animation is played for 2 frames. (When I say "first frame of animation", I'm referring to the second motion entry in the file; the first entry is usually considered to be a reference, against which the other frames are compared, and isn't supposed to be played.)

This bug has been around for a long time; it's visible to a keen eye in animations dating back over a year, perhaps even longer. But since animations are often a few hundred frames at 30 frames per second, this bug usually only manifests itself as a very brief pause as the animation loops.

In animations at low framerates, the effect is more noticeable. I've created a sample animation that's plays at 1 frame per second to help repro this issue. The animation has 4 frames of animation, not including the reference position. Frames 1 and 4 have the left arm in the down position. Frames 2 and 3 have the arm in the up position. So, played in a loop, the arm should spend an equal amount of time in either position. But with the bug, it spends one second longer in the down position. (I've attached an image to help make sense of this.)

Repro:
1. Upload the attached animation for uploading (tick_tock.bvh) with Priority 4, Looping, and 0 ease-in and ease-out. (If you don't want to spend the L$10, you can just watch it in the animation preview.)
2. Play the animation.
= Observed: The avatar's arm spends more time fully down than it spends fully up.
- Expected The avatar's arm should spend the same amount of time in the down position as in the up position.
Repro to show the first frame is there 3 times:

-Upload the attached animation "2-frame-anim", not looped, with ease-in = 0, and ease-out = 0. The BVH is set at 1 frame per second.
-Play the animation.

Observe: The animation lasts 3 seconds. The first 2 seconds it is stuck in frame 1. The third second you see the actual movement from frame 1 to frame 2.
So it plays like this: 1 - 1 - 1 - 2

Expected: the animation should last 1 second, playing like this: 1 - 2

=======

Repro to show there is no interpolation between end- and start-frame when looping:

-Upload the same animation, but now looped, with In(%) = 0 and Out(%) = 100
-Play the animation.

Observe: After frame 2 is reached, the animation suddenly jumps back to frame 1, there is no smooth movement between frame 2 and frame 1.
The animation plays like this: 1 - 1 - 1 - 2/1 - 1 - 1 - 2/1 - 1 - 1 - 2/1 - ...

Most people would expect the animation to loop like this: 1 - 2 - 1 - 2 - 1 - ...

=======

Partial workaround to correct looped animations:

Suppose you want the above animation played like this: 1 - 2 - 1 - 2 - 1 ...

-In your animation program, copy the first frame, and paste it after the last frame.
-Upload the animation with In(%) = 200 / (n + 2)

Where n is the number of frames of your original animation (n = 2 in this example, that gives In(%) = 50%)
The start of a loop, or non-looped animations can't be fixed using this workaround.

=======


When uploading an animation, the first frame of animation is played for 2 frames. (When I say "first frame of animation", I'm referring to the second motion entry in the file; the first entry is usually considered to be a reference, against which the other frames are compared, and isn't supposed to be played.)

This bug has been around for a long time; it's visible to a keen eye in animations dating back over a year, perhaps even longer. But since animations are often a few hundred frames at 30 frames per second, this bug usually only manifests itself as a very brief pause as the animation loops.

In animations at low framerates, the effect is more noticeable. I've created a sample animation that's plays at 1 frame per second to help repro this issue. The animation has 4 frames of animation, not including the reference position. Frames 1 and 4 have the left arm in the down position. Frames 2 and 3 have the arm in the up position. So, played in a loop, the arm should spend an equal amount of time in either position. But with the bug, it spends one second longer in the down position. (I've attached an image to help make sense of this.)

Repro:
1. Upload the attached animation for uploading (tick_tock.bvh) with Priority 4, Looping, and 0 ease-in and ease-out. (If you don't want to spend the L$10, you can just watch it in the animation preview.)
2. Play the animation.
= Observed: The avatar's arm spends more time fully down than it spends fully up.
- Expected The avatar's arm should spend the same amount of time in the down position as in the up position.
medhue simoni made changes - 09/Jul/09 01:39 AM
Comment [ Seriously, I will pay some1 at LL to fix this. Well, I already do, but i mean extra. Really, $500 US cash. Maybe some others will pitch in also, really, Im serious. Please! If this is not enough, give us the price. We'll find a way to come up with it. Im beggin here! ]
Day Oh made changes - 10/Jul/09 03:57 AM
Attachment 2-frame-anim.animatn [ 26454 ]
Stickman Ingmann made changes - 16/Jul/09 08:25 AM
Affects Version/s 1.23 [ 10470 ]
Affects Version/s Snowglobe 1.0 [ 10480 ]