|
Suzhanna Rossini
Shopaholic
Join date: 2 Apr 2007
Posts: 109
|
12-28-2007 10:41
I just noticed that using llSetAlpha to make a prim fade away also changed a lot of other settings, like shiny and full bright.
The prim is set to medium shine and full bright by the script, and that works just fine. But when using llSetAlpha to make the prim fade, it resets both shine and bright to none.
Of course, I could use llSetPrimitiveParams, but according to the lslwiki, it delays the script by 0.2 seconds, which is too long for my idea.
Anyone with ideas/solutions on this please?
_____________________
When I'm hot, I'm cooking - When I'm not, I'm a bitch..
|
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
12-28-2007 12:44
This shouldn't be how it works. I use llSetAlpha on my items, and the shiny settings don't change. Are you sure that's what is happening? What viewer are you using?
|
|
Suzhanna Rossini
Shopaholic
Join date: 2 Apr 2007
Posts: 109
|
12-28-2007 23:49
You're right.. Actually the settings themselves aren't changed, I saw that when I looked at it again.
BUT... The shine "disappears" when the prim's transparency moves away from 0. I've tested this in the 4 viewers I have installed, the standard release, the release candidate, the beta and the windlight client. I've also double checked with a friend that has another graphics card, and she say it behaves the same.
Test to do, create a prim, set blank texture, shine to medium. Then you have a nice and shiny object.. Then set the transparency to 2, and the shine vanishes from the prim, I just tested this manually, without scripting, and it happens then too, so I guess it's not a scripting issue after all.
_____________________
When I'm hot, I'm cooking - When I'm not, I'm a bitch..
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-29-2007 00:10
Shiny and alpha cannot exist on the same face at the same time (the only exception is invisiprims which are not in fact alpha); if both attributes are set shiny is not rendered. The client has never been able to render shiny and alpha at the same time.
_____________________
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
|
|
Suzhanna Rossini
Shopaholic
Join date: 2 Apr 2007
Posts: 109
|
12-29-2007 00:18
From: Strife Onizuka Shiny and alpha cannot exist on the same face at the same time Which leads me to post a jira ticket on it, if there isn't one already.. Edit: There is, I just voted on http://jira.secondlife.com/browse/VWR-3648
_____________________
When I'm hot, I'm cooking - When I'm not, I'm a bitch..
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-29-2007 04:08
I've noticed that frequent calls to set alpha can sometime trigger the prim to show as fullbright, at least ntil the next time set alpha is triggered... seemed to happen about once every 50 calls or so... I never did figue out why (I was using set alpha to trigger other prim updates to show, and later did away with it)...
_____________________
| | . "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... | - 
|