Announcement

Collapse
No announcement yet.

New Free Tool: VRay VFB Viewport Loader

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

  • #16
    Confirmed. I'll look into what changed and will try and get a fix in my script.

    - Neil

    Comment


    • #17
      What changed is that all vfbControl() commands used to always show the VFB. Now you need to use the show command explicitly.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #18
        So what is the show command?

        vfbControl #hide

        will hide it, but I can't find a command to show it.

        - Neil

        Comment


        • #19
          To add this just put this below the line.... vfbControl etc... and before the last closing bracket of the script

          renderers.current.showLastVFB()
          Maxscript made easy....
          davewortley.wordpress.com
          Follow me here:
          facebook.com/MaxMadeEasy

          If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

          Comment


          • #20
            viewportToVFBLoader.zip

            Thanks Dave, that's what I needed. Here's the updated script.

            - Neil

            Comment


            • #21
              Thanks Neil,

              I must be doing something wrong but dragging your 1.01 script to the viewport and created a toolbar button for the script - doesn't work ? (click it, doesn't do anything).

              I have your SoulburnScripts pack and 1.00 is in there, that works fine - just the 1.01 doesn't ?

              Anyone else experiencing the same ?

              (3DS Max Design 2014)
              Jez

              ------------------------------------
              3DS Max 2023.3.4 | V-Ray 6.10.08 | Phoenix FD 4.40.00 | PD Player 64 1.0.7.32 | Forest Pack Pro 8.2.2 | RailClone 6.1.3
              Windows 11 Pro 22H2 | NVidia Drivers 535.98 (Game Drivers)

              Asus X299 Sage (Bios 4001), i9-7980xe, 128Gb, 1TB m.2 OS, 2 x NVidia RTX 3090 FE
              ---- Updated 06/09/23 -------

              Comment


              • #22
                Weird. Can you give more details on what you mean by "dragging your 1.01 script to the viewport".

                You should just be able to replace the script in your 3dsmax dir with the new one, restart max, and the button should now load the new script and work properly.

                - Neil

                Comment


                • #23
                  Hi Neil,

                  My bad - I usually drag and drop scripts into a viewport window, but followed your guidance on this and it works fine now
                  Jez

                  ------------------------------------
                  3DS Max 2023.3.4 | V-Ray 6.10.08 | Phoenix FD 4.40.00 | PD Player 64 1.0.7.32 | Forest Pack Pro 8.2.2 | RailClone 6.1.3
                  Windows 11 Pro 22H2 | NVidia Drivers 535.98 (Game Drivers)

                  Asus X299 Sage (Bios 4001), i9-7980xe, 128Gb, 1TB m.2 OS, 2 x NVidia RTX 3090 FE
                  ---- Updated 06/09/23 -------

                  Comment


                  • #24
                    Ah ok, my scripts can only be run as macroscripts, which is probably why it didn't work. Glad its working now.

                    - Neil

                    Comment


                    • #25
                      Hi Neil,

                      I though it would be about time for me to update to your new version of the script.
                      I have some issues making it work though.

                      I had a *.mcr previously, which allowed me to create a button in max.
                      The new version is a *.ms without any macroScript category.
                      I don't find have a *.ms from the first version so I can't just overwrite it with the new one in my max/script folder.

                      I could also just update your script to make it a macroscript but I though I would let you know in case this happens to any one else.
                      Any ideas?

                      Cheers
                      Stan
                      3LP Team

                      Comment


                      • #26
                        Generally a .ms file can be run from maxscript > run script. If you want to make a button / mcr file, you can also open the .ms file from maxscript > open script so it'll open in the editor. If you don't see the word macroscript at the start (which'd be rare for one of neil's scripts) you can hit ctrl + a to select all the code, then drag and drop it on to a tool bar. Max will convert this into a button and an mcr file in your max installation.

                        Comment


                        • #27
                          Hey Stan.

                          So the way my scripts work is you have to install the entire pack from my website, since the scripts are all interconnected. That will also install an mcr that will run that ms file properly. Give it a shot and let me know if you run into other issues.

                          - Neil

                          Comment


                          • #28
                            Hey guys,
                            any news on getting this script working with RT?



                            Stan
                            3LP Team

                            Comment


                            • #29
                              Originally posted by Dave_Wortley View Post
                              Load your current active viewport into the Vray VFB so if you want to do quick region tests you don't have to guess or do a quick render to see where you need to draw your region.
                              You hacky, lovable chap!
                              Make me wish i did more scripting as well, eheh. XD
                              Lele
                              Trouble Stirrer in RnD @ Chaos
                              ----------------------
                              emanuele.lecchi@chaos.com

                              Disclaimer:
                              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                              Comment


                              • #30
                                Originally posted by 3LP View Post
                                Hey guys,
                                any news on getting this script working with RT?



                                Stan
                                Take the latest version of the script, I fixed that bug, it appears to work with VrayRT now too, Vlado must have fixed something.
                                Maxscript made easy....
                                davewortley.wordpress.com
                                Follow me here:
                                facebook.com/MaxMadeEasy

                                If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

                                Comment

                                Working...
                                X