Hey guys So, I'm trying to use the TC curvature shader information of polygon models and I'm a little confused. If I apply the shaders in the example scene to my models the render comes out black, Im assuming this is because they are polygon models and all the example scene uses is nurbs. The site also claims there are…
Ok I just tried with a dummy object. First of all, if you've ever deleted history on your object (anyone confirm this?) you won't get a colorPerVertex or createColorSet node as you run the script? I couldn't find any way to get these nodes exposed or recreated on my models, only on a brand new dummy object which I had…
rebb> I don't see any colorPerVertex node in Maya. Is it some form of auxiliary node that is hidden by default? Using Maya2010 at the moment. I also have 2011 available. I actually tried at some point to manually select a couple of vertices and run the "polyColorPerVert -cal 1;" which should clamp the vertex colors. But…
You're right, seems these nodes are only created when the shape has some history before calculating the curvature colors. I can put a clamp option in the next version. Try this for a mesh that doesn't get these nodes applied : setAttr theShape.colorSet[0].clamped 1 Replace "theShape" with your Shape-Name. Replace the 0…
I believe you can change the "Clamp" Option on the colorPerVertex Node that is created - does this help ? Wonder if a min/max clamping function would be useful or not :d.
I think it is broken in 2014, haven't tested but reb never distubute the real code, but instead the compiled python bytecode, which is dependent on the python version. And Maya 2014 uses python 2.7 while all earlier versions are still on python 2.6.4 or earlier. It could likely be decompiled back to normal python code to…