tri_strip drawing


    Oct 07 2007 | 11:28 am
    Hello all.
    I've made a little try-out patch for filling a matrix with coordinates using mouse input. (attached)
    I was wondering how I can get rid of the first coordinate, 0. 0. 0., within this strategy...
    I'm also curious on how other people would do this, filling a matrix vertex by vertex.

    • Oct 07 2007 | 12:12 pm
      2 things:
      1) change the name of the jit.gl.render in the javascript to 'trifan' instead of 'collision' or this patch doesn't work.
      2) if you don't want to connect all of the vertices to 0 0 0 , where should they start?
      On Oct 7, 2007, at 7:28 AM, Brecht wrote:
      > Hello all. > > I've made a little try-out patch for filling a matrix with > coordinates using mouse input. (attached) > > I was wondering how I can get rid of the first coordinate, 0. 0. > 0., within this strategy... > > I'm also curious on how other people would do this, filling a > matrix vertex by vertex. > >
    • Oct 07 2007 | 12:38 pm
      oops, remnant of the patch from vade where i took the screen_to_world thing from.
      Basically, the first vertex should be where you click for the first time. So, if the initial matrix could be 0 dimensional, it would work like this I guess.
      On 07 Oct 2007, at 14:12, joshua goldberg wrote:
      > 2 things: > > 1) change the name of the jit.gl.render in the javascript to > 'trifan' instead of 'collision' or this patch doesn't work. > > 2) if you don't want to connect all of the vertices to 0 0 0 , > where should they start? > > > On Oct 7, 2007, at 7:28 AM, Brecht wrote: > >> Hello all. >> >> I've made a little try-out patch for filling a matrix with >> coordinates using mouse input. (attached) >> >> I was wondering how I can get rid of the first coordinate, 0. 0. >> 0., within this strategy... >> >> I'm also curious on how other people would do this, filling a >> matrix vertex by vertex. >> >> >> ______________________________________________ >> _ >
      Brecht Debackere
      www.autofasurer.net M+32(0)498319302 F+32(0)70429559 Skype : Bdebackere brecht@visualantics.net