Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problem with lighting and llGetPrimitiveParams()

Andy Enfield
Hippo Technologies CEO
Join date: 22 Nov 2005
Posts: 79
06-01-2006 05:16
Am I missing something, or does llGetPrimitiveParams([PRIM_POINT_LIGHT etc. etc.]); return incorrect data for colour, intensity, radius and falloff if the prim's light status is set to FALSE? (e.g. it always reports the colour as <1, 1, 1> even if it is <1, 0, 0> etc.)
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
06-01-2006 06:21
http://secondlife.com/badgeo/wakka.php?wakka=llGetPrimitiveParams
_____________________
Andy Enfield
Hippo Technologies CEO
Join date: 22 Nov 2005
Posts: 79
06-01-2006 06:35
Hi Nexus,

Yep, seen that page, but thanks for responding. However, nowhere does it say if the first value in the list returned is FALSE that the subsquent items will be untrustworthy ...

Thanks

Andy
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
06-01-2006 06:47
I can't test this IW right now, but I would simply put a 'filter' for now saying that if the light is off, don't trust the rest. Good find, you might want to report it.
_____________________