Announcement

Collapse
No announcement yet.

[Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

    Mirror forum thread: http://www.sketchucation.com/forums/...?f=180&t=15491

    Load V-Ray on Demand
    Since version: 1.1.1
    If you use V-Ray floating licenses on a network you face the problem that the first person that starts SketchUp will grab the V-Ray licence even though they might not be currently using it. In order to work around this I made this tool which prevents V-Ray from starting with SU and allowing the user to load it on demand.
    It's also useful if you don't like the extra 3-5 seconds V-Ray adds to SketchUp's startup time.
    To enable Load V-Ray on Demand, go to the Tools menu, choose: V-Ray Toys->Load V-Ray on Demand. When you restart SketchUp, V-Ray will not be loaded automatically. To start V-Ray go to the Tools menu V-Ray Toys->Start V-Ray.

    What the script is doing is renaming the VRayForSketchup.rb file to VRayForSketchup.rb.disabled, thus preventing it from loading automatically.


    Camera Sync
    Since version: 1.0.0

    Here's a utility that helps you sync the SketchUp viewport with the output of V-Ray for SketchUp.

    I tried to make the tool fully automatic. But reading the V-Ray data was harder than I thought. Not impossible though, but I also found out that V-Ray only reads the model attribute dictionary as the file loads and never reads it afterwards. Just writes to it. So you have to enter the values your self.

    This has only been tested against SU7 and VfSU 1.05.03 (SR 1.5), but I believe it should work fine with SU6 and VfSU 1.00.70 (SR1.0)

    You have to use the Physical Camera in order to sync the outputs!

    Note: When you change the size of the SketchUp viewport or the aspect ratio is change by another plugin you need to close end reopen the Camera tools in order to make it update to correct values.



    When you export the SketchUp view via SketchUp's own export tool it will include the grey bars. To export without the grey bar, use the Export utility that comes with this plugin.


    Known Issues:
    • No file dialog window to select the output for the exporter. I've yet to find a way to do this in Ruby.
    • SketchUp viewport and V-Ray output will not be synced if something changes the size of the SketchUp viewport. (Change in resolution, SketchUp window size, extra toolbars etc...) Close and reopen the tool windows for the plugin to update with correct values.




    SketchUp Output


    V-Ray Output


    Photoshop blended output. Perfect Match!


    Changelog:

    • 1.0.1 - 07.01.2009
      Added File Dialogbox for exporting the camera view instead of having to type in the path manually.

    • 1.1.0 - 21.01.2009
      Added Load V-Ray on Demand functionality.

    1.1.1 - 22.01.2009
    Restored the Export Viewport.
    [/list]


    Please mention what V-Ray and SketchUp version you are using when posting questions.

  • #2
    Re: [Plugin] V-Ray Toys (1.0.0)

    hey presto!!! safe frame ;D
    now all we need is a render region and people wont have an excuse for using other render apps (well... almost : )

    Comment


    • #3
      Re: [Plugin] V-Ray Toys (1.0.0)

      Neat plugin Thom! It's nice to be able to skip the resizing in PS.
      SU 2018 + VfSU 4.0

      Comment


      • #4
        Re: [Plugin] V-Ray Toys (1.0.0)

        Nice little app, and I'm looking forward to seeing what the other tools are that you com up with...in the future we should be able to offer some sort of communication with V-Ray.
        Damien Alomar<br />Generally Cool Dude

        Comment


        • #5
          Re: [Plugin] V-Ray Toys (1.0.0)

          Originally posted by dalomar
          Nice little app, and I'm looking forward to seeing what the other tools are that you com up with...in the future we should be able to offer some sort of communication with V-Ray.
          That's very good to hear. I got some ideas and question regarding third party scripting I'll contact you about later.

          Currently I'm working on some tools to manage and manipulate lights as V-Ray read the changes I do to the attribute dictionaries of lights. And the light data was much easier to read.
          Please mention what V-Ray and SketchUp version you are using when posting questions.

          Comment


          • #6
            Re: [Plugin] V-Ray Toys (1.0.1)

            Updated to use a File Dialog instead of textbox when exporting the camera view.
            Please mention what V-Ray and SketchUp version you are using when posting questions.

            Comment


            • #7
              Re: [Plugin] V-Ray Toys (1.0.1)

              we make a good team thom

              Comment


              • #8
                Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                Any chance of having this is a sticky? Hard to discover on this forum.
                Please mention what V-Ray and SketchUp version you are using when posting questions.

                Comment


                • #9
                  Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                  Done
                  Damien Alomar<br />Generally Cool Dude

                  Comment


                  • #10
                    Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                    hey thom2 thanks for this cool tool. your great.. charge asgvis hihihihi...
                    http://www.nomeradona.blogspot.com/
                    http://www.sketchupvrayresources.blogspot.com/
                    http://www.nomeradonaart.blogspot.com/

                    Comment


                    • #11
                      Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                      Brilliant work Thom!
                      SU 2018 + VfSU 4.0

                      Comment


                      • #12
                        Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                        how about if i want to disable vray on the demand.but retaining everything. is there in anyway to have like a switch on and off with the tool aside from uninstalling it.
                        http://www.nomeradona.blogspot.com/
                        http://www.sketchupvrayresources.blogspot.com/
                        http://www.nomeradonaart.blogspot.com/

                        Comment


                        • #13
                          Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                          Plugins (scripts really) cannot be unloaded on demand, so releasing V-Ray would require shutting down SU. I think you can load a script during the middle of a session.
                          Damien Alomar<br />Generally Cool Dude

                          Comment


                          • #14
                            Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                            Originally posted by dalomar
                            Plugins (scripts really) cannot be unloaded on demand, so releasing V-Ray would require shutting down SU. I think you can load a script during the middle of a session.
                            Yup. Scripts can be loaded at any time. But they can't be unloaded. Though, it is possible to register a plugin as an extension so that you can enable and disable it from Window->Preferences->Extensions. You still have to restart SU for the effects to take place. But at least you dont have to go to the plugin folder and remove the file.
                            Please mention what V-Ray and SketchUp version you are using when posting questions.

                            Comment


                            • #15
                              Re: [Plugin] V-Ray Toys (1.1.0) - New: Load V-Ray on Demand

                              Thanks Thomas, I'll keep that in mind.
                              Damien Alomar<br />Generally Cool Dude

                              Comment

                              Working...
                              X