texture mapping on jit.gl.mesh comes out squished and rotated by 90 degrees

    Aug 19 2008 | 2:27 am
    Dear Jitter list,
    I got pretty far imitating the Rutt Etra synth with some nice brightness to z displacement mapping and then I thought I'd try and get clever and add some feedback and shaders, now I can't get the mesh to texture properly it comes out squished and at right angles. Funny because the previous version without any render layering worked ok. I've tried playing with the tex_plane_s and t attributes but I can't get it right. It's three in the morning and I think it's time to bow to the greater wisdom of other people. The patch below uses a loadbang to do some messy initalisation you'll probably need to wiggle one of the floats at the top next to the load bang to initalise the geometry matrix and make it draw. Just to clarify I all I'm trying to do is texture the mesh with the same image that's displacing the geometry. Thanks in advance.

    • Aug 19 2008 | 3:17 am
      try attaching this to your gl.mesh...
    • Aug 19 2008 | 1:13 pm
      cheers rob you're a jitter genius