Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

HUD prims vanishing on llSetTexture

Iron Perth
Registered User
Join date: 9 Mar 2005
Posts: 802
01-10-2006 10:11
When I call llSetTexture, HUD prims will randomly vanish (though not delink, just not render)

Is anyone seeing this as well?

- I have highlight transparent on, but it's not highlighting as alpha/transparent, just invisible / not rendered.
- I can edit the prim and I get a blue outline, but no again .. no transparent highlighting.
- When I drop the HUD the vanished prim re-appears with the correct texture. I have no change events or anything like that.
- When I edit the prim I can see the correct texture in the texture box.

It kind of makes HUDs rather undependable for something critical, but perhaps there is an LSL workaround or maybe I am doing something weird that causes this bug.

Let me know if you're seeing something similar.

Thanks,

Iron.
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
01-10-2006 10:14
Hmm, I noticed something very similar, but not while calling llSetTexture, but while actually manually changing the texture for a hud I was working on a few days ago. As I changed the texture the piece would "dissappear" in the same manor you describe, only to reappear as I dropped or reattached it... I just bug reported it and did my best to work around it, but I can verify that I was having the same problem.
Max Case
Registered User
Join date: 23 Dec 2004
Posts: 353
01-10-2006 10:22
possible workaround - if this involves just a few texture swaps - like an on/off button for example, if to use texture offset?
ie: make your texture have all the states you want to diplay, then just slide it around.
Hox Hauptmann
I Support Supportiveness!
Join date: 28 Oct 2005
Posts: 104
01-10-2006 10:28
You stole that idea from Me Max.. Dangit! Mine!
_____________________
Have you ever danced with the devil in the pale moonlight?
Hox Hauptmann
I Support Supportiveness!
Join date: 28 Oct 2005
Posts: 104
01-10-2006 10:29
I have actually had the same problem with prims looking like they derez temporarily whenever the texture on the prim is updated in some way. I just assumed it was a bug they are working on. I haven't really looked into it too much.
_____________________
Have you ever danced with the devil in the pale moonlight?
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
01-10-2006 10:49
This is a known bug... I see it in some of my builds, not HUDs though. Usually the prims reappear after a few seconds, so it's only marginally annoying. If they stay away forever until you drop the HUD attachment, you should bug-report that... the lindens may not know about it.
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
01-10-2006 11:14
I've also noticed this both on HUDs and rezzed inworld. One way to get the prims to reapear is force an update of some kind to the root prim. Anything that makes SL resend the info on the root will work; changing textures, alpha, etc. If your changing the texture via script, wait about .1 seconds, then send a message to the root and have it change in someway. Not the best, but it works.
_____________________
Hox Hauptmann
I Support Supportiveness!
Join date: 28 Oct 2005
Posts: 104
01-10-2006 11:32
What sort of changes are required to the root? Does it have to be a texture change to the root?
_____________________
Have you ever danced with the devil in the pale moonlight?
Max Case
Registered User
Join date: 23 Dec 2004
Posts: 353
01-10-2006 13:14
From: Hox Hauptmann
You stole that idea from Me Max.. Dangit! Mine!

heheh.. i would have hit on it eventually - it's a css web trick :P
me just slow
perhaps a licensing fee?
I'll give you .01$L for each device i sell that uses it
Adept Pascal
Elite, get over it.
Join date: 25 Jun 2005
Posts: 26
01-10-2006 13:17
From: Hox Hauptmann
I have actually had the same problem with prims looking like they derez temporarily whenever the texture on the prim is updated in some way. I just assumed it was a bug they are working on. I haven't really looked into it too much.

Same here, smooth, looped animated texture on droid tracks, when I stop the animation the tracks prims vanish and reappear after an uncomfortably long pause.

Did someone submit the bug report yet?
Hox Hauptmann
I Support Supportiveness!
Join date: 28 Oct 2005
Posts: 104
01-10-2006 13:50
From: Max Case
perhaps a licensing fee?
I'll give you .01$L for each device i sell that uses it


I demand at least .05$L.. Don't be trying to low ball me!
_____________________
Have you ever danced with the devil in the pale moonlight?
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
01-11-2006 00:13
From: Hox Hauptmann
What sort of changes are required to the root? Does it have to be a texture change to the root?

I'm not sure of everything that would cause an update to the root, but I've had to work around the disapearing prim in two of my products. The first is a category based vendor, the buttons would sometimes disapear after putting the product image on them, so I just waited .2 seconds after setting the buttons before changing the main display, which was root, and never had a button say gone afterward.

The second product was my HUD radar, which has buttons that I alpha in and out to reduce screen clutter. Not all the buttons would come back, so I forced a 1% change in the alpha of the root after the buttons were brought back. Again, I had to wait around .2 seconds before the change, or some buttons would still be missing.

If it's possible, try making the root a prim that's hidden inside/behind the object, then chaging texture or alpha after a short delay.
_____________________
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
01-11-2006 17:28
Well, this is nice. SL v1.8.1 broke my workaround, now the root prim is disappearing.
_____________________
Keiki Lemieux
I make HUDDLES
Join date: 8 Jul 2005
Posts: 1,490
01-12-2006 04:57
I have noticed this happening with simple color changes as well on one of my HUDs. It's usually only in very laggy areas like clubs though.
_____________________
imakehuddles.com/wordpress/
Toneless Tomba
(Insert Witty Title Here)
Join date: 13 Oct 2004
Posts: 241
01-12-2006 07:03
I've noticed this happening with llSetColor(), llSetTexture(), llOffsetTexture(), & llSetPrimativeParams() it's been driving me nutty. It seems to happen more frequently when there are multiple actions on a prim but I have seen it happen less frequently with just a single llSetTexture() call. This is not hud related it happens in inworld rezzed objects too. This has been a known bug but it seems to gotten some legs and have gotten worse with the past upgrades.
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
01-22-2006 12:46
Bump - Still having this problem with a hud I'm working on, looks like it might be tied to llSetTexture, randomly/almost sporadically instead of setting the appropriate texture, about 80% of the hud pieces become invisible >_<
Adept Pascal
Elite, get over it.
Join date: 25 Jun 2005
Posts: 26
01-22-2006 13:38
From: Logan Bauer
Bump - Still having this problem with a hud I'm working on, looks like it might be tied to llSetTexture, randomly/almost sporadically instead of setting the appropriate texture, about 80% of the hud pieces become invisible >_<

I concur. Bump.
Hox Hauptmann
I Support Supportiveness!
Join date: 28 Oct 2005
Posts: 104
01-22-2006 14:47
Has someone posted this under technical issues yet? Or reported the bug?
_____________________
Have you ever danced with the devil in the pale moonlight?
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
01-22-2006 23:53
i've reported a related bug with fullbright & huds, as this is related.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey