Adverti horiz upsell

V-Ray Tuner for Maya 4.5.2 for Maya (maya script)

An interface to a bunch of V-Ray for Maya controls and useful embedded scripts.

License
Button download
11,794 Downloads

Compatibility

  • 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:07/03/2010
Last Modified:05/14/2020
File Size: 53.1 KB

Keywords

rendering, maya

Bugs

material swapper script

Statusclosed
Priorityhigh
Date06/21/2013
Submitted bypietpuk18 pietpuk18
When I try to switch from a vray material to a native maya material using the vray/maya material swapper script I get this error message:

// Error: file: C:/Users/xxxx/Documents/maya/scripts/vraytuner.mel line 282: No shader is selected to be assigned //

I've unchecked "keep original materials". It does create a blinn but won't assign it to the mesh automatically. I end up with a mesh with no materials assigned to it and a blinn shader. Any suggestions?

Comments on this bug:

  • Dave Girard

    Dave Girard said about 11 years ago:

    fixed, I think.
  • pietpuk18

    pietpuk18 said about 11 years ago:

    Hi Dave, Great! Thanks a lot. Perhaps a nice addition to the Maya and Mental Ray 2 V-Ray option would be to automatically update al mental ray shaders to mia_material_x_passes (otherwise it doesn't work). I have found this script on the interwebs: string $list[] = `ls -type "mia_material" -type "mia_material_x" `; string $montruc; for ($montruc in $list ) { AEdoMiShaderConversion $montruc mia_material_x_passes _passes; }; Perhaps you can add it. Keep up the good work! Cheers, Paul
  • pietpuk18

    pietpuk18 said about 11 years ago:

    hmm still got a problem with the script. If I change a VRay material to blinn using the material swapper tool I get this error: // Error: The source attribute '.displacement' cannot be found. // It creates a blinn but doesn't copy the other attributes (color, reflection, etc.) Any ideas? Cheers, Paul
  • Dave Girard

    Dave Girard said almost 11 years ago:

    this is fixed in the coming version.
  • rodolfo damaggio

    rodolfo damaggio said over 6 years ago:

    Maya 2018 windows 7 , material swaper still not working with your latest scrip David.
    Vray 3.60
    It only works Maya shader to vray shaders, not the opposite.

Post a comment: