Texture over mesh
Sorry for this basic question, but I really cannot figure this out. The question is simple: how to put a texture on a mesh so that it follows the height and fills the whole mesh with the image?
Looked everywhere but alas...
Thanks
Peter
Hi Peter, you mean to a jit.gl.mesh?
If that's the case you need to give it texture coordinates in its second input as I do in this video at this min:
https://youtu.be/UwfFY6KTd7w?t=713
Great! That was it. The jit.gen with the norm to the second inlet.
Thanks.
Peter
Although....
Sorry for this follow-up question.
Is there a way to let texzoom and texrotate from the jit.gl.mesh do their job?
Thanks anyway,
Peter
I think those attributes don't really work for the jit.gl.mesh, you'll have to zoom and rotate the texture yourself. Zooming is simply a matter of multiplying the texture coordinates, for rotation you can apply a 2D rotation matrix in gen to the norm coordinates.
Clear.
Great.
Thanks!
Glad it helped! If you need practical help with the patch let me know, I also have a free patch that does exactly that here:
https://www.patreon.com/posts/resize-translate-27074348
there are also Vizzie Transform modules that make this super easy: