Difference between revisions of "Talk:Lighting and shadows"

From Second Life Wiki
Jump to navigation Jump to search
m (+)
m (→‎LSL support for projectors!: format suggestion)
Line 18: Line 18:
* [[:Category:LSL_Light]]
* [[: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 23:37, 26 June 2011

LSL support for projectors!

We need scripting support for the neat projector light sources! Neeeeeeeeeed!  :) 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. --oobscure 09:36, 15 June 2011 (PDT)

references:

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.
-- Void (talk|contribs) 23:37, 26 June 2011 (PDT)