Forums > Jitter

sketch – texture mapping

April 14, 2010 | 8:28 am

Hi,

I would like the texture to fit the quad. I have the wes’ texcoordmagic stuff but, even with different texmap I don’t achieve this when I move the quad by click and drag in the window.

Any idea how can I have the whole texture following the quad when moving?

– Pasted Max Patch, click to expand. –

April 14, 2010 | 8:49 am

So the question is How to control the texture coordinates as you can do with [jit.gl.mesh].
Is there an example somewhere that shows how to work with the mouse with tex_plane_s and t messages or any other way to fit the texture to the quad args.

Thanks.


April 14, 2010 | 11:40 pm

You should have a look at the command list.


April 14, 2010 | 11:40 pm

Ah ok, thanks !
This way works fine.

– Pasted Max Patch, click to expand. –

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