secondlife / jira-archive

2 stars 0 forks source link

[BUG-134147] Add easing flags to llSetTextureAnim #2187

Open sl-service-account opened 7 years ago

sl-service-account commented 7 years ago

How would you like the feature to work?

Add two new flags to llSetTextureAnim and llSetLinkTextureAnim EASE_IN and EASE_OUT. These would allow you to ease a texture animation in a sinusoidal fashion.

Example

 llSetTextureAnim(ANIM_ON|SMOOTH|LOOP|PING_PONG|EASE_IN|EASE_OUT, ALL_SIDES, 0,0, 0,1, 1); 

Why is this feature important to you? How would it benefit the community?

Texture animations are a great way to create simple moving trees and foliage. The choppy "bounce" when using PING_PONG is off putting. Simple flags for easing in and out should suffice!

Links

Related

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-134147 | | Summary | Add easing flags to llSetTextureAnim | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Tonaie (tonaie) | | Created at | 2017-08-17T21:10:51Z | | Updated at | 2017-08-23T18:09:45Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2017-08-18T12:10:10.955-0500', 'How would you like the feature to work?': 'Add two new flags to llSetTextureAnim and llSetLinkTextureAnim EASE_IN and EASE_OUT. These would allow you to ease a texture animation in a sinusoidal fashion.\r\n\r\nExample\r\n
\r\nllSetLinkTextureAnim(ANIM_ON|SMOOTH|LOOP|PING_PONG|EASE_IN|EASE_OUT, ALL_SIDES, 0,0, 0,1, 1);\r\n
', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': 'Texture animations are a great way to create simple moving trees and foliage. The choppy "bounce" when using PING_PONG is off putting. Simple flags for easing in and out should suffice!', } ```
sl-service-account commented 7 years ago

Lucia Nightfire commented at 2017-08-18T17:10:11Z

Related to https://jira.secondlife.com/browse/BUG-6443

The texture animation functions were horribly implemented as any changes will require new functions.

New functions need to be modular and use list formatting like SLPPF so new params can be added over time.