Announcement

Collapse
No announcement yet.

Running V-Ray render slave in background

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

  • Running V-Ray render slave in background

    Hey,

    I was wondering if there was a way to run a V-Ray slave without the console open. Basically having a hidden process in the background.
    I'm looking into setting up a minimal GUI for the render-slave so it's not in the Windows taskbar but acts just like a tray icon that you can click and it shows the logs (possibly with some extra debugging features).

    Anyway, I'm not sure how to run the render slave without the open console. Is there something like a -background argument you can pass?
    I'm currently using:

    Code:
    vray.exe -server -portNumber=20207
    Thanks in advance.

    Cheers,
    Roy

  • #2
    No, but you can run it as a service.
    Alex Yolov
    Product Manager
    V-Ray for Maya, Chaos Player
    www.chaos.com

    Comment


    • #3
      Is there a way I can run it easily as a service manually (after installation)?

      Comment


      • #4
        Yes, you need to go to start menu > all programs > chaos group > V-Ray > Maya(version) > Register V-Ray render slave as a service.
        Then go to the Windows services list. Just hit the start menu and type services. Find the slave service in the list, it's called VRayMayaSpawner. Right click > properties and set it from automatic to manual.
        Then when you need to start it, you can right click > start/stop it from the same list, or even start/stop it from the windows taskbar > services.
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          Is there a way to ensure the spawned slaves through the service have a specific environment variable set?
          For example when running the slave normally I would use a wrapper script to launch the slave within the pipeline.
          Can I also maintain it similarly whilst using the services functionality?
          Last edited by colorbleed; 30-04-2016, 02:42 AM.

          Comment


          • #6
            Hi,
            One approach would be to save the script and run it on startup.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment

            Working...
            X