PDA

View Full Version : Setting Vertex Colour via an Edit Mesh Modifier


mrben
12-15-2009, 04:48 PM
Hello,

I'm trying to set the Vertex Colour of a given object. All the meshops seem to want to operate on the base level mesh.

However due to object referencing I want to place an EditMesh() modifier in the stack and set the vertex colours via that. However I can't for the life of me figure out how .. can anyone help ?.

I was hoping something like this might work but I've had no luck :

meshop.setVertcolor $.modifiers[#editmesh] 0 #{1..($.numverts)} [255,255,0]

Cheers
ben

CGTalk Moderation
12-15-2009, 04:48 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.