sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

    V-Ray scripting in ruby?

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    14 Posts 6 Posters 6.6k Views 6 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.
    • TedVitale_CGT
      TedVitale_CG
      last edited by

      Send me a PM and Ill email over a short example from one of the Developers.

      Ted Vitale
      Owner | Creative Director
      http://www.voxl.vision

      1 Reply Last reply
      Reply Quote 0
      • M
        mcekk
        last edited by

        Thanks Ted.

        Manuel Eguia
        Associate Professor
        University of Quilmes

        1 Reply Last reply
        Reply Quote 0
        • dkendigD
          dkendig
          last edited by

          no, that file gets overridden when you kick off a render. There are some helper functions we use to manipulate the xml that we store in the attribute dictionaries of the scene, but none of it is very obvious or easy to use for your own purposes. We are also going to be modifying the way a lot of our stuff works over the next couple versions, so if you were to tap in to our xml and play with it, it might not have a very long lifespan.

          Devin Kendig
          Developer

          1 Reply Last reply
          Reply Quote 0
          • M
            mcekk
            last edited by

            Thanks for the answer, Devin. Is there another V-Ray implementation where I can animate the illumination? Or I have to wait that this feature comes to SU? I also work with Blender. Thanks in advance.

            Manuel Eguia
            Associate Professor
            University of Quilmes

            1 Reply Last reply
            Reply Quote 0
            • dkendigD
              dkendig
              last edited by

              we currently don't support animated parameters in any portion of V-Ray for SketchUp

              Devin Kendig
              Developer

              1 Reply Last reply
              Reply Quote 0
              • M
                mcekk
                last edited by

                I was able to do some short progress modifying the skp files from each light separately and reloading through the ruby script. The only thing that it is still missing is the possibility to render the scene from the script. It is possible to do this from the SU API or from the system? Thanks in advance.

                Manuel Eguia
                Associate Professor
                University of Quilmes

                1 Reply Last reply
                Reply Quote 0
                • jiminy-billy-bobJ
                  jiminy-billy-bob
                  last edited by

                  Yes, you can call
                  VRayForSketchUp.launch_vray_render
                  VRayForSketchUp.launch_vray_rt_render
                  VRayForSketchUp.launch_vray_batch_render

                  25% off Skatter for SketchUcation Premium Members

                  1 Reply Last reply
                  Reply Quote 0
                  • M
                    mcekk
                    last edited by

                    Many Thanks Jiminy. !

                    Manuel Eguia
                    Associate Professor
                    University of Quilmes

                    1 Reply Last reply
                    Reply Quote 0
                    • T
                      tuanminhtq
                      last edited by

                      How to call this to run Vray in ruby, please help, thanks alot
                      VRayForSketchUp.launch_vray_render
                      VRayForSketchUp.launch_vray_rt_render
                      VRayForSketchUp.launch_vray_batch_render

                      V 1 Reply Last reply
                      Reply Quote 0
                      • V
                        Vizan @tuanminhtq
                        last edited by

                        @tuanminhtq said in V-Ray scripting in ruby?:

                        How to call this to run Vray in ruby, please help, thanks alot
                        VRayForSketchUp.launch_vray_render
                        VRayForSketchUp.launch_vray_rt_render
                        VRayForSketchUp.launch_vray_batch_render

                        Have you found a solution?

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement