openGL coordinates of vertices into a matrix


    Dec 19 2011 | 2:27 pm
    Hi,
    I am trying to rotate a 2x2 plane in openGL and get the x,y,z coordinates of ABCD vertices into a matrix. Is that possible?
    PS: there are two 2x2 planes in a patch below because I was trying two different methods...

    • Dec 19 2011 | 2:36 pm
      ...I would like to use ABCD coordinates as 4 camera positions...
    • Dec 19 2011 | 11:38 pm
      in case anyone else is interested, i found a solution in this topic:
      it is not exactly what i was looking for, but it does exactly the same thing that i needed
    • Dec 22 2011 | 9:41 pm
      hi t, just wanted to let you know you can do this all with matrixoutput mode 2, and simple transform attributes to the gridshape:
    • Feb 01 2012 | 3:52 pm
      That is SOOO AWESOME!!! Thank you Robert!!!
      PS: Sorry for replying so late, I missed your answer.
    • Feb 02 2012 | 12:09 am
      There are fun things to be found when doing it with matrices, though - like chopping a GL structure in two, treating them differently and recombining them into one odd freak, all using basic jitter. I love that.
    • Feb 02 2012 | 12:12 am
      double post.
    • Feb 02 2012 | 12:22 am
      and here is the easy version, without scary equations, using only jit.gridshape @matrixoutput2: