Difference between revisions of "Bobbyb's texture changer"
(created page) |
|||
Line 19: | Line 19: | ||
==Compilation of Texture Changing Scripts== | ==Compilation of Texture Changing Scripts== | ||
===Using llSetTexture=== | |||
This method is slower, and less efficient than llSetPrimitiveParams and llSetLinkPrimitiveParams | |||
These scripts display the given textures on all the prims and all the sides within a linked set. | These scripts display the given textures on all the prims and all the sides within a linked set. | ||
Line 39: | Line 42: | ||
* [[Simple Texture Changer (for inventory)(more than one side).lsl]] | * [[Simple Texture Changer (for inventory)(more than one side).lsl]] | ||
* [[Simple Texture Changer (input list)(more than one side).lsl]] | * [[Simple Texture Changer (input list)(more than one side).lsl]] | ||
===Using llSetPrimitiveParams & llSetLinkPrimitiveParams=== | |||
This method is faster and more efficient than using llSetTexture or llSetLinkTexture |
Revision as of 13:13, 28 November 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
The following is a compilation of several versions of scripts that will change the texture on an object or linked set in various ways. These were written by Bobbyb30 Swashbuckler in LSLEditor. Please Note: While they are slightly optimized, it is possible to make them slightly faster/smaller using different functions/hacks. They should work fine in mono & LSO.
Creator
Contributors
If you modify/improve upon the script, please add your name here.
License
They are hereby released into public domain.
Disclaimer
These programs are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Collection of texture changing scripts
There are two version of the scripts, one which will require the textures to be in inventory, and another which works off of an input list of texture UUIDS. (By using texture names however, you could use the input list scripts as loading from inventory.)
Compilation of Texture Changing Scripts
Using llSetTexture
This method is slower, and less efficient than llSetPrimitiveParams and llSetLinkPrimitiveParams
These scripts display the given textures on all the prims and all the sides within a linked set.
- Simple Texture Changer (for inventory)(all prims & all sides).lsl
- Simple Texture Changer (input list)(all prims & all sides).lsl
These scripts will display the given textures on all the sides of certain prims in a linked set.
- Simple Texture Changer (for inventory)(certain prims & all sides).lsl
- Simple Texture Changer (input list)(certain prims & all sides).lsl
These scripts will display the givn texture on certain sides of certain prims in a linked set.
- Simple Texture Changer (for inventory)(multiple prims & multiple sides).lsl
- Simple Texture Changer (input list)(multiple prims & multiple sides).lsl
These scripts will display the given textures on a single side or all sides of a given prim.
- Simple Texture Changer (for inventory)(for one side or all sides).lsl
- Simple Texture Changer (input list)(for one side or all sides).lsl
These scripts will display the given textures on more than one side of a given prim.
- Simple Texture Changer (for inventory)(more than one side).lsl
- Simple Texture Changer (input list)(more than one side).lsl
Using llSetPrimitiveParams & llSetLinkPrimitiveParams
This method is faster and more efficient than using llSetTexture or llSetLinkTexture