
TIA!!!
These forums are CLOSED. Please visit the new forums HERE
Keeping a Single Side Transparent |
|
Jaren Deckard
Registered User
Join date: 31 May 2005
Posts: 43
|
02-16-2006 01:16
Ok... I have a bunch of boxes and only one side is transparent, using an alpha texture. I want to be able to change the texture of the boxes multiple times WITHOUT losing the tranparent alpha texture side in the change, which always happens. So for example I highlight 3 boxes and change the texture to whatever.... bricks or something and that makes all the sides of all 3 boxes that texture. How do I do this and keep the single side transparent with the alpha texture??? It's making me crazy!
![]() TIA!!! |
Candide LeMay
Registered User
Join date: 30 Dec 2004
Posts: 538
|
02-16-2006 01:33
Use the "Select texture" mode in the edit window to select only those prim faces where you want to change the texture (add to selection using shift click). Of course it's easier to just change the whole object and then drag the transparent texture back on the face where it was
_____________________
"If Mel Gibson and other cyberspace writers are right, one day the entire internet will be like Second Life." -- geldonyetich
|
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
|
02-16-2006 06:00
Ok... I have a bunch of boxes and only one side is transparent, using an alpha texture. I want to be able to change the texture of the boxes multiple times WITHOUT losing the tranparent alpha texture side in the change, which always happens. So for example I highlight 3 boxes and change the texture to whatever.... bricks or something and that makes all the sides of all 3 boxes that texture. How do I do this and keep the single side transparent with the alpha texture??? It's making me crazy! ![]() TIA!!! Edit the prim, click select texture, the press shift and left click on the transparent side, this will leave all the other sides selected and deselect the texture you dont want to change, then drag the texture into the texture tab window. _____________________
|
Jaren Deckard
Registered User
Join date: 31 May 2005
Posts: 43
|
02-16-2006 09:55
Those are great suggestions
![]() |
Nevyn Pascal
Gadget Maker
Join date: 10 Jun 2005
Posts: 8
|
02-16-2006 10:18
Those are great suggestions ![]() That's an awful lot of boxes. When you start talking large numbers like that you might want to think about a scripted solution. You could put a script in each box that reacts to texture changes. When the alpha side changes, it puts the alpha texture back on it. As long as each box uses the same side for the alpha, one script would work. If the sides vary, you would have to customize the script for each of the different sides. |
Jaren Deckard
Registered User
Join date: 31 May 2005
Posts: 43
|
02-16-2006 23:54
That would work... It is all the same side... I'm not much of a scripter though
![]() |
Candide LeMay
Registered User
Join date: 30 Dec 2004
Posts: 538
|
02-17-2006 02:27
CODE integer PRIM_SIDE = 0;Drop this into a prim and edit the first line - replace 0 with the number of the side you want to keep transparent. If you don't know which side is which, just try it out or read more info here http://secondlife.com/badgeo/wakka.php?wakka=side _____________________
"If Mel Gibson and other cyberspace writers are right, one day the entire internet will be like Second Life." -- geldonyetich
|
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
|
02-17-2006 03:46
If you are going to go the script route, you would be better off using llSetAlpha instead.
Simply replace the llSetTexture line with CODE llSetAlpha(0.0, PRIM_SIDE);this way your client doesn't have to waste time downloading an invisible texture, that side never appears as the grey-box-with-white-border, and - most importantly - I can never remember the UUIDs of my alpha textures, but "0.0" is easy ![]() |
Jaren Deckard
Registered User
Join date: 31 May 2005
Posts: 43
|
02-17-2006 09:13
WOW! FANTASTIC!!! Can't wait to try it, thank you so much!
|