Announcement

Collapse
No announcement yet.

How to load through TCP protocol .Vantage file

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

  • How to load through TCP protocol .Vantage file

    When 3dsmax is linked in real time,
    Is this possible? Based on c# or MAXscript
    Last edited by q976431; 27-06-2022, 08:06 AM.

  • #2
    Check VRayVantage_transferVrsceneToVantage and related code in C:\Program Files\Chaos Group\Vantage\dcc_scripts\3dsMax\Vantage-UtilityFunctions.ms

    Note that this is not a public API, but it may work for you if all you want to do is open a file.
    Nikola Goranov
    Chaos Developer

    Comment


    • #3
      Originally posted by npg View Post
      Check VRayVantage_transferVrsceneToVantage and related code in C:\Program Files\Chaos Group\Vantage\dcc_scripts\3dsMax\Vantage-UtilityFunctions.ms

      Note that this is not a public API, but it may work for you if all you want to do is open a file.
      Execute vrayvantage_ Transfervrscenetovantage loading Vantage file
      A window about load as new scene will pop up to block completion.


      Can it implement the same function as "open scene as config only"
      Last edited by q976431; 27-06-2022, 08:57 AM.

      Comment


      • #4
        This code or similar code that constructs the same HTTP request should work for opening .vrscene/.vantage files in Vantage.
        Nikola Goranov
        Chaos Developer

        Comment


        • #5
          Originally posted by npg View Post
          This code or similar code that constructs the same HTTP request should work for opening .vrscene/.vantage files in Vantage.
          I hope that it can be loaded through it, which is similar to "open scene as config only" Vantage file, Then complete the operation of automatic rendering. That is to say, it cannot be completed now.

          Maybe you can consider opening some public APIs

          Comment


          • #6
            Ah, I understand now. The HTTP command is only for opening the file as a new scene. We don't have a command for opening "as config only". We only have this as a command line parameter ( -configFile ) for vantage_console.exe .
            Nikola Goranov
            Chaos Developer

            Comment


            • #7
              Originally posted by npg View Post
              Ah, I understand now. The HTTP command is only for opening the file as a new scene. We don't have a command for opening "as config only". We only have this as a command line parameter ( -configFile ) for vantage_console.exe .
              i 'm sorry. I use google translate. Maybe not very clear
              What you understand now is right.
              When the real-time link is enabled, the vantage has been started automatically. There is no way to use the -configfile parameter. Can you add information about how TCP loads it.
              If it is supported. Then I can complete some automatic operations after real-time link
              Last edited by q976431; 28-06-2022, 06:22 AM.

              Comment


              • #8
                Can you add information about how TCP loads it
                Sorry, I don't understand the question.
                Nikola Goranov
                Chaos Developer

                Comment


                • #9
                  Originally posted by npg View Post
                  Sorry, I don't understand the question.

                  Would like to consider adding support for this feature for HTTP commands
                  ("open scene as config only")

                  Comment


                  • #10
                    Yes, it is easy to add. The command will be in the next update. It will be "loadConfig" with a "path" argument, similar to the existing openFile command.
                    Nikola Goranov
                    Chaos Developer

                    Comment


                    • #11
                      Originally posted by npg View Post
                      Yes, it is easy to add. The command will be in the next update. It will be "loadConfig" with a "path" argument, similar to the existing openFile command.
                      OK, thanks for your reply
                      looking forward to the implementation of this function.

                      Comment


                      • #12
                        Originally posted by npg View Post
                        Yes, it is easy to add. The command will be in the next update. It will be "loadConfig" with a "path" argument, similar to the existing openFile command.
                        Maybe you can also consider adding HTTP parameter control for pause rendering and resume rendering of vantage, so that you can add the function of pausing vantage rendering to the script when necessary. For example, when the script rendering is completed, it will automatically enable pause rendering to avoid GPU overnight computing.

                        Comment


                        • #13
                          There will be a new option in 1.8 that will pause the renderer when it is idle for some time, so an HTTP command would not be necessary for this.
                          Nikola Goranov
                          Chaos Developer

                          Comment


                          • #14
                            Originally posted by npg View Post
                            There will be a new option in 1.8 that will pause the renderer when it is idle for some time, so an HTTP command would not be necessary for this.
                            Applicable during live link?

                            Comment


                            • #15
                              Yes.
                              .
                              Nikola Goranov
                              Chaos Developer

                              Comment

                              Working...
                              X