jit.gl.mesh and jit.gl.gridshape color change

Ricardo's icon

Hi.
I was wondering why I cannot change the colour on jit.gl.mesh when I have connected a jit.gl.gridshape to the mesh?

I need to be able to do this.

Max Patch
Copy patch and select New From Clipboard in Max.

Is this not possible?

matmat's icon

hi,
jit.gl.gridshape send 12 planes when matrixoutput is enable (plane 8, 9, 10, 11 = r, g, b, a)
https://cycling74.com/docs/max5/tutorials/jit-tut/jitterappendixb.html .
So you can connect a "jit.unpack 1 @jump 3" to the jit.gl.gridshape output...

mathieu

Rob Ramirez's icon

and if you want to enable texturing, you should include the texcoords: @jump 5

if you want to enable lighting, you should include the normals: @jump 8

Ricardo's icon

Thank you so much!!!!