Tuesday, February 17, 2015

Light Detictive

Light Detictive is a Tool designed to mange complex lighting setups.

--not only control include and exclude by selection or sets fast , but olso investigate the lights on the scene see exclude and include lists ,
--olso investigate objects which light affect them of not.
-- fast Group Lighting specific objects .
--support MentalRay and Vray.

How to use it:
-for fast ex/include: select a light on the script then select meshes on the viewport or from selection sets in the script hit include/exculde selected .
-to check objects led by a light just choose the light from the list
-to check an object and which lights affect it 2 ways just select it and then press "select in/exclude lights"
-the other way from the object list just press all geometry button and choose the object select either include or exclude it will show you the lights related to that object
-if you check "included general" it will show you all lights affecting the geometry.
everything else is almost self explanatory.

-light groups is a way to copy all lights and make a copy include selected objects.-it needs cleaning for optimal results/rendertime plz test it before you decide to use it on production.

v1.0 was MR only
v1.1 fix issues with vray lights , now supports Vray lights without issues.

v1.2 update:
tested for vray lights ,I don't know about other engine but should work in any renderer.
better ways to invisticate lights on your scene.

-change light type include to exclude or the oposite not just showing the type
-when typing mesh name now update the list of lights -just click outside if it has problems- or select the object you need to know which lights ex/including it then hit "select in/exclude lights" it will be selected.
-added toolips for ease of use

-known issues: photometric lights makes error when selecting it on the menu.

Download V1.2 from Scriptspot 
older version
download v1

Join FaceBook Page to reach update and new scripts


  1. Corona lights are not supported : (

    1. sorry about that , never used Corona so idk , if u found a way around it let me know.

  2. Hi
    I'm getting error when press any object in the list
    please see screenshot http://c2n.me/3tEdVqX

    any chance to fix it ? script stops working after this error
    -- Unknown property: "enabled" in VrayLight

    Max2014, Vray 3.3


    1. I have an older version of vray but I think its a small issue, will post the fixed version asap.

  3. This comment has been removed by the author.

  4. Hi
    Sometimes I get new error, please see screenshot - http://c2n.me/3uR546q

    Could you please make some guide how add new object to a group of lights?

    Let's say I have 5 lights affecting an object (include/exclude).
    I make new object and want assign same lights for this new.
    What is the quick way to do this?