Forums > MaxMSP

jit.gl.multiple texcoords

January 21, 2013 | 10:34 pm

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.

http://cycling74.com/forums/topic.php?id=3897

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?

Thanks!
Zach


January 22, 2013 | 8:04 pm

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. –

January 24, 2013 | 9:14 pm

That’s wonderful, thank you so much Rob!


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