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

Jun 16, 2013 at 11:34am

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

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>

#252934
Jun 16, 2013 at 1:13pm

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

#252941
Jun 17, 2013 at 11:59am

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

#253022
Jun 18, 2013 at 8:44am

Thank you so much!!!!

#253096

You must be logged in to reply to this topic.