sirpalee
10-27-2010, 05:27 PM
Hello guys!
I'm trying to set some per face colors using an MPxNode, I have 2 input meshes, and my node calculates some values based on the 2 meshes, and outputs the first mesh with some additional vertex color attributes.
But I get "object not exists" errors when I try to create a color set, or try to set the current color set on my output mesh. And when I set the color nothing happens. The color set is black, and I can't change any values. So that means I can't change the color set values inside a compute function, and I need to use a MPxCommand to do it?
regards, Pal.
I'm trying to set some per face colors using an MPxNode, I have 2 input meshes, and my node calculates some values based on the 2 meshes, and outputs the first mesh with some additional vertex color attributes.
But I get "object not exists" errors when I try to create a color set, or try to set the current color set on my output mesh. And when I set the color nothing happens. The color set is black, and I can't change any values. So that means I can't change the color set values inside a compute function, and I need to use a MPxCommand to do it?
regards, Pal.
