Announcement

Collapse
No announcement yet.

.VRSCENE crossplatform

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

  • .VRSCENE crossplatform

    Hi,

    I would like to export a vrscene from a Modo machine on MacOS, and render it on a standalone on Windows. Naturally (or better not naturally), there are different conventions for paths to textures and assets, which I would have to fix first. I know a vrscene is ASCII and I could search and replace with Python, I would like to ask if there is a script or some other workaround for this issue around already. Any thoughts or pointers?

    Thanks,
    Axel

  • #2
    You can use the VRAY_ASSETS_PATH environment variable to specify additional search paths for the textures.
    It's explained in more detail on this page:

    https://docs.chaosgroup.com/display/...ment+Variables

    Greetings,
    Vladimir Nedev
    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

    Comment


    • #3
      You guys are the best!!!

      Comment


      • #4
        ... will it include subfolders? Else it would defeat the purpose as textures in libraries tend to be in many places.

        Comment


        • #5
          No, I don't think it does.

          Actually, the VRAY_ASSETS_PATH might be the outdated way to do this.

          If you run vray.exe without arguments, it will show you a list of options.
          One of the options is -remapPath (and there is a -remapPathFile as well).
          I can't find it in the online documentation, but I think it's designed for exactly what you need.

          Greetings,
          Vladimir Nedev
          Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

          Comment


          • #6
            Hi Vladimir,

            Thanks again, -remapPathFile is exactly what I was looking for! Yet as for future versions, maybe it would be nice to have a -remapPathRegex option or something like that? In my case, I now have to create an .xml with hundreds of entries, which *all* follow basically the same simple pattern "/Volume/Path/Subpath/"="X:\\Path\\Subpath\".

            Axel

            Comment


            • #7
              Are they sub-folders of a common folder ?
              I am not sure, but by the sound of it, "remapPath" should handle that, as long as you remap the common root folder.

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment


              • #8
                Yes, they share the same root. But from Mac/Linux to Windows the slash direction changes, which makes to whole path invalid. Or not?

                Comment


                • #9
                  Originally posted by ELECTRIC_GOBO View Post
                  Yes, they share the same root. But from Mac/Linux to Windows the slash direction changes, which makes to whole path invalid. Or not?
                  V-Ray should convert the slashes automatically for the current system that it is rendering on. At least, I remember we worked on this at some point. Windows doesn't care which slashes are being used anyways, it's only MacOS/Linux that are picky.

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

                  Comment


                  • #10
                    I think there is also a problem of hard disk drive letter. on Windows it is named with one letter (for example C, D etc...) but on Mac it is named / Volume/OSX (or other name for that partition)... any crossplatform automation will save us tons of work.
                    www.studio-grid.net | creative imagery of unbuilt architecture
                    Gumroad Facebook Vimeo Linkedin

                    Comment


                    • #11
                      How can I export vescene files in scriptup via script

                      Comment


                      • #12
                        What's scriptup ?

                        Greetings,
                        Vladimir Nedev
                        Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

                        Comment

                        Working...
                        X