ainst Composer Posted January 14, 2019 Share Posted January 14, 2019 (edited) Hi! Is it possible to animate light texture option in the features tab with script and how? Not just flickering, I want to use gif texture. Edited January 14, 2019 by ainst Composer Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted January 14, 2019 Share Posted January 14, 2019 You can manipulate the PRIM_GLOW value easily enough using llSetLinkPrimitiveParamsFast with the link number of what happens to be the bulb or light-emitting surface to simulate flickering, and most of the other items accessed on the features tab can also be set in this way. Play around on the features tab with different values until you know what you want to do with the values, then have a look at the function I described in the LSL Portal page of the wiki. 1 Link to comment Share on other sites More sharing options...
ainst Composer Posted January 14, 2019 Author Share Posted January 14, 2019 (edited) 1 hour ago, Profaitchikenz Haiku said: You can manipulate the PRIM_GLOW value easily enough using llSetLinkPrimitiveParamsFast with the link number of what happens to be the bulb or light-emitting surface to simulate flickering, and most of the other items accessed on the features tab can also be set in this way. Play around on the features tab with different values until you know what you want to do with the values, then have a look at the function I described in the LSL Portal page of the wiki. So can I animate the texture of light or not? and where is the right wiki page? i dont want it to blink, i need to animate texture. like a cinema projector for example. Edited January 14, 2019 by ainst Composer Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted January 14, 2019 Share Posted January 14, 2019 Interestingly, there is no way to specify the texture, FOV, Focus or Ambience other than by using the edit floater. Nothing on the right hand side of the point light section appears in the list of prim params that can be set by script. GIF's aren't going to help here because SL doesn't support them. Animated Gifs have to be converted outside of SL into a single image comprising sections that a script then animates. I think you might have to raise a Jira on this and ask Linden if there are plans to make these elements of the features tab available to scripting. Link to comment Share on other sites More sharing options...
Christhiana Posted January 15, 2019 Share Posted January 15, 2019 (edited) I haven't tried this but perhaps you could use the media on a prim texture as the light texture. Edited: I tried it but unfortunately it doesn't work'.... Edited January 15, 2019 by Christhiana Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted January 15, 2019 Share Posted January 15, 2019 I played around with it and was impressed, it projects whatever the texture is onto other surfaces. If LL do get round to making it accessible to scripting it will be most useful. The best workaround to achieve the OP's requirement has been posted by Qie in the scripting forum. Link to comment Share on other sites More sharing options...
Cube Republic Posted January 17, 2019 Share Posted January 17, 2019 sure , use and emissive texture and just animate that. Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now