Jump to content

multiple texture applied in a prim without texture files in prim's inventory


Recommended Posts

I'm making a HUD and just stuck on small problem with texturing.

so I was trying reference to other objects and found some like tricky way for me that applying multiple texture in a prim.

 

Screenshot_1040_edited.png.c33817a2e24b59a391681568d1f34bc3.pngScreenshot_1041_edited.png.b7ba123d7a6fb0bb5a0f4655f7477888.png

it is a part prim of AO HUD and applied wrapping a texture on all faces. ( not into individual faces )

and when it's clicked the textures are just changed to each textures.

but none of textures were in the prim's inventory.

 

I used to put textures in prim's inventory and use script to apply multiple textures,

but I wonder how I can do like this.

Edited by Jaewise Hinterland
Link to post
Share on other sites

You can always apply a texture to any face on a scripted object if you know the texture's UUID.  If you hard-code the UUID into the script and set the script to no-mod, you have the added advantage that the texture (and its UUID) cannot be lifted from the script or the object's inventory.  Any of the LSL functions that handle textures can be used this way: 

llSetTexture

llSetLinkTexture

llSetLinkPrimitiveParams

llSetTextureAnim

llSetLinkTextureAnim

  • Like 2
  • Thanks 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...