Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-5379] Texture animation flicker at certain frame rates #13370

Open
sl-service-account opened this issue Mar 14, 2014 · 2 comments
Open

[BUG-5379] Texture animation flicker at certain frame rates #13370

sl-service-account opened this issue Mar 14, 2014 · 2 comments

Comments

@sl-service-account
Copy link

Steps to Reproduce

attempting to animate a 3 by 3 animation using the following command
llSetLinkTextureAnim(linkid, ANIM_ON | LOOP, ALL_SIDES, 3, 3, 0, 3, 0.3);

Actual Behavior

the animation can flicker incorrectly

Expected Behavior

it to play cells 0, 1, 2 and then loop and start at cell 0 and not goto cell 3 and then flick right to cell 0.

Other information

if you change the call to
llSetLinkTextureAnim(linkid, ANIM_ON | LOOP, ALL_SIDES, 3, 3, 0, 4, 0.3); it plays cells 0,1,2,3 and loops correctly without flicker.

changing the speed from
0.3 to 1.0 seems to make the flicker less likely but does not fix the issue.

switching from LOOP to PING_PONG also fixs the issue if you dont mind the animation playing in the other direction and then looping.

Original Jira Fields
Field Value
Issue BUG-5379
Summary Texture animation flicker at certain frame rates
Type Bug
Priority Unset
Status Accepted
Resolution Accepted
Reporter Madpeter Zond (madpeter.zond)
Created at 2014-03-14T02:46:49Z
Updated at 2014-03-19T20:13:05Z
{
  'Business Unit': ['Platform'],
  'Date of First Response': '2014-03-14T00:20:17.277-0500',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'the animation can flicker incorrectly',
  'What were you doing when it happened?': 'attempting to animate a 3 by 3 animation using the following command\r\nllSetLinkTextureAnim(linkid, ANIM_ON | LOOP, ALL_SIDES, 3, 3, 0, 3, 0.3);\r\n',
  'What were you expecting to happen instead?': 'it to play cells 0, 1, 2 and then loop and start at cell 0 and not goto cell 3 and then flick right to cell 0.',
}
@sl-service-account
Copy link
Author

MartinRJ Fayray commented at 2014-03-14T05:20:17Z

Reproduced with:

Second Life 3.7.3 (287491) Mar 4 2014 05:01:31 (Second Life Release)
Release Notes

You are at 231.1, 184.9, 25.2 in Belarus located at sim9173.agni.lindenlab.com (216.82.42.109:13017)
SLURL: http://maps.secondlife.com/secondlife/Belarus/231/185/25
(global coordinates 276,711.0, 251,065.0, 25.2)
Second Life Server 14.02.28.287383
Retrieving...

CPU: AMD Phenom(tm) II X4 955 Processor (3214.45 MHz)
Memory: 16383 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: AMD Radeon HD 7800 Series

Windows Graphics Driver Version: 8.17.0010.1267
OpenGL Version: 4.2.11399 Compatibility Profile Context

libcurl Version: libcurl/7.24.0 OpenSSL/0.9.8q zlib/1.2.5
J2C Decoder Version: KDU v7.0
Audio Driver Version: FMOD Ex 4.44.12
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Not Connected
Built with MSVC version 1600
Packets Lost: 2/7,528 (0.0%)

@sl-service-account
Copy link
Author

Maestro Linden commented at 2014-03-14T16:28:53Z

Given that this bug is dependent on the frame rate, I'm pretty sure this is a rendering issue - as far as the simulator is concerned, the frame rate of a texture animation is just a float, much like the object's red color component.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant