Announcement

Collapse
No announcement yet.

Vrmat with multiple materials not rendering properly

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

  • Vrmat with multiple materials not rendering properly

    Seems like the vrmat material doesn't respect the face ID of the object, just assigns the same material to all face IDs.
    Same thing happens on a plain box, so it's not a proxy issue, seems like a material issue.
    I have the right material name selected not sure if this is a bug or there is something else I need to do.
    I am also getting a strange error, but i'm not sure what it is, seems like a missing parameter.

    All the assets are from the Cosmos library.


    Click image for larger version  Name:	vrmatBuggyMaterial.JPG Views:	0 Size:	40.1 KB ID:	1110101Click image for larger version  Name:	vrmatBuggyRender.JPG Views:	0 Size:	22.5 KB ID:	1110102Click image for larger version  Name:	vrmatBuggyProxy.JPG Views:	0 Size:	54.2 KB ID:	1110103 Click image for larger version

Name:	vrmatBuggyError.JPG
Views:	308
Size:	40.6 KB
ID:	1110105
    Attached Files
    Last edited by ILS; 08-04-2021, 12:15 PM.

  • #2
    The VRayVRMatMtl does not contain material id information. Try applying a Multi/Sub-object in which a node for each material in the VRayVRmatMtl is connected.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Maybe I don't know what I'm talking about but to me it seems like it does, there is a list of material IDs in the main material.
      Also the preview sphere renders like the multi material, its showing the sub materials when selecting the main "_3DM...." material from the list.
      To me this seems more like a bug and not a lack of feature

      HTML Code:
      <Asset renderer="vray" url="/_3DM_Saki_Posed_009_mtl@mtl_12" type="material" layout="">
      <plugin>
      <vrayplugin name="MtlMulti" type="material" version="0">
      <parameters>
      <parameter handler="default" label="scene_name" name="scene_name" listType="string" type="list">
      <value>
      <list>
      <entry>_3DM_Saki_Posed_009_mtl</entry>
      </list>
      </value>
      </parameter>
      <parameter handler="default" label="wrap_id" name="wrap_id" listType="none" type="bool">
      <value>1</value>
      </parameter>
      <parameter handler="default" label="ids_list" name="ids_list" listType="integer" type="list">
      <value>
      <list>
      <entry>0</entry>
      <entry>1</entry>
      <entry>2</entry>
      <entry>3</entry>
      <entry>4</entry>
      </list>
      </value>
      </parameter>
      <parameter handler="default" label="mtls_list" name="mtls_list" listType="plugin" type="list">
      <value>
      <list>
      <entry>/Saki_Posed_009_mtl@mtl_13</entry>
      <entry>/Stroller_Fabric_mtl@mtl_14</entry>
      <entry>/Stroller_Plastic_mtl@mtl_15</entry>
      <entry>/Stroller_Chrome_mtl@mtl_16</entry>
      <entry>/Stroller_Rubber_mtl@mtl_17</entry>
      </list>
      </value>
      </parameter>
      </parameters>
      </vrayplugin>
      </plugin>
      </Asset>

      Comment


      • #4
        Those IDs are a different matter. Check this thread for more information.
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Thanks, i'll follow up on that thread.

          Comment

          Working...
          X