Announcement

Collapse
No announcement yet.

vrscene missing materials between Windows to Mac

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

  • vrscene missing materials between Windows to Mac

    Hello,

    I was hoping to use some render ready assets that are in 3Ds Max with V-ray (so Windows, naturally).I typically work with V-ray for Sketchup on Mac OS day-to-day. It seemed to me the best workflow would be to use vrscene files for the assets because it compacts everything into a single file, where as a proxy doesn't have any of the materials (only a multisub material to then swap out?).

    So, I exported a vrscene of the asset from 3Ds Max and to test it out I import it on a version Sketchup on Windows it renders exactly as it should: so far so good! The vrscene seems to benefit from keeping the asset library nice and simple - no importing of all materials etc. However, when I try importing the vrscene into Sletchup on Mac OS the geometry will render but all the bitmaps are missing. The texture assets are all kept on the same external hard drive but it seems to me (I could be wrong..) that the missing textures are somehow due to how Windows versus Mac read file paths. Windows the file paths are something like (D:/resources/3d assets/etc) whereas mac it is (Volumes/<drive name>/resources/3d assets/etc)?

    Because of the simplicity in which the vrscene comes in there is seemingly no way to redirect to the proper file path of the textures, only the file path of the vrscene itself. I also tried packing the Windows Sketchup file that did work successful but it only zips up the vrscene itself - not any associated textures, which was maybe to be expected. I was hoping that with vrscene that the textures are somehow contained into the vrscene file itself.

    Could I be doing something wrong? Is there a better workflow?

    Thanks ahead





  • #2
    A follow up. It seems to me if I check off "Strip Paths" in 3ds max as I export the vrscene file the bitmaps for materials need only be in the same folder as the vrscene and will successfully render. However one problem I am anticipating down the road is that I need to pack the project and share with a collaborator and it does not seem to pack the necessary materials for the vrscene. The workaround to this is to know what materials are needed and copy them to the packaged folder and re-zip.

    So any other thoughts and ideas would still be beneficial.

    Last edited by bbergem; 07-07-2019, 07:07 PM.

    Comment


    • #3
      Hi,

      Kindly note that the .vrscene file contains all the necessary data in respect to the materials' setup. However, texture maps will not be packed so they need to reside on a specific file path. You could use an environment variable (VRAY_ASSETS_PATH), which V-Ray will use to look for any missing assets in case it does not find them in the specified filepath of the material, which will obviously occur between different computers.

      For example, the environment variable could be set up as follows:
      Variable name: VRAY_ASSETS_PATH
      Variable value: C:\Users\**\Desktop

      Comment

      Working...
      X