jit.gl.multiple texcoords

Jan 21, 2013 at 10:34pm

jit.gl.multiple texcoords

EDIT: For the second time running, I’ve somehow managed to post to the MaxMSP forum when I thought I was posting to the Jitter forum. Very sorry!

Hi. I’m trying to take control of the texcoords of a texture displayed on jit.gl.multiple objects.

A search of the forums tells me this question has been asked several times before, but there’s still something missing here.

This post has Wes providing a semi-solution. However, the shader in this solution has the effect of distorting the image around the edge.


Jasch asked a number of years ago the same thing I’m asking now – how can we do this without distortion?

The reference materials indicate that the message tex_plane_s_matrix and tex_plane_t_matrix should allow me to specify what named matrix to use for these texcoords, but either I’m not doing it right, or the reference materials is incorrect. If these *are* supposed to work, could someone post an example patch of how it works, please?


Jan 22, 2013 at 8:04pm

here’s an example of using tex_plane_s/t matrices.
if you still need more help, post what you have so far.

– Pasted Max Patch, click to expand. –
Jan 24, 2013 at 9:14pm

That’s wonderful, thank you so much Rob!


You must be logged in to reply to this topic.