Controlling colors with the jit.expr

Apr 15, 2010 at 8:07am

Controlling colors with the jit.expr

Hi everyone,
Just wanted to ask how can one control colors with the jit.expr object. Just got a couple of patches published by Andrew Benson, and I’d really like to work with them, but it would be even better if I could choose the colors and their exact position. I’ve uploaded the specific patch. Thanks, Alex.

#49787
Apr 15, 2010 at 9:04pm

hi.
currently jit.gl.mesh does not support a color input matrix with lighting enabled.

also, it will ignore any input matrices other than the first input, if the first input matrix is more than three planes.

the solution is to disable lighting, and not provide a combined input matrix to the first input, but instead split the matrix and provide it for the corresponding input.

let me know if i should clarify further.

– Pasted Max Patch, click to expand. –
#178775
Apr 17, 2010 at 4:26pm

Thanks for the tip. I’ll try to work it out.

#178776

You must be logged in to reply to this topic.