Announcement

Collapse
No announcement yet.

Using vray DR server on os x

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

  • Using vray DR server on os x

    Hi. I have installed vray standalone on os x and I would like to use it for DR renderings. I have started the server and it communicates with my 3ds max but before it starts to render it gives a error message:

    [2025/Apr/4|19:35:16] Starting DR session from xxx.xx.x.xxx
    [2025/Apr/4|19:35:16] Receiving DR scene from xxx.xx.x.xxx
    [2025/Apr/4|19:35:41] Reading scene file "vrscene_20204_1204.txt"
    [2025/Apr/4|19:35:41] error: Error in file "/private/var/folders/fc/325y6ffx51zg073p7559x6n00000gn/T/vrscene_20204_1204.txt", line 1: expected a "{" at beginning of object definition
    [2025/Apr/4|19:35:41] Starting render sequence.
    [2025/Apr/4|19:35:41] Closing DR session from xxx.xx.x.xxx

    Does anyone know what to do or is this even possible to use vray standalone server on os x and start the render from 3ds max on windows?

    Thanks
    Mikko

  • #2
    Anyone has ideas?

    Comment


    • #3
      Sorry for the late reply. Not sure if you can do this through 3ds Max, since it requires VRaySpawners on the slaves (to start 3ds Max in cmd). What you can do, however, is send the job through STD. Like so:
      Code:
      C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2025\bin\vray.exe -distributed=1 -renderhost="0.0.0.0" -scenefile="C:\test.vrscene"
      The Mac ofcourse should have a Standalone ready in server mode to accept it.
      Last edited by hermit.crab; 23-04-2025, 12:31 AM.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Thank you very much! I got it to render now, but I'm having problems with the texture paths. I have all the textures distributed on the smb server and on both machines I can access them. But Windows uses smb:\\xxx.xxx path, while Mac uses smb://xxx.xxx so the Mac can't find the files. The slashes are pointing in a different direction. Any idea how I could solve this? Can I somehow export the textures with vrscene? I see there is an option to export bitmaps on a separate file but that doesn't seem to work. The bitmap vrscene file is less than 2 mb large but I have at least 100 mb of bitmaps in this scene.

        Thanks
        Mikko
        Last edited by MikkoK; 22-04-2025, 02:00 AM.

        Comment


        • #5
          I presume it will work if you include the Mac path via the "-include="new/path/here" flag. Check all flags in the STD docs.
          Last edited by hermit.crab; 23-04-2025, 12:16 AM.
          Aleksandar Hadzhiev | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            Thanks but that -include forces the slashes to be the way as in Windows even tho I wrote them in unix-style. Also all other vrscene files are almost empty when I export them from 3ds max except the geometry so I don't think it collects all the assets like it should. The first attachment is from os x terminal saying the -include file doesn't exist because it misinterprets the slashes wrong and the second is from windows explorer how large (or small) those files are. (the archive packer doesn't collect the files either)
            Attached Files
            Last edited by MikkoK; 22-04-2025, 11:40 PM.

            Comment


            • #7
              In that case, try transferring the missing assets via the "-transferAssets=1" flag. Tested it and seems to work as expected.
              Aleksandar Hadzhiev | chaos.com
              Chaos Support Representative | contact us

              Comment


              • #8
                Thank you!! With -transferAssets=2 it worked almost perfectly. With =2 it didn't start to transfer assets on every frame again and again. Few assets didn't go thru though. Anyways, it's working and I think I can solve those little bugs!
                Last edited by MikkoK; 25-04-2025, 04:43 AM.

                Comment

                Working...
                X