Announcement

Collapse
No announcement yet.

How to save Vray materials for later use?

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

  • How to save Vray materials for later use?

    I am creating my own vray materials with a diffuse map, roughness map and displacement map. How can I export this material to a file and import again for later use so i dont have build the shader network each time? I've tried exporting all to .vrscene, selected network to .vrscene and each time when I try to import from either the Vray scene manager or Vray>Import material from a file, into a new maya scene i just get a transform node in the outliner and no shaders. What am i doing wrong?

  • #2
    Select material in Hypershade File>export selected network save as .ma or .mb

    Comment


    • #3
      Originally posted by sean_brown View Post
      I've tried exporting all to .vrscene, selected network to .vrscene and each time when I try to import from either the Vray scene manager or Vray>Import material from a file, into a new maya scene i just get a transform node in the outliner and no shaders.
      For shaders, you should use the "Import V-Ray material from file". It works as expected on my end, only note that displacement can't be transferred (internal bug-tracker id: VMAYA-13183) since it's in a different plugin. We are planning to improve this, though.

      What stezza suggested is fine, of course.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Or you can use the ZooTools plugin shader preset manager
        Click image for larger version

Name:	image.png
Views:	0
Size:	289.0 KB
ID:	1223664

        Comment


        • #5
          Originally posted by hermit.crab View Post

          For shaders, you should use the "Import V-Ray material from file". It works as expected on my end, only note that displacement can't be transferred (internal bug-tracker id: VMAYA-13183) since it's in a different plugin. We are planning to improve this, though.

          What stezza suggested is fine, of course.
          what were your steps to export your vrscene for it to work as there are various way.

          Thanks

          Comment


          • #6
            Originally posted by sean_brown View Post
            I am creating my own vray materials with a diffuse map, roughness map and displacement map. How can I export this material to a file and import again for later use so i dont have build the shader network each time? I've tried exporting all to .vrscene, selected network to .vrscene and each time when I try to import from either the Vray scene manager or Vray>Import material from a file, into a new maya scene i just get a transform node in the outliner and no shaders. What am i doing wrong?
            This has been a shortcoming of Maya for 20+ years. Exporting your entire network to an external Maya file is probably the safest and most reliable method. Shader library plugins and tools come and go, they break upon Maya updates, and if you have texture maps then that's another level of complexity. There is of course the "preset" button within the Attr. Editor, but that's a preference that you'll then have to make sure you keep with every update to Maya. And again, that doesn't account for external texture maps.

            If you really want to go crazy you could save the whole thing as a MEL script. But that makes creating the network in the first place a huge headache, unless you do it again after you've finished for the express purpose of having it.

            Comment

            Working...
            X