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…
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…
Nice! The first thing that comes to mind is how useful that looks like it would be for controlling subsurface scattering. That would do wonders as a mask for a SSS map.
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.
After the last bigger thread about curvature i started fiddling around a bit with this. Here's what the current output looks like. It's in WIP state, and has some quirks related to undo ( also doesn't support undo in this state ), but if you really need it i can send you a .pyc or drop it online. The little dark splotches…
@Kodde : Yeah it looks like you have a newer Python overriding the one that comes with Maya2009. Try setting the "PYTHONPATH" value inside the Maya2009 Maya.env file to "<YourMaya2009Directory>\Python" first. @haiddasalami : Yep that doesn't work. Either load up the r7_vertCurvature.py using the script-editor in Maya and…