Forums > Jitter

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

June 16, 2013 | 11:34 am

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.

Is this not possible?

<code>

– Pasted Max Patch, click to expand. –

</code>


June 16, 2013 | 1:13 pm

hi,
jit.gl.gridshape send 12 planes when matrixoutput is enable (plane 8, 9, 10, 11 = r, g, b, a)
http://www.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


June 17, 2013 | 11:59 am

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


June 18, 2013 | 8:44 am

Thank you so much!!!!


Viewing 4 posts - 1 through 4 (of 4 total)