• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

VRayLumen - Light Controlpanel for VfS

Scheduled Pinned Locked Moved Plugins
7 Posts 7 Posters 3.4k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    Pierreden
    last edited by 18 Nov 2010, 12:28

    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

    http://imgur.com/XTdEn.png

    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.

    http://imgur.com/A5Z07.png

    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 multiplier

    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 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

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 18 Nov 2010, 12:34

      ๐Ÿ‘
      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?

      Thomas Thomassen โ€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • M Offline
        monkeybss
        last edited by 16 May 2011, 05:42

        Very useful, but it seems that it can't handle IES lights, or it's just me?

        1 Reply Last reply Reply Quote 0
        • D Offline
          dkendig
          last edited by 17 May 2011, 19:36

          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!

          Devin Kendig
          Developer

          1 Reply Last reply Reply Quote 0
          • A Offline
            AcesHigh
            last edited by 8 Jun 2011, 18:34

            very interesting. Does it works if the light is INSIDE a component?

            1 Reply Last reply Reply Quote 0
            • N Offline
              nomeradona
              last edited by 9 Jun 2011, 15:37

              wow this is cool. this is another excellent one..

              visit my blog: http://www.nomeradona.blogspot.com

              1 Reply Last reply Reply Quote 0
              • S Offline
                stuartmitch
                last edited by 14 Dec 2011, 03:59

                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!!!!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Buy SketchPlus
                Buy SUbD
                Buy WrapR
                Buy eBook
                Buy Modelur
                Buy Vertex Tools
                Buy SketchCuisine
                Buy FormFonts

                Advertisement