Announcement

Collapse
No announcement yet.

VRay Mesh Export messes up materials

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

  • VRay Mesh Export messes up materials

    Hi!

    Everytime I try to create a combined VRayProxy from a 2000+ objects scene, the VRayMeshExporter messes up the materials.
    This is obvious when I compare a render of the original model with a render of the proxy.
    In such a state, the proxy is totally not usable.

    I use the "Create Multi/Sub-Object Mtl" option with "Condense Multi Mtl". When I disable "Condense Multi Mtl", the materials are even more messed up.

    Is this a known issue?
    What can I do?


    Thank you and greetings!

  • #2
    I really would appreciate any kind of feedback. Thank you!

    Comment


    • #3
      There's a limit to how many materials a Multi-Subobject material can hold. I'm not sure what the limit is, but if you're talking about 2000+objects then you will probably reach that limit if there's a lot of different types of materials. Condensing is definitely what you should do. Is there any reason you're cramming so many objects in one proxy? Might have to find another solution (like splitting them in different proxies).

      Edit: as suspected a 999 materials max.
      Last edited by Vizioen; 02-11-2021, 04:13 AM.
      A.

      ---------------------
      www.digitaltwins.be

      Comment


      • #4
        Thanks for your reply. Most of the objects have the same material, so I'm pretty shure, that a condensed Multi/Sub Material wouldn't hit the 999 limit. The goal is to significantly reduce the number of scene nodes in a huge master file, where the 2000 objects asset is just one small piece.

        The objects I try to combine in the VRayProxy have different multi sub materials (3 to 4 in total, with up to 10 to 30 submaterials each) and share different object classes (mostly splines and geometry). For me it seems like VRay has problems with properly deconstructing the different multi sub materials, organize the sub materials in a new automatically generated multisubmaterial and reassign the Mat IDs on the objects properly. Thats what it looks like, I would say.

        So I'm asking if theres a known issue in that direction?

        Comment


        • #5
          You can always try to attach them in one object see how that turns out.
          A.

          ---------------------
          www.digitaltwins.be

          Comment

          Working...
          X