View Full Version : Interface: AssignVertexColors

04 April 2005, 03:24 PM
I'm pulling my hair out over this one. It worked yesterday at work, but when I tried it at home I get an error:
AssignVertexColors.ApplyNodes $ VertexPaint:VertexPaint
--This should assign vertex colors to the selected object that has a
--Vertex Paint modifier on it.
Does anyone have any suggestions over the correct usage?

AssignVertexColors.ApplyNodes $
-- if you don't specify a vertex paint modifier this will add a new one.
At least I had it working yesterday.

Most of the interface names I type in will come back with some information like
walkThroughOps --will return: <Interface:walkThroughOps>
ChannelInfo --returns <Interface:ChannelInfo>
AssignVertexColors --just returns: undefined

~Mike D.

04 April 2005, 06:20 PM
Ok, that's just bizzare.
It works fine here at work. Or at least Max recognizes the Interface.
It doesn't actually do anything, though. It just turns all the object's verts grey.

~Mike D.

04 April 2005, 07:03 PM
In case anyone was wondering, (I knew you were all holding your breath!)
it's broken.
Not officially, as i didn't see anyone from Discreet acknowledging it, but some other posts seemed to confirm my suspicions.

There is a workaround in the form of using Foolib, which has an apply vertex color function that actually works. I'm wondering if that one has a memory leak, though, because I'm using it to apply vertex colors on every frame of an animation, and it tends to crash. I'm using it in a PFlow script to grab the colors from the verts of a plane and using those values to control the position of a bunch of objects.

Does anyone have any experience with that function of Foolib? Any problems?

~Mike D.
Grrrr, Arrgh.

CGTalk Moderation
04 April 2005, 07:03 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.