Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
04-02-2005 06:28
It appears, after some testing that the llGetAlpha(ALL_SIDES) no longer returns the mean value, rather the sum of the alphas on the faces.
I've bug reported it, wikied it, and now I've said it here too.
How do you check your Alphas, I've always used greater or less than and got away with it so far.
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
04-02-2005 08:55
Is the same behavior result when you call llGetColor with ALL_SIDES as the side argument?
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
04-02-2005 10:15
Note that you can simulate the old behavior with this:
<code> llGetAlpha(ALL_SIDES) / ((float)llGetNumberOfSides()); </code>
Not ideal (since it breaks existing code), but at least there's a workaround.
|
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
|
04-02-2005 10:26
lol so if I use llGetAlpha on an opaque cube I get 6.0?
|