Jump to content

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


You are about to reply to a thread that has been inactive for 1286 days.

Please take a moment to consider if this thread is worth bumping.

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 comment
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 comment
Share on other sites

You are about to reply to a thread that has been inactive for 1286 days.

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
 Share

×
×
  • Create New...