Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mtlx exported from maya has no ramp_rgb "color[\d]" bindInput

1 REPLY 1
Reply
Message 1 of 2
xtvjxk123456
264 Views, 1 Reply

mtlx exported from maya has no ramp_rgb "color[\d]" bindInput

i found mtlx exported from maya has no "color[\d]" bindInput in ramp_rgb,but ass file has "color[\d]" data in ramp_rgb node.

so materialx operator can not work well.

please check this issue.

Tags (2)
Labels (2)
1 REPLY 1
Message 2 of 2

Works for me. MtoA 4.2.1.1

<?xml version="1.0"?>
<materialx version="1.37">
  <look name="ramp">
    <materialassign name="materialassign1" material="ramp_aiStandardSurface1_material_shader" geom="/pSphere1/pSphereShape1" />
  </look>
  <material name="ramp_aiStandardSurface1_material_shader">
    <shaderref name="aiStandardSurface1" node="standard_surface">
      <bindinput name="base_color" type="color3" nodegraph="NG_ramp_aiRampRgb1" output="out" />
    </shaderref>
  </material>
  <nodegraph name="NG_ramp_aiRampRgb1">
    <ramp_rgb name="aiRampRgb1" type="color3">
      <input name="type" type="string" value="v" />
      <input name="position" type="floatarray" value="0, 1, 0.164871, 0.332974, 0.533405, 0.779095" />
      <input name="color" type="floatarray" value="1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1" />
      <input name="interpolation" type="integerarray" value="1, 1, 1, 1, 1, 6" />
    </ramp_rgb>
    <output name="out" type="color3" nodename="aiRampRgb1" />
  </nodegraph>
</materialx>




// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report