[JIRA] Commented: (VWR-16084) Animation of textures with llSetTextureAnim will not run without having "LOOP" enabled

Montavious Peccable (JIRA) no-reply at lindenlab.cascadeo.com
Sat Nov 21 22:26:01 PST 2009


    [ http://jira.secondlife.com/browse/VWR-16084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148039#action_148039 ] 

Montavious Peccable commented on VWR-16084:
-------------------------------------------

I am having a similar issue in 1.23.5 on a MacBook, and the exact behavior was witnessed by a friend with a Windows PC. Doesn't sound too system specific to me.

In my case, I'm trying to simulate a stage curtain being opened. I have a texture which is a picture of a curtain on one side and transparent on the other side. I call llSettextureAnim to slide the curtain half of the texture out of sight.

What I'm seeing is that the animation jumps to the second and final frame as soon as I call llSetTextureAnim. I'm curious as to whether Sebastian's last frame is identical to his first frame.

I have also discovered that if I take the object into inventory and re-rez it, the last animation that was attempted before taking the object plays smoothly as soon as the object is rezzed - without a call to llSetTextureAnim. That is, if the last thing I did was open the curtain, then as soon as I re-rez it, the curtain smoothly opens. Subsequent calls to llSetTextureAnim result in the curtain snapping open or closed, until I Take the object and then re-rez it - whereupon it again does smoothly what it last did non-smoothly immediately before I took it.

> Animation of textures with llSetTextureAnim will not run without having "LOOP" enabled
> --------------------------------------------------------------------------------------
>
>                 Key: VWR-16084
>                 URL: http://jira.secondlife.com/browse/VWR-16084
>             Project: 1. Second Life Viewer - VWR
>          Issue Type: Bug
>          Components: Building (in-world), Graphics, Scripting
>    Affects Versions: 1.23
>            Reporter: Sebastean Steamweaver
>
> When using llSetTextureAnim for a non-looping SCALE animation of the texture, I discovered that the Scale animation will not run if LOOP is not enabled. With further testing, I found this was also true for ROTATE and SMOOTH modes.
> The following *Will* slowly scale a texture in a "zoom in" like fashion repeatedly.
> llSetTextureAnim( ANIM_ON | SMOOTH | SCALE | REVERSE | LOOP,ALL_SIDES,1,1,0.0,1.0,0.05);
> Without "LOOP," the following *ought to* run the texture through the animation once, and then stop.
> llSetTextureAnim( ANIM_ON | SMOOTH | SCALE | REVERSE ,ALL_SIDES,1,1,0.0,1.0,0.05);
> Instead, it sets it at the first frame, and just sits there with no animation whatsoever. I looked through the wikis and caveats, but found no evidence to suggest that this was at all "expected behavior." This is true for SMOOTH, ROTATE, and SCALE animation modes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.secondlife.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Jira-notify mailing list