Discussion:
LSL commands/parameters for light projectors
Tillie Ariantho
2013-01-30 12:22:42 UTC
Permalink
Hello,


my feature request BUG-1497 (see below) got closed (not applicable). Why that? Do we have so submit working patches for features requests?

I think my request is pretty valid.



*LSL commands for light projectors*

Implementation of additional LSL command parameters:

I would add parameters for llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast:

Flag: PRIM_CAST_LIGHT
Description: Let the prim with activated point light cast shadows.
Usage: [ PRIM_CAST_LIGHT, key projection_texture, integer fov, integer focus, integer ambiance ]

Texture, FOV, Focus and Ambiance are already properties of a prim, only they cannot get accessed via scripts yet.



Why can't we set those parameters via scripts?


Tillie
Oz Linden (Scott Lawrence)
2013-02-01 16:59:34 UTC
Permalink
Post by Tillie Ariantho
Hello,
my feature request BUG-1497 (see below) got closed (not applicable). Why that? Do we have so submit working patches for features requests?
I think my request is pretty valid.
*LSL commands for light projectors*
Flag: PRIM_CAST_LIGHT
Description: Let the prim with activated point light cast shadows.
Usage: [ PRIM_CAST_LIGHT, key projection_texture, integer fov, integer focus, integer ambiance ]
Texture, FOV, Focus and Ambiance are already properties of a prim, only they cannot get accessed via scripts yet.
Why can't we set those parameters via scripts?
(caveat... I didn't even see that issue, or have anything to do with
closing it, so this is personal speculation...)

Whether or not light sources cast shadows is an independent user choice
in the viewer, and we already have an option that allows projectors to
cast shadows.
Darien Caldwell
2013-02-01 19:05:38 UTC
Permalink
Sure but I don't think that's what the JIRA was about. It's not about
forcing people to view shadows from light sources. It's about creators
being able to programmically modify the newer light parameters. (see
attached picture). Prim lights can be turned on and off, color changed,
intensity changed, radius changed, falloff changed, all from a script. So
why can't FOV, Focus, Ambiance, and the projected texture be changed too?
It really limits the usefulness for products.
Post by Tillie Ariantho
Post by Tillie Ariantho
Hello,
my feature request BUG-1497 (see below) got closed (not applicable). Why
that? Do we have so submit working patches for features requests?
Post by Tillie Ariantho
I think my request is pretty valid.
*LSL commands for light projectors*
I would add parameters for llSetLinkPrimitiveParams and
Flag: PRIM_CAST_LIGHT
Description: Let the prim with activated point light cast shadows.
Usage: [ PRIM_CAST_LIGHT, key projection_texture, integer fov, integer
focus, integer ambiance ]
Post by Tillie Ariantho
Texture, FOV, Focus and Ambiance are already properties of a prim, only
they cannot get accessed via scripts yet.
Post by Tillie Ariantho
Why can't we set those parameters via scripts?
(caveat... I didn't even see that issue, or have anything to do with
closing it, so this is personal speculation...)
Whether or not light sources cast shadows is an independent user choice
in the viewer, and we already have an option that allows projectors to
cast shadows.
_______________________________________________
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting
privileges
Tillie Ariantho
2013-02-01 19:24:09 UTC
Permalink
Sure but I don't think that's what the JIRA was about. It's not about forcing people to view shadows from light sources. It's about creators being able to programmically modify the newer light
parameters. (see attached picture). Prim lights can be turned on and off, color changed, intensity changed, radius changed, falloff changed, all from a script. So why can't FOV, Focus, Ambiance, and
the projected texture be changed too? It really limits the usefulness for products.
Yep, that was the idea. It's no new feature lightwise, it's just scriptifying what's already there.

Tillie
Qie Niangao
2013-02-01 20:21:53 UTC
Permalink
Not sure if you can see the jira history for BUG-1497, but it's been
linked (correctly) as a duplicate of a very old request, SCR-163.

Perhaps the feature is in limbo until it's decided to "protect" the
fragile rendering pipeline by neutering scripts in yet another way.
---------- Forwarded message ----------
Date: Fri, 01 Feb 2013 20:24:09 +0100
Subject: Re: [opensource-dev] LSL commands/parameters for light projectors
Sure but I don't think that's what the JIRA was about. It's not about forcing people to view shadows from light sources. It's about creators being able to programmically modify the newer light
parameters. (see attached picture). Prim lights can be turned on and off, color changed, intensity changed, radius changed, falloff changed, all from a script. So why can't FOV, Focus, Ambiance, and
the projected texture be changed too? It really limits the usefulness for products.
Yep, that was the idea. It's no new feature lightwise, it's just scriptifying what's already there.
Tillie
Loading...