Davan Camus
Registered User
Join date: 13 Sep 2005
Posts: 67
|
04-13-2006 21:28
I love the look of the new lighting. Glorious!
It does seem to click on and click off a bit, hopefully that's a known issue?
But my real question is -- How do I rescript my advanced automatic lamps to work? It seems that my script can't set Material to Light like it did before.
Righto!
_____________________
Visit Cubes at Alice 100,18. -------------------------------------------------- Davan Camus, born: 2005 September 8 Out-world location: Santa Cruz, CA UI Proposal: http://davancamus.hexaflexagon.com/blog/?p=39
|
Michal Milosz
Amateur Piercer
Join date: 22 Oct 2005
Posts: 73
|
04-17-2006 13:34
I don't know if Lindens didn't figure this out already, but a command like "llSetLight" would be great. Like: llSetLight(vector color, float intensity, float radius, float falloff); Simple and straightforward.
_____________________
Michal Milosz The New Guy. *whip crack*
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
04-17-2006 13:35
It's been mentioned in other threads - basically there's no command at the moment but given the number of people saying "wtf" there very likely will be.
I'm guessing as part of llSetPrimitiveParms but I'm really just making that bit up.
|
Yedwab Linden
Linden Lab Employee
Join date: 7 Feb 2005
Posts: 25
|
04-17-2006 20:09
It is our goal to have those parameters accessible through llSetPrimitiveParams, yes. Hopefully this will be complete and tested in time for 1.9.1 release.
|
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
|
04-17-2006 20:30
Kick ass!
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
04-20-2006 19:58
From: Yedwab Linden It is our goal to have those parameters accessible through llSetPrimitiveParams, yes. Hopefully this will be complete and tested in time for 1.9.1 release. I just tried it out in 1.9.1.13, seems light works awesome, I'll have to try to script some flex tomorrow. 8D From: Latest release notes * Added support for flexible object and light parameters to llSetPrimitiveParams() ** To set the light parameters of a primitive, use llSetPrimitiveParams with the keyword PRIM_POINT_LIGHT *** USAGE: *** llSetPrimitiveParams([PRIM_POINT_LIGHT, BOOL Enabled, Vector Color, Float Intensity, Float Raduis, Float Falloff]); ** To set the flexible parameters of a primitive, use llSetPrimitiveParams with the keyword PRIM_FLEXIBLE *** USAGE: *** llSetPrimitiveParams([PRIM_FLEXIBLE, BOOL Enabled, Integer Softness, Float Gravity, Float Friction, Float Wind, Float Tension, Vector Force]);
|