sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Req] Viewporter

    Scheduled Pinned Locked Moved Plugins
    25 Posts 4 Posters 2.9k Views 4 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.
    • thomthomT Offline
      thomthom
      last edited by

      I made some progress yesterday though. Think I'm able to reliably read the V-Ray settings. Next is to see if I can write new settings as I need to adjust the Camera Zoom to sync V-Ray camera with V-Ray. Getting there.

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

      1 Reply Last reply Reply Quote 0
      • PixeroP Offline
        Pixero
        last edited by

        Thomthom, I'd be interested in a solution as well.

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          I'll post an experimental version on this forum for people to test. Note that I develop against the latest VfSU release, 1.05.03 (SR1.5).

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

          1 Reply Last reply Reply Quote 0
          • free agentF Offline
            free agent
            last edited by

            wow thomthom, while your at it see if you can cook us up a "render region" πŸ˜„ silly that they dont have it all ready

            http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

            1 Reply Last reply Reply Quote 0
            • PixeroP Offline
              Pixero
              last edited by

              Yeah, render region is something I reeeaaally would like to see for Vray for SU. I've asked for it several times and they only say it's added to the to do list. It would be a tremendous time saver for me.

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                Got some bad news and some worse news.

                Bad news:
                It's harder to read the V-Ray settings than I thought. The location of the data moves depending on other setting. That mean I'd have to read a whole lot of more settings in order to work out the data I need.

                Worse news:
                There doesn't appear to be any way to change the V-Ray data. The attributes stored in the model is only read by V-Ray when the file is opened, but not while the file is open.

                How to deal with this:
                I will contact ASGVis and see if they're willing to share some information that might help. Also propose an API or something that will make it easier to script VfSU in the next version.
                In the meanwhile I'll create a calculator where you manually type in the aspect ratio you want and it'll give you a number for which you have to enter in the Zoom property for the Physical Camera in order to match the SU viewport with VfSU. It basically means a semi-automatic solution. 😞

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

                1 Reply Last reply Reply Quote 0
                • free agentF Offline
                  free agent
                  last edited by

                  no gray bars?

                  thanx for looking into it and good luck with contacting ASGvis, they should let you in your practically a moderator on that forum. πŸ˜‰

                  http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    Oh yea, you'll get the grey bars. That's no problem. Problem is automatically syncing V-Ray Camera with SU.
                    I'll have something shortly. Got some time between this Christmas madness.

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

                    1 Reply Last reply Reply Quote 0
                    • free agentF Offline
                      free agent
                      last edited by

                      thank you β˜€

                      Question: those grey bars, they indicate sketchups output? if so wouldnt just clicking "get view aspect" in vray's out put tab get the aspect of the gray bars?

                      http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        Nope. When you choose Export 2D from SketchUp it will save everything you see in the viewport including the grey bars. (I don't understand why. At least there could have been an option for this, but no.) But fear not. I'll make a function for that as well. The output I got from that matched perfectly when I plonked it into Photoshop.

                        And VfSU doesn't seem to be aware of this as well. Not sure if ASGVis developers have noticed this feature in the API. If they did I would have thought that the render output would match automatically when you changed the SU aspect.

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

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          First edition of a sync tool: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=15491

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

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

                          Advertisement