VRayLumen - Light Controlpanel for VfS
-
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)**
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 multiplierColor
-"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 possibleLight
-"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 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/?821ee6dxldfgidvAgain. 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 -
Good stuff. I've wanted a light manager in VfSU. Been on my list, but never priorities to make one.
I can work with you if there are things you'd like help on.How are you processing and manipulating the XML data?
-
Very useful, but it seems that it can't handle IES lights, or it's just me?
-
I applaud the attempt to edit our lights, and I hope you and thomthom are able to work something out. I was planning on writing something similar to this, except so it works with multiple host apps rather than just SU. It's totally possible. Currently we don't store light information anywhere other than on the group for the light, so it should be able to be manipulated entirely from within SU if you are tricky enough at editing the xml snippets. Good luck guys!
-
very interesting. Does it works if the light is INSIDE a component?
-
wow this is cool. this is another excellent one..
-
Fantastic plug-in. Great work!! I am always amazed at the great work done by you guys in here and your willingness to share with those of us who have trouble tying our own shoes let alone write code.
One query / suggestion. Is it possible to have a scalable GUI panel so that size can be increased or decreased as necessary?
Thanks again!!!!
Advertisement