Announcement

Collapse
No announcement yet.

Standalone Path remapping

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

  • Standalone Path remapping

    Hey,
    first of all, the path remapping features for the standalone renderer that came with V-Ray Next work great so far and it's a huge improvement over deadlines path remapping.

    I have one issue though:
    Is it somehow possible to define a "fallback" path for assets?
    I would like to tell the standalone renderer, that if it does not find a certain asset that is associated with the vrscene it's supposed to look at a certain location for it, like a global texture archive on the network or something like that.

    Or is it somehow possible to tell the standalone renderer to disregard all paths that are defined in the vrscene and look at a certain path instead.

    I have seen the "strip paths" option but to me it seems that it is just looking for assets in the same directory as the vrscene then. Is it somehow possible to define a directory to look at?

    Thanks for any input on this
    -Robert

  • #2
    Hello,

    For textures there are some additional options you can use.
    First of all if the path is relative (f.e when you use the strip paths option) V-Ray will check the environment variable VRAY_SCENE_BASE_PATH. If it is set - all textures with relative paths are searched there.
    Additionally - you can add environment variables to the name of the textures themselves. For example you can set the texture to be "${some_env_var}\texture.jpg". V-Ray will try to resolve those environment variables before trying to open the file.
    Then if we still haven't found the texture we try another environment variable - VRAY_ASSETS_PATH - it may contain multiple paths delimited with ; - for example VRAY_ASSETS_PATH="c:\some_assets;d:\some_more_asse ts;". V-Ray will try to find the current texture in each of the paths in the list.

    Best regards,
    Yavor
    Yavor Rubenov
    V-Ray for 3ds Max developer

    Comment


    • #3
      Hey Yavor, thank you for your answer, thats very helpful!


      Originally posted by yavor.rubenov View Post
      Hello,
      For textures there are some additional options you can use.
      I assume that this will work for all assets that are linked in the vrscene file. i.e. Alembics loaded in a vray proxy, right?

      Thanks so much!
      -Robert

      Comment


      • #4
        You are welcome
        Yes this will work for all assets in the vrscene file.
        Yavor Rubenov
        V-Ray for 3ds Max developer

        Comment

        Working...
        X