Difference between revisions of "Talk:Lighting and shadows"

From Second Life Wiki
Jump to navigation Jump to search
m (→‎LSL support for projectors!: format suggestion)
(suggestions moved to https://jira.secondlife.com/browse/SCR-163|SCR-163)
Line 3: Line 3:
We need scripting support for the neat projector light sources!  Neeeeeeeeeed!    :) [[User:Dale Innis|Dale Innis]] 07:00, 15 June 2011 (PDT)
We need scripting support for the neat projector light sources!  Neeeeeeeeeed!    :) [[User:Dale Innis|Dale Innis]] 07:00, 15 June 2011 (PDT)


: Agree :-) As suggested by Kelly Linden on the mailing list, let's file a feature request in JIRA - here's some ideas. --[[User:Opensource Obscure|oobscure]] 09:36, 15 June 2011 (PDT)
(EDIT) Strife onizuka had alredy created [https://jira.secondlife.com/browse/SCR-163|SCR-163] so I'm now moving all suggestions from here to JIRA. Feel free to revert. --[[User:Opensource Obscure|oobscure]] 01:49, 22 August 2011 (PDT)
 
* set projected texture
* set FOV, Focus, Ambiance
* add support in
** [[LlSetPrimitiveParams]]
** [[LlSetLinkPrimitiveParamsFast]]
** [[LlSetLinkPrimitiveParams]]
** [[LlGetPrimitiveParams]]
** [[LlGetLinkPrimitiveParams]]
* add ...
 
references:
* [[:Category:LSL_Light]]
* ...
 
=== format suggestion: ===
* GET: [PRIM_PROJECTOR] //-- value of 25?
** Default values of NULL_KEY and 0.0 for all floats
* SET: [PRIM_PROJECTOR, uuid_texture, float_FOV, float_focus, float_ambiance]
** parameters seem to remain if PRIM_POINT_LIGHT is FALSE, so they should remain readable and settable separately from PRIM_POINT_LIGHT.
 
: benefits are that the settings can be manipulated independently of prim point light, and won't interfere with existing scripts, drawback is it will be one more index for prim params calls to sort through, though that should have minimal impact.<br/>-- '''[[User:Void_Singer|Void]]''' <sup><small>([[User_talk:Void_Singer|talk]]|[[Special:Contributions/Void_Singer|contribs]])</small></sup> 23:37, 26 June 2011 (PDT)

Revision as of 01:49, 22 August 2011

LSL support for projectors!

We need scripting support for the neat projector light sources! Neeeeeeeeeed!  :) Dale Innis 07:00, 15 June 2011 (PDT)

(EDIT) Strife onizuka had alredy created [1] so I'm now moving all suggestions from here to JIRA. Feel free to revert. --oobscure 01:49, 22 August 2011 (PDT)