Hi!
Dont know where to post this or if this is interesting for anyone else (I suppose it might), but i post it here anyway
I've spent the last few days writing a script / plugin which makes tweaking vray light attributes a bit easier.
** This Script is currently highly unstabel and its behaviour is unpredictable. It should be considered "proof-of-concept" and early alpha version. I have only tested it on Sketchup v. 8.0.3117 and the latest VfS (I think)**

The plugin makes it possible to send commands to lights in the scene through command line. The Gui in itself is very simple. One list listing all the lights in the scene.

It shows some basic information about each light and each light accepts a range of commands throug the input field.
Intensity
Color
Light
** All commands are without the quotes **
Thats pretty much it. If you add or delete a light in the model, it will be removed/added from/to the list when the VRayLumen window gains focus / are clicked. My intention is to make it possible to group lights so that changes to a master light will make the same change to all lights that are bound to it , but im unsure when and if this will be ready/testable.
DOWNLOAD
http://www.mediafire.com/?821ee6dxldfgidv
Again. This script is unstable. Expect something to go wrong. If nothing happends, close and open the VRayLumen window. If you find out why nothing happends, you're very welcome to PM me or post here.
All comments, crits and suggestions are very much welcome!
Regards
Pierre
Dont know where to post this or if this is interesting for anyone else (I suppose it might), but i post it here anyway

I've spent the last few days writing a script / plugin which makes tweaking vray light attributes a bit easier.
** This Script is currently highly unstabel and its behaviour is unpredictable. It should be considered "proof-of-concept" and early alpha version. I have only tested it on Sketchup v. 8.0.3117 and the latest VfS (I think)**
VRayLumen

The plugin makes it possible to send commands to lights in the scene through command line. The Gui in itself is very simple. One list listing all the lights in the scene.

It shows some basic information about each light and each light accepts a range of commands throug the input field.
Intensity
- "50 w", "12 s", "1500 l": Sets the intensity to 50 watt, 12 scalar or 1500 lumen respectively
- "100w 3e": Sets intensity to 3 Watt. 100 watt (bulb) at 3% efficiency
- "x2", "x0.3", "x11.25": Increase the intensity by a factor
Color
- "254, 233, 211" : Sets light color to 254,233,211
- "3500 k": Set light color to match 3500 Kelvin. Between 1000 and 10000 kelvin is possible
Light
- "32#", "900=": Change subdivs to 32 subdivs for rectangular light or 900 photon subdivs for Omni or spot
- "e": Enable or disable the light
- "i": Toggles rectangular light visibility
- "edit": Opens ASGVIS native edit window
- "-Leftside Uplight": Renames the light to "Leftside Uplight"
- "z": Zoom to the light in model
- "s": Select the light the light in model
- "h": Hides the light in model
** All commands are without the quotes **
Thats pretty much it. If you add or delete a light in the model, it will be removed/added from/to the list when the VRayLumen window gains focus / are clicked. My intention is to make it possible to group lights so that changes to a master light will make the same change to all lights that are bound to it , but im unsure when and if this will be ready/testable.
DOWNLOAD
http://www.mediafire.com/?821ee6dxldfgidv
Again. This script is unstable. Expect something to go wrong. If nothing happends, close and open the VRayLumen window. If you find out why nothing happends, you're very welcome to PM me or post here.
All comments, crits and suggestions are very much welcome!
Regards
Pierre
Comment