Announcement

Collapse
No announcement yet.

Changing the default port for distributed rendering in maya from 20207 to e.g. 20208

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

  • Changing the default port for distributed rendering in maya from 20207 to e.g. 20208

    Hey Guys,

    is it possible to change the default port for distributed rendering from inside of maya?
    Maybe via environment variable?

    We have different builds depending on company projects, where the artist needs to get the correct renderslaves depending on ports.

    any idea?
    Oli
    OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

  • #2
    I suppose you are talking about the vrayspawner which runs as a service. The port is hard-coded at the moment, but there is no problem to add an environment variable.
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Originally posted by ivaylo.ivanov View Post
      I suppose you are talking about the vrayspawner which runs as a service.
      no...i am talking about the port that maya uses when connecting to renderservers. We have a farm which is running different vray (nightly-)version for different project. For easy of management i decided to start those servers listening on the port of their respective build number e.g. "vray.exe -server -portNumber=13710"

      By default when i run distributed render from inside maya it connects to all slaves on port 20207 and this is exactly the port i need to be able to change....
      ...an environment variable WOULD BE GREAT!!!

      cheers
      Oliver
      OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

      Comment


      • #4
        I have added (with revision 14042) an environment variable to control the DR port for a given maya version. For example, if you want to set the port for Maya 2011, the variable name is VRAY_FOR_MAYA2011_DRPORT. This will affect the vrayspawner too (not sure if we need a separate variable for it). Now after "V-Ray: Preprocessing for distributed rendering" message in Maya Output Window, the port is also printed. You can see the current port for vray spawner in it's log.
        V-Ray/PhoenixFD for Maya developer

        Comment


        • #5
          thank you very much!!!! will test it in the next few weeks, when new projects start with the new builds...

          cheers
          Oli
          OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

          Comment

          Working...
          X