|
Caden Lynagh
Registered User
Join date: 13 Sep 2007
Posts: 13
|
02-20-2009 15:08
Looking for some help changing the texture of linked prims.
I have a script that changes the texture of a bunch of linked prims (around 70 I think) using llSetLinkPrimitiveParams with the face repeats currently set at <1,1,1>. My problem is that I would like a different number of repeats on each prim.
Is there any way I can maintain the current texture repeats of each face?
OR
Can I somehow get the repeats of each face before setting with llSetLinkPrimitiveParams? The function llGetLinkPrimitiveParams does not exist so I am at a loss.
|
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
02-20-2009 15:23
I couldn't swear to it without checking but I am pretty that calling llSetLinkTexture() preserves the existing repeats.
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
02-20-2009 16:11
From: Innula Zenovka I couldn't swear to it without checking but I am pretty that calling llSetLinkTexture() preserves the existing repeats. yep, using llSetTexture or llSetLinkTexture doesn't change the repeats, rotation, or anything else other than the texture used
|
|
Caden Lynagh
Registered User
Join date: 13 Sep 2007
Posts: 13
|
02-20-2009 17:46
Thank you. Yes this works!
Lets me select which prims in the linked bunch to apply the texture to, and doesn't change anything but the texture.
|