Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is it possible to have a dynamically changing skin?

Mizu Frequency
Registered User
Join date: 22 Jul 2009
Posts: 2
07-22-2009 01:11
For my new AV, I'm wondering if I can create a skin that constantly changes, or at least can rotate in some way. I kind of doubt this is possible, but if it is, I would like to know. Also, through scripting, is it possible to have a texture that's constantly changing?

Thanks in advance
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
07-22-2009 01:30
You can wear your media texture and play video on yourself - yes, I know, that's not a very helpful answer.
Rygel Ryba
Registered User
Join date: 12 Feb 2008
Posts: 254
07-22-2009 01:38
In theory - if you have RLV (Restrained Life Viewer) it would be possible to make a script that would change your skin ever X seconds, but it wouldn't be very efficient or practical. even cached, it takes several seconds to apply a new skin.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-22-2009 03:25
wonder how long it takes for changes in the client folders to take hold (or how often they get pulled)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Abigail Merlin
Child av on the lose
Join date: 25 Mar 2007
Posts: 777
07-22-2009 03:26
I think the only way to do it without the rez delay is to use a full prim avatar and change the texture by animating them with a script, this isn't realy a changing texture but rather a texture that shifts so that after every change a different part of the texture can be seen, theoreticly you can also swap textures for other textures using a script but this will give problems with slow rezzing and should only be done if there is no other choice, like a photo frame that flips trough pictures stored in the prim.

Thi also answers your other question, yes you can have a script change the textures on a prim.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
07-22-2009 08:41
From: Osprey Therian
You can wear your media texture and play video on yourself - yes, I know, that's not a very helpful answer.

/me blinks.

Does that actually work?

edit: ...without using prims?
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
07-22-2009 09:23
From: Void Singer
wonder how long it takes for changes in the client folders to take hold (or how often they get pulled)


This is how i wear my skin in SL - i keep it in the character folder.

The skin displays changes immediately after a rebake.

Sometimes the skin reloads at odd times. I prefer to keep my skin client side since i do so many changes to it. It also releases my tattoo slots so i can apply my face makeups without changing the face skin texture.
_____________________
WooT
------------------------------

http://www.secondcitizen.net/Forum/
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
07-22-2009 09:56
From: Meade Paravane (re: playing video on the avatar)
/me blinks.

Does that actually work?

edit: ...without using prims?
I don't think it's quite that easy, but it should be possible. The complexity is that the viewer bakes up a new texture combining all the layers. If a modified viewer instead pushed the parcel media texture instead of the baked avatar texture, it should work. Alternatively, the viewer log records the identity of the baked avatar texture, so setting the parcel media texture to that should work, too.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
07-22-2009 10:05
From: Qie Niangao
I don't think it's quite that easy, but it should be possible. The complexity is that the viewer bakes up a new texture combining all the layers. If a modified viewer instead pushed the parcel media texture instead of the baked avatar texture, it should work. Alternatively, the viewer log records the identity of the baked avatar texture, so setting the parcel media texture to that should work, too.

Yep yep. That's why I added the "without prims" bit.

If you had a prim outfit, it might be easy as those aren't included in the baking..
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
07-22-2009 10:09
The simple answer is "Practically speaking, no."

Mizu, watch someone while they change their skin. It's not pretty. This would happen on each skin change. There's a thing called "baking" going on in the viewer of the person changing skins -- the viewer adds the new skin and clothing layers and "bakes" them into a single set of textures, so that viewer seeing the avatar doesn't have to redo this work.

And it's a little more complicated than that, because the client also sends out the skin and clothing textures separately, and the viewers for the people watching do the slow thing until they get the baked update. However, I believe they're removing this complication. Just be aware that it's more complicated than I'm making it sound.

Textures on objects can change two ways
1) a script can change the texture explicitly -- causing texture re-rezzing if it's not in someone's viewer's cache
2) texture frame animation -- the texture has a "slide show" and cycles through them at a given rate, based on parameters a script sets once. This does not have the re-rezzing problem.

Neither of these options is available for avatars, using normal viewer. As mentioned above, a modified viewer could support option 1, but re-rezzing would be bad. Option 2 is not a possibility, unless everyone who sees you uses a modified viewer (and those using a normal one would see strange stuff).
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
07-22-2009 10:24
From: Osprey Therian
You can wear your media texture and play video on yourself - yes, I know, that's not a very helpful answer.
You mean, make a skin where all 3 sections were the texture you set as your media texture, and just wear that skin?

Would that work outside your parcel?
From: Qie Niangao
I don't think it's quite that easy, but it should be possible. The complexity is that the viewer bakes up a new texture combining all the layers.
So, even if the avatar is wearing a skin made of media texture, after baking it would end up with a different UUID and so wouldn't work. hmm. Again, one is back to a prim.
.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
07-22-2009 10:28
I think the only way to get it on a skin is to have a hacked client say that the baked texture is the media texture uuid - no idea if the sim would like that, though.
From: Nika Talaj
Would < any of this > work outside your parcel?.

Only if they had the same media texture uuid that you have.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-22-2009 10:35
Grabbing the baked head texture UUID and making it the media texture, then playing a talking head video onto it, would be interesting. Maybe something you could do on a model bot.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
07-22-2009 10:54
From: Meade Paravane
/me blinks.

Does that actually work?

edit: ...without using prims?


It used to work (without prims) - dunno atm.

Update: Right now it just changes when you hit "rebake" although if you go into Appearance you can see the movie.
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
07-22-2009 11:32
From: Argent Stonecutter
Grabbing the baked head texture UUID and making it the media texture, then playing a talking head video onto it, would be interesting. Maybe something you could do on a model bot.
Max Headroom!
Whimsycallie Pegler
Registered User
Join date: 28 Apr 2006
Posts: 1,003
07-22-2009 11:38
I wish. I have always wanted a tattoo that is just a horizon of the ocean. It would be great if the sun and moon could rise and set on your tatoo in conjunction with the Linden day.
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
07-22-2009 11:46
From: Argent Stonecutter
Grabbing the baked head texture UUID
Is there a kosher (and easy!) way to do this?
.
Nyoko Salome
kittytailmeowmeow
Join date: 18 Jul 2005
Posts: 1,378
07-22-2009 11:58
From: Meade Paravane
/me blinks.

Does that actually work?

edit: ...without using prims?


eyes pop ;0 i gotta try that...

p.s. darned, no it don't. :\ oh well, too much to ask for thru baked layers i guess... ;0 sure would be neat! :0 i saw some live clips of 'the presents' stageshow and they had giant electro-heads kinda onstage; would love to mimick that effect... yah guess you'd hafta resort to 'prop' prims to do so, for cross-viewer compatibility.
_____________________

Nyoko's Bodyoils @ Nyoko's Wears
http://slurl.com/secondlife/Centaur/126/251/734/
http://home.comcast.net/~nyoko.salome2/nyokosWears/index.html

"i don't spend nearly enough time on the holodeck. i should go there more often and relax." - deanna troi
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-22-2009 12:00
From: Nika Talaj
Is there a kosher (and easy!) way to do this?
.
Rebake and when the download has finished look in your texture cache for the most recently changed file. The file name should be the UUID.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore