Compiling Vertex Chameleon for Maya 2015

I think the plugin location is the problem. Either move the .mll file from “plug-ins/2016” to “plug-ins”, or update MAYA_PLUG_IN_PATH to point to the “plug-ins/2016” folder.

YES!!! :D:
Thanks!
Works!

Now another problem:
VertexChameleon works as usual (deleted “-borderStyle” in all scripts, changed “polygons” into “modeling”),
but only with 2 colors.
At first, only blue and magenta.
Then I deinstalled and did all again, in case I accidentally changed a script.
Now, it is just green and yellow.

I can apply all colors as usual via the maya paint vertex color tool.
Only chameleon would deal with two!
:?:

Hi there, sorry for the necro, but I’ve been trying to build for Maya 2018 for the first time and not been having any success. I finally managed to get the .mll to compile, but Maya throws all sorts of errors. Anyone still working on building this?

 Warning: "C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Apply_Gradient.mel" line 366.57 : Redeclaration of variable "$col" shadows previous declaration at line 363. Previous value will be overwritten by explicit initializer. // 
// Warning: 	string $cmd = "";
 // 
// Warning: "C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Layers.mel" line 683.18 : Redeclaration of variable "$cmd" shadows previous declaration at line 663. Previous value will be overwritten by explicit initializer. // 
// Error:  // 
// Error: Line 0.25: Cannot find file "VCPBase.res.mel" for source statement. // 
// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/uiRes.mel line 107: displayString identifier "m_VCPBase.kMayaVersionNotSupported" does not exist. // 
// Warning: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 39: Error: string not found: m_VCPBase.kMayaVersionNotSupported // 
// Error: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 117: Missing //

Have you ever figured it out? I’m currently trying to get it to work with 2018 also. I actually can open Vertex Chameleon fine in Maya 2018, but cannot apply color to an object- given the error listed.

“// Error: line 0: Cannot find procedure “RH_VertexPolyColour”.”

Everything is properly in the plug-ins folder but I cannot actually load the plug-in. I try check marking it and it immediately de-check marks the plug-in.

“// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: The specified procedure could not be found. (VertexChameleon2018)”

Thanks!

Hey,

I’m the author of Vertex Chameleon. I no longer have Maya, but I saw that they’re released the 2018 SDK publically, so I took all the recommendations above and have rebuilt the plugin.

You can find it here (version 1.9.0 BETA):
https://github.com/RenderHeads/MayaPlugin-VertexChameleon/releases

I have no way to test it, so perhaps you can test it and let me know if it works =)

Thanks,

2 Likes

I just saw this tool, its amazing :smiley:
It seems to work with Maya 2018, although I have only tested the basic functions so far. The window shows up in Maya 2017 too, but it doesn’t do any of the procedures.

Is there actually a way to be able to view the individual channels in black and white? That would be amazing :smiley:

Oh that’s great! Please let me know if anything is broken, because I can’t test it. This build is only for Maya 2018…I don’t have the Maya 2017 devkit .lib files, and for some reason they aren’t avaiable with the devkit from Autodesk, so I can’t build it. So just Maya 2008-2014 + 2018 for now.

We actually stopped supporting this plugin a few years ago and released it as open source. Lately though a few people have contacted us for help to support newer versions of Maya. I found this thread which has some very helpful tips for this, so I’ve blindly rebuilt the plugin and hope it will work for people so that I can make a proper release of this. Let me know!

I don’t think there is an option to view individual channels…

Thanks,

3 Likes

Thanks a lot, it’s always very useful

Sorry for the re-re-necro of this thread, but has anyone out there had any luck getting 2017 working? Tried the latest build from AndrewG for 2018 just to kick the tires and check if that would work. Just streams of errors and warnings though :face_with_raised_eyebrow:

// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2008.mll
//
// Error: line 0: (VertexChameleon2008) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2008x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2008x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2009.mll
//
// Error: line 0: (VertexChameleon2009) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2009x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2009x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2010.mll
//
// Error: line 0: (VertexChameleon2010) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2010x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2010x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2011.mll
//
// Error: line 0: (VertexChameleon2011) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2011x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2011x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2012.mll
//
// Error: line 0: (VertexChameleon2012) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2012x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2012x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2013.mll
//
// Error: line 0: (VertexChameleon2013) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2013x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2013x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon2018x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon2018x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon60.mll
//
// Error: line 0: (VertexChameleon60) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon65.mll
//
// Error: line 0: (VertexChameleon65) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon70.mll
//
// Error: line 0: (VertexChameleon70) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon80.mll
//
// Error: line 0: (VertexChameleon80) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon80x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon80x64) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon85.mll
//
// Error: line 0: (VertexChameleon85) //
// Error: line 0: Unable to dynamically load : C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/plug-ins/VertexChameleon85x64.mll
The specified procedure could not be found.
//
// Error: line 0: The specified procedure could not be found.
(VertexChameleon85x64) //
// Warning: float $col[] = optionVar -query "RH_VCP_GradientCol2";
//
// Warning: “C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Apply_Gradient.mel” line 366.57 : Redeclaration of variable “$col” shadows previous declaration at line 363. Previous value will be overwritten by explicit initializer. //
// Warning: string $cmd = “”;
//
// Warning: “C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Layers.mel” line 683.18 : Redeclaration of variable “$cmd” shadows previous declaration at line 663. Previous value will be overwritten by explicit initializer. //
// Error: //
// Error: Line 0.25: Cannot find file “VCPBase.res.mel” for source statement. //
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/uiRes.mel line 107: displayString identifier “m_VCPBase.kMayaVersionNotSupported” does not exist. //
// Warning: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 39: Error: string not found: m_VCPBase.kMayaVersionNotSupported //
// Error: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 117: Missing //
// Warning: float $col[] = optionVar -query "RH_VCP_GradientCol2";
//
// Warning: “C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Apply_Gradient.mel” line 366.57 : Redeclaration of variable “$col” shadows previous declaration at line 363. Previous value will be overwritten by explicit initializer. //
// Warning: string $cmd = “”;
//
// Warning: “C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Layers.mel” line 683.18 : Redeclaration of variable “$cmd” shadows previous declaration at line 663. Previous value will be overwritten by explicit initializer. //
// Error: //
// Error: Line 0.25: Cannot find file “VCPBase.res.mel” for source statement. //
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/uiRes.mel line 107: displayString identifier “m_VCPBase.kMayaVersionNotSupported” does not exist. //
// Warning: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 39: Error: string not found: m_VCPBase.kMayaVersionNotSupported //
// Error: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 117: Missing //
// Warning: float $col[] = optionVar -query "RH_VCP_GradientCol2";
//
// Warning: “C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Apply_Gradient.mel” line 366.57 : Redeclaration of variable “$col” shadows previous declaration at line 363. Previous value will be overwritten by explicit initializer. //
// Warning: string $cmd = “”;
//
// Warning: “C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Layers.mel” line 683.18 : Redeclaration of variable “$cmd” shadows previous declaration at line 663. Previous value will be overwritten by explicit initializer. //
// Error: //
// Error: Line 0.25: Cannot find file “VCPBase.res.mel” for source statement. //
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/uiRes.mel line 107: displayString identifier “m_VCPBase.kMayaVersionNotSupported” does not exist. //
// Warning: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 39: Error: string not found: m_VCPBase.kMayaVersionNotSupported //
// Error: file: C:/Program Files (x86)/RenderHeads/VertexChameleon 1.0/scripts/RH_VCP_Base.mel line 117: Missing // <

I believe that 2017 and 2018 require different compilers. I think 2017 is on VS2012, whereas 2018 is on VS2015. Not sure if that would have any impact on building the project though.

I don’t know anything about the .mll errors. But I can help you out on the MEL errors and warnings. We had to do a few things:

  • Everywhere a MEL file references a constant defined in a resource file, change “m_VCPBase” to “m_RH_VCP_Base”.
  • Fix cases where a variable is declared twice. For example, the variable $col is defined twice in RH_VCP_Apply_Gradient.mel. I just changed the second instance to $col2. (Remember to change the next couple of lines, too.)
  • Update the variable $supportedVersions[] in RH_VCP_Base.mel.
  • In RH_VertexChameleon.mel, change any places with “base_OpenGL_Renderer” to “vp2Renderer”, because “base_OpenGL_Renderer” no longer exists in Maya by default.
1 Like

Going to try to patch up all the MEL errors and see if that kicks it into gear :slight_smile:

updateRendererUI;
VCP: Loading Module.
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/autoLoadPlugin.mel line 32: Plug-in, “VertexChameleon2017”, was not found on MAYA_PLUG_IN_PATH. //
VCP: Finished Loading Module.
VCP: Loading Module.
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/autoLoadPlugin.mel line 32: Plug-in, “VertexChameleon2017”, was not found on MAYA_PLUG_IN_PATH. //
VCP: Finished Loading Module.
VCP: Loading Module.
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/autoLoadPlugin.mel line 32: Plug-in, “VertexChameleon2017”, was not found on MAYA_PLUG_IN_PATH. //
VCP: Finished Loading Module.

Welp, that narrows it down in errors. VertexChameleon2017 doesn’t exist obviously so I wonder how I can fix that last one. (Sorry, fumbling my way through using Maya again since not touching MEL or tools since 2011)

Edit: The tools kinda work. UI displays now, I can flood vertex colors. Layers are hosed though…