Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Resource Conservation Help

Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
05-31-2005 22:33
Hi guys - I was hoping you could give me some advice on the best way to proceed - and use as little Sim resources as possible :D

I'm making a dancefloor that needs to change (small) animated textures on a rotation, like about every 60 seconds.

The question is, which is better from a Sim-resource perspective:

a) llSetTexture on Timer() (60 Seconds)

b) llSetTexture on Collision(), throttled by llMinEventDelay(60)

Assuming that - if the textures don't change when there's no activity on the floor - even better.


Thoughts? :)
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
05-31-2005 22:58
Definitely B, unless you can get a texture animation (llSetTextureAnim) on a 60-second time interval. Doubt it, though.
_____________________
---
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
06-01-2005 08:23
If you want to be even more resource savy, you can also use one big texture, instead of several small textures for the floor tiles, then llOffsetTexture into the big texture instead of using llSetTexture
==Chris